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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | deepdiff | no fix listed | DEBIAN-CVE-2026-33155 |
| Debian:13 | deepdiff | 8.1.1-4+deb13u1 | DEBIAN-CVE-2026-33155 |
| Debian:14 | deepdiff | 9.0.0-1 | DEBIAN-CVE-2026-33155 |
| PyPI | deepdiff | 8.6.2 | GHSA-54jj-px8x-5w5q |
| PyPI | deepdiff | 8.6.2 | PYSEC-2026-2445 |
| Ubuntu:22.04:LTS | deepdiff | no fix listed | UBUNTU-CVE-2026-33155 |
| Ubuntu:24.04:LTS | deepdiff | no fix listed | UBUNTU-CVE-2026-33155 |
| Ubuntu:25.10 | deepdiff | no fix listed | UBUNTU-CVE-2026-33155 |
| Ubuntu:26.04:LTS | deepdiff | no fix listed | UBUNTU-CVE-2026-33155 |
| Ubuntu:26.10 | deepdiff | no fix listed | UBUNTU-CVE-2026-33155 |
Affected products (as reported)
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