CVE catalog

CVE-2025-58367

deepdiff: CVE-2025-58367

[CVE catalog]

Severity
Critical · CVSS 10CVSS: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.

DistributionPackageReleaseVersionStatus
Debiandeepdiffsid9.0.0-2fixed
Debiandeepdiffforky9.0.0-2fixed
Debiandeepdifftrixie8.1.1-4+deb13u1fixed
Debiandeepdiffbookworm6.2.2-1vulnerable
Ubuntudeepdiff20.043.3.0-1vulnerable
Ubuntudeepdiff20.043.3.0-2vulnerable
Ubuntudeepdiff22.043.3.0-2vulnerable
Ubuntudeepdiff22.043.3.0-2ubuntu1vulnerable
Ubuntudeepdiff22.043.3.0-3vulnerable
Ubuntudeepdiff22.045.6.0-2vulnerable
Ubuntudeepdiff24.046.2.2-1vulnerable
Ubuntudeepdiff24.046.7.1-1vulnerable
Ubuntudeepdiff25.108.1.1-3vulnerable
Ubuntudeepdiff25.108.1.1-4vulnerable
Opensusepython-deepdifftumbleweed8.6.1-1.1fixed
Opensusepython-deepdiffleap 15.66.3.0-150600.3.3.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiandeepdiffsourcesid8.6.1-1not yet assignedNot reportedNot reported
Debiandeepdiffsourceforky8.6.1-1not yet assignedNot reportedNot reported
Debiandeepdiffsourcetrixie8.1.1-4+deb13u1not yet assignedNot reportedNot reported
Debiandeepdiffsourcebookworm(unfixed)not yet assignedNot reportedNot reported
Opensusepython-deepdiffrpmtumbleweed8.6.1-1.1Not reportedOPENSUSE-SU-2025:15536-1Not reported
Opensusepython-deepdiffrpmleap 15.66.3.0-150600.3.3.1Not reportedSUSE-SU-2025:03127-1Not reported

Notes

[bookworm] deepdiff: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Source package: [deepdiff]

    Details (2)
    • 6.2.2-1 · all · bookworm

      Affected

      dsa · deepdiff · debian · bookworm; dsa · deepdiff · debian · 12

    • 6.2.2-1 · all · bookworm

      Affected

      dsa · deepdiff · debian · bookworm; dsa · deepdiff · debian · 12

[openSUSE Tumbleweed]

  • Source package: [python-deepdiff]

    Details (1)
    • 9.0.0-2.1 · noarch · tumbleweed

      Unknown · Fixed: 8.6.1-1.1

      Version impact unknown

      dsa · python-deepdiff · opensuse · tumbleweed

  • Source package: [python-deepdiff]

    Details (1)
    • 9.0.0-2.1 · noarch · tumbleweed

      Unknown · Fixed: 8.6.1-1.1

      Version impact unknown

      dsa · python-deepdiff · opensuse · tumbleweed

[Debian 13 (Trixie)]

  • Source package: [deepdiff]

    Details (2)
    • 8.1.1-4+deb13u1 · all · trixie

      Fixed · Fixed: 8.1.1-4+deb13u1

      dsa · deepdiff · debian · 13

    • 8.1.1-4+deb13u1 · all · trixie

      Fixed · Fixed: 8.1.1-4+deb13u1

      dsa · deepdiff · debian · 13

Observed:

References