CVE-2025-58367 json
DeepDiff is vulnerable to DoS and Remote Code Execution via Delta class pollution
published last yr. modified 13d ago also EUVD-2025-27049 , GHSA-mw26-5g2v-hqw3 , PYSEC-2026-327
- cvss
- 10.0
- version 4.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.2%
- EPSS 1.2% chance of exploitation in 30 days, percentile 68%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi deepdiff 8.6.1
- qluster deepdiff 8.6.1
- deepdiff Debian 13 8.1.1-4+deb13u1
- deepdiff Debian 14 8.6.1-1
debian advisories DEBIAN-CVE-2025-58367
- python-deepdiff openSUSE Leap 15.6 6.3.0-150600.3.3.1
suse advisories SUSE-SU-2025:03127-1
- python-deepdiff openSUSE Tumbleweed 8.6.1-1.1
opensuse advisories openSUSE-SU-2025:15536-1
Is CVE-2025-58367 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-58367 updated cvss 7.7
python-deepdiff: DeepDiff class pollution
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- last yr.
Exploit prediction
1.20% chance of exploitation in the next 30 days, higher than 68% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 10.0 | 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 |
| CNA | 4.0 | 10.0 | 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 |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | deepdiff | >=5.0.0, <8.6.1 |
8.6.1 |
Affected products
- seperman deepdiff
Classification
- Weakness
-
- CWE-915 Improperly Controlled Modification of Dynamically-Determined Object Attributes
References
-
github.com
/seperman/deepdiff/commit/c69c06c13f75e849c770ade3f556cd16209fd183
web
-
github.com
/dgilland/pydash/commit/2015f0a4bcdbc3a5b27652e38fe97b3ee13ac15f
web
-
github.com
/seperman/deepdiff/security/advisories/GHSA-mw26-5g2v-hqw3
web
-
github.com
/seperman/deepdiff/releases/tag/8.6.1
web
-
nvd.nist.gov
/vuln/detail/CVE-2025-58367
advisory
-
github.com
/dgilland/pydash/issues/180
web
-
github.com
/pypa/advisory-database/tree/main/vulns/deepdiff/PYSEC-2026-327.yaml
web
-
github.com
/seperman/deepdiff
package
-
pypi.org
/project/deepdiff
web, package
-
github.com
/advisories/GHSA-mw26-5g2v-hqw3
advisory
Sources
- CVE List CVE-2025-58367
- GitHub Advisory GHSA-mw26-5g2v-hqw3
- NVD CVE-2025-58367
- OSV PYSEC-2026-327
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.