CVE-2025-58367
published critical CVSS 4.0 · 10.0DeepDiff is vulnerable to DoS and Remote Code Execution via Delta class pollution
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| seperman | — | deepdiff>= 5.0.0, < 8.6.1 | Affected | Not stated | GitHub_M |
| SUSE / openSUSE | openSUSE-Leap-15.6 | python311-deepdiffnoarch | Advisory build | 6.3.0-150600.3.3.1 | SUSE-SU-2025:03127-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-deepdiffaarch64 | Advisory build | 8.6.1-1.1 | OPENSUSE-SU-2025:15536-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-deepdiffppc64le | Advisory build | 8.6.1-1.1 | OPENSUSE-SU-2025:15536-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-deepdiffs390x | Advisory build | 8.6.1-1.1 | OPENSUSE-SU-2025:15536-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-deepdiffx86_64 | Advisory build | 8.6.1-1.1 | OPENSUSE-SU-2025:15536-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-deepdiffaarch64 | Advisory build | 8.6.1-1.1 | OPENSUSE-SU-2025:15536-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-deepdiffppc64le | Advisory build | 8.6.1-1.1 | OPENSUSE-SU-2025:15536-1 |
Show 6 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-deepdiffs390x | Advisory build | 8.6.1-1.1 | OPENSUSE-SU-2025:15536-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-deepdiffx86_64 | Advisory build | 8.6.1-1.1 | OPENSUSE-SU-2025:15536-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-deepdiffaarch64 | Advisory build | 8.6.1-1.1 | OPENSUSE-SU-2025:15536-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-deepdiffppc64le | Advisory build | 8.6.1-1.1 | OPENSUSE-SU-2025:15536-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-deepdiffs390x | Advisory build | 8.6.1-1.1 | OPENSUSE-SU-2025:15536-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-deepdiffx86_64 | Advisory build | 8.6.1-1.1 | OPENSUSE-SU-2025:15536-1 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 10.0 / 10
- Severity
- critical
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| seperman | deepdiff | >= 5.0.0, < 8.6.1 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-915 CWE-915: Improperly Controlled Modification of Dynamically-Determined Object Attributes
References
3Provider assertions
2GitHub_M · cna
DeepDiff is vulnerable to DoS and Remote Code Execution via Delta class pollution
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 33f4bfa4f31a2d50d335eccff156ad9afdda53068c78a46bec34df19368aacf3
- Ingested
- 23 Sep 2026, 08:53:54 UTC
- Source record
- Official CVE record