# CVE-2026-33155: DeepDiff has Memory Exhaustion DoS through SAFE_TO_IMPORT

- Severity: High 8.7 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.50%, higher than 44% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-18T20:10:08.000Z
- Modified: 2026-09-10T03:50:59.794Z
- Also known as: GHSA-54jj-px8x-5w5q, PYSEC-2026-2445
- Weaknesses: CWE-400, CWE-770
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- seperman deepdiff: >= 5.0.0, < 8.6.2
- deepdiff (PyPI): from 5.0.0 before 8.6.2
- qluster deepdiff: from 5.0.0 before 8.6.2

## Every score

- GitHub_M: CVSS:4.0 8.7 High `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`
- GitHub: CVSS:4.0 High `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`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- PyPA Advisory Database: CVSS:4.0 `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`

## References

- <https://github.com/qlustered/deepdiff/security/advisories/GHSA-54jj-px8x-5w5q> (exploit, vendor-advisory, web)
- <https://github.com/qlustered/deepdiff/commit/0d07ec21d12b46ef4e489383b363eadc22d990fb> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-33155> (advisory)
- <https://github.com/seperman/deepdiff> (package)
- <https://pypi.org/project/deepdiff> (package)
- <https://github.com/advisories/GHSA-54jj-px8x-5w5q> (advisory)

## Sources

- CVE List: [CVE-2026-33155](https://www.cve.org/CVERecord?id=CVE-2026-33155), CVE Terms of Use, modified 2026-03-24
- GitHub Advisory Database: [GHSA-54jj-px8x-5w5q](https://github.com/advisories/GHSA-54jj-px8x-5w5q), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-33155](https://nvd.nist.gov/vuln/detail/CVE-2026-33155), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-2445](https://osv.dev/vulnerability/PYSEC-2026-2445), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2026-33155 · Whole record: https://cve.day/CVE-2026-33155.json · Rebuilt by cve.day 2026-11-25T22:59:16.342Z
