CVE-2026-33155

NameCVE-2026-33155
DescriptionDeepDiff 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1131472

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
deepdiff (PTS)bullseye3.3.0-2vulnerable
bookworm6.2.2-1vulnerable
trixie8.1.1-4vulnerable
forky, sid8.6.1-1vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
deepdiffsource(unstable)(unfixed)1131472

Notes

https://github.com/qlustered/deepdiff/security/advisories/GHSA-54jj-px8x-5w5q
Fixed by: https://github.com/qlustered/deepdiff/commit/0d07ec21d12b46ef4e489383b363eadc22d990fb

Search for package or bug name: Reporting problems