Debian Security Tracker
DEBIAN-CVE-2026-33155
Details
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
| Ecosystem | Package | Affected versions |
|---|---|---|
| Debian:12 | deepdiff | All versions, no fix listed |
| Debian:13 | deepdiff | All versions before 8.1.1-4+deb13u1 (fixed in 8.1.1-4+deb13u1) |
| Debian:14 | deepdiff | All versions before 9.0.0-1 (fixed in 9.0.0-1) |