CVE-2026-33155CWE-400

DeepDiff has Memory Exhaustion DoS through SAFE_TO_IMPORT

High · published March 20, 2026

CVSS v4.0
8.7
EPSS
1%
Percentile
44.3
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
8.7 · HIGH
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
EPSS
0.00535 · 44.3th percentile
Weakness
CWE-400 · Uncontrolled Resource Consumption
Published
2026-03-20T20:25Z
EPSS history
Timeline
  • 20 MAR 20:25Z
    DeepDiff has Memory Exhaustion DoS through SAFE_TO_IMPORT
    cvelistv5