
CVE catalog
CVE-2025-58367
deepdiff: CVE-2025-58367
- Severity
- Critical · CVSS 10
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 1.19% · Oct 25, 2026
DeepDiff is a project focused on Deep Difference and search of any Python data. Versions 5.0.0 through 8.6.0 are vulnerable to class pollution via the Delta class constructor, and when combined with a gadget available in DeltaDiff, it can lead to Denial of Service and Remote Code Execution (via insecure Pickle deserialization) exploitation. The gadget available in DeepDiff allows `deepdiff.serialization.SAFE_TO_IMPORT` to be modified to allow dangerous classes such as posix.system, and then perform insecure Pickle deserialization via the Delta class. This potentially allows any Python code to be executed, given that the input to Delta is user-controlled. Depending on the application where DeepDiff is used, this can also lead to other vulnerabilities. This is fixed in version 8.6.1.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | deepdiff | sid | 9.0.0-2 | fixed |
| Debian | deepdiff | forky | 9.0.0-2 | fixed |
| Debian | deepdiff | trixie | 8.1.1-4+deb13u1 | fixed |
| Debian | deepdiff | bookworm | 6.2.2-1 | vulnerable |
| Ubuntu | deepdiff | 20.04 | 3.3.0-1 | vulnerable |
| Ubuntu | deepdiff | 20.04 | 3.3.0-2 | vulnerable |
| Ubuntu | deepdiff | 22.04 | 3.3.0-2 | vulnerable |
| Ubuntu | deepdiff | 22.04 | 3.3.0-2ubuntu1 | vulnerable |
| Ubuntu | deepdiff | 22.04 | 3.3.0-3 | vulnerable |
| Ubuntu | deepdiff | 22.04 | 5.6.0-2 | vulnerable |
| Ubuntu | deepdiff | 24.04 | 6.2.2-1 | vulnerable |
| Ubuntu | deepdiff | 24.04 | 6.7.1-1 | vulnerable |
| Ubuntu | deepdiff | 25.10 | 8.1.1-3 | vulnerable |
| Ubuntu | deepdiff | 25.10 | 8.1.1-4 | vulnerable |
| Opensuse | python-deepdiff | tumbleweed | 8.6.1-1.1 | fixed |
| Opensuse | python-deepdiff | leap 15.6 | 6.3.0-150600.3.3.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | deepdiff | source | sid | 8.6.1-1 | not yet assigned | Not reported | Not reported |
| Debian | deepdiff | source | forky | 8.6.1-1 | not yet assigned | Not reported | Not reported |
| Debian | deepdiff | source | trixie | 8.1.1-4+deb13u1 | not yet assigned | Not reported | Not reported |
| Debian | deepdiff | source | bookworm | (unfixed) | not yet assigned | Not reported | Not reported |
| Opensuse | python-deepdiff | rpm | tumbleweed | 8.6.1-1.1 | Not reported | OPENSUSE-SU-2025:15536-1 | Not reported |
| Opensuse | python-deepdiff | rpm | leap 15.6 | 6.3.0-150600.3.3.1 | Not reported | SUSE-SU-2025:03127-1 | Not reported |
Notes
[bookworm] deepdiff: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [python3-deepdiff]Affected
Source package: [deepdiff]
Details (2)
6.2.2-1· all · bookwormAffected
dsa · deepdiff · debian · bookworm; dsa · deepdiff · debian · 12
6.2.2-1· all · bookwormAffected
dsa · deepdiff · debian · bookworm; dsa · deepdiff · debian · 12
[openSUSE Tumbleweed]
- [python313-deepdiff]Unknown
Source package: [python-deepdiff]
Details (1)
9.0.0-2.1· noarch · tumbleweedUnknown · Fixed:
8.6.1-1.1Version impact unknown
dsa · python-deepdiff · opensuse · tumbleweed
- [python314-deepdiff]Unknown
Source package: [python-deepdiff]
Details (1)
9.0.0-2.1· noarch · tumbleweedUnknown · Fixed:
8.6.1-1.1Version impact unknown
dsa · python-deepdiff · opensuse · tumbleweed
[Debian 13 (Trixie)]
- [python3-deepdiff]Fixed
Source package: [deepdiff]
Details (2)
8.1.1-4+deb13u1· all · trixieFixed · Fixed:
8.1.1-4+deb13u1dsa · deepdiff · debian · 13
8.1.1-4+deb13u1· all · trixieFixed · Fixed:
8.1.1-4+deb13u1dsa · deepdiff · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2025_03127-1.json]
- [https://nvd.nist.gov/vuln/detail/CVE-2025-58367]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2025-58367]
- [https://osv.dev/vulnerability/SUSE-SU-2025:03127-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2025-58367]
- [https://osv.dev/vulnerability/openSUSE-SU-2025:15536-1]
- [https://security-tracker.debian.org/tracker/CVE-2025-58367]
- [https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-58367.json]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]