cve.bz

CVE-2025-58367 seperman deepdiff

10.0 criticalEPSS 1.2%Fix available

Critical (10.0) in seperman deepdiff. EPSS 1.2% estimated probability of exploitation activity in the next 30 days. Fixed in deepdiff 8.6.1.

On this page
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.

Severity

CVSS 4.0

10.0 critical
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
EPSS
1.2% (unchanged from 1.2% a week ago; 1.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 69th percentile. Scored 2026-11-24. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2025-09-08. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-915 Improperly Controlled Modification of Dynamically-Determined Object Attributes
OWASP Top 10
A08:2025 Software or Data Integrity Failures
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-58367 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-58367?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-58367?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-58367 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
seperman deepdiff>= 5.0.0, < 8.6.1

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-mw26-5g2v-hqw3PyPIdeepdiff>=5.0.0 <8.6.18.6.1
PYSEC-2026-327PyPIdeepdiff>=5.0.0 <8.6.18.6.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12deepdiffno fix listedDEBIAN-CVE-2025-58367
Debian13deepdiff8.1.1-4+deb13u1DEBIAN-CVE-2025-58367
Debian14deepdiff8.6.1-1DEBIAN-CVE-2025-58367
Ubuntu22.04:LTS, 24.04:LTS, 25.10deepdiffno fix listedUBUNTU-CVE-2025-58367
openSUSELeap 15.6python-deepdiff6.3.0-150600.3.3.1SUSE-SU-2025:03127-1
openSUSETumbleweedpython-deepdiff8.6.1-1.1openSUSE-SU-2025:15536-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · openSUSE.

References

Check your stackJSON