Skip to content
OpenAdvisories
High · 8.7 CVE-2026-33155 EUVD-2026-13792GHSA-54jj-px8x-5w5qPYSEC-2026-2445

DeepDiff has Memory Exhaustion DoS through SAFE_TO_IMPORT

Published Mar 20, 2026 · Updated Mar 24, 2026 · Assigned by GitHub_M

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 products

VendorProductAffectedFixed
seperman deepdiff >= 5.0.0, < 8.6.2 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 deepdiff 9.0.0-1 —
Debian 13 deepdiff 8.1.1-4+deb13u1 —
Debian 12 deepdiff No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 deepdiff No fix yet —
Ubuntu 26.04 LTS deepdiff No fix yet —
Ubuntu 25.10 deepdiff No fix yet —
Ubuntu 24.04 LTS deepdiff No fix yet —
Ubuntu 22.04 LTS deepdiff No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed python-deepdiff 8.6.2-1.1 openSUSE-SU-2026:10417-1
openSUSE Leap 15.6 python-deepdiff 6.3.0-150600.3.6.1 SUSE-SU-2026:1094-1

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI deepdiff >= 5.0.0, < 8.6.2 8.6.2 GHSA-54jj-px8x-5w5q

Advisories 2

References