Vulnerability · Published Mar 20, 2026 · Assigned by GitHub_M

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

High 8.7

In plain English

A high-severity uncontrolled resource consumption in deepdiff from seperman. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 41% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)8.7High
Exploit odds (30 days)0.5%top 59.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

DeepDiff is a project focused on Deep Difference and search of any Python data. From version 5.0.0 to before version 8.6.2, 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. This issue has been patched in version 8.6.2.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12deepdiffno fix listedDEBIAN-CVE-2026-33155
Debian:13deepdiff8.1.1-4+deb13u1DEBIAN-CVE-2026-33155
Debian:14deepdiff9.0.0-1DEBIAN-CVE-2026-33155
PyPIdeepdiff8.6.2GHSA-54jj-px8x-5w5q
PyPIdeepdiff8.6.2PYSEC-2026-2445
Ubuntu:22.04:LTSdeepdiffno fix listedUBUNTU-CVE-2026-33155
Ubuntu:24.04:LTSdeepdiffno fix listedUBUNTU-CVE-2026-33155
Ubuntu:25.10deepdiffno fix listedUBUNTU-CVE-2026-33155
Ubuntu:26.04:LTSdeepdiffno fix listedUBUNTU-CVE-2026-33155
Ubuntu:26.10deepdiffno fix listedUBUNTU-CVE-2026-33155

Affected products (as reported)

VendorProductVersions
seperman deepdiff >= 5.0.0, < 8.6.2

Weakness: CWE-400 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

References