{"id":"CVE-2026-33155","published":"2026-03-20T20:25:53Z","modified":"2026-03-24T02:03:16Z","title":"DeepDiff has Memory Exhaustion DoS through SAFE_TO_IMPORT","vendor":"seperman","product":"deepdiff","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.7,"severity":"HIGH","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00503,"percentile":0.43962,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"references":[{"url":"https://github.com/qlustered/deepdiff/security/advisories/GHSA-54jj-px8x-5w5q","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/qlustered/deepdiff/commit/0d07ec21d12b46ef4e489383b363eadc22d990fb","tags":["x_refsource_MISC"]}],"priority":{"score":14.9,"factors":[{"name":"EPSS percentile","points":8.79},{"name":"CVSS severity","points":6.09}]},"vendorSlug":"seperman","affectedVersions":[{"vendor":"seperman","product":"deepdiff","versions":[">= 5.0.0, < 8.6.2"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-03-24T02:03:03.983236Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"deepdiff","vulnerableRanges":[">=5.0.0, <8.6.2"],"patched":["8.6.2"],"from":["GHSA-54jj-px8x-5w5q","PYSEC-2026-2445"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-13792","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2025-58367","published":"2025-09-05","fixed":"8.6.1","kev":false,"link":{"from":"CVE-2025-58367","to":"CVE-2026-33155","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:deepdiff","fromFixed":"8.6.1","toFixed":"8.6.2","daysApart":196}]}},{"cve":"CVE-2026-33155","published":"2026-03-20","fixed":"8.6.2","kev":false}],"package":"PyPI:deepdiff"}}