Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. deepdiff
  4. ›
  5. CVE-2026-33155

CVE-2026-33155: DeepDiff has Memory Exhaustion DoS through SAFE_TO_IMPORT

March 18, 2026 (updated April 14, 2026)

The pickle unpickler _RestrictedUnpickler validates which classes can be loaded but does not limit their constructor arguments. A few of the types in SAFE_TO_IMPORT have constructors that allocate memory proportional to their input (builtins.bytes, builtins.list, builtins.range). A 40-byte pickle payload can force 10+ GB of memory, which crashes applications that load delta objects or call pickle_load with untrusted data.

References

  • github.com/advisories/GHSA-54jj-px8x-5w5q
  • github.com/qlustered/deepdiff/commit/0d07ec21d12b46ef4e489383b363eadc22d990fb
  • github.com/qlustered/deepdiff/security/advisories/GHSA-54jj-px8x-5w5q
  • github.com/seperman/deepdiff
  • nvd.nist.gov/vuln/detail/CVE-2026-33155

Code Behaviors & Features

Detect and mitigate CVE-2026-33155 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 5.0.0 before 8.6.2

Fixed versions

  • 8.6.2

Solution

Upgrade to version 8.6.2 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-400: Uncontrolled Resource Consumption
  • CWE-770: Allocation of Resources Without Limits or Throttling

Source file

pypi/deepdiff/CVE-2026-33155.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:53 +0000.