Skip to main content
← All vulnerabilities
CVE-2026-33155GHSA-54JJ-PX8X-5W5QPYSEC-2026-2445

DeepDiff has Memory Exhaustion DoS through SAFE_TO_IMPORT

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 8.6.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • seperman deepdiff

    From 5.0.0 · fixed in 8.6.2

  • deepdiffPyPI

    From 5.0.0 · fixed in 8.6.2

References 2

GitHub · qlustered/deepdiff