CVE-2025-69872

NameCVE-2025-69872
DescriptionDiskCache (python-diskcache) through 5.6.3 uses Python pickle for serialization by default. An attacker with write access to the cache directory can achieve arbitrary code execution when a victim application reads from the cache.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1128476

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
diskcache (PTS)bullseye5.2.1-2vulnerable
bookworm5.4.0-1vulnerable
forky, sid, trixie5.6.3-1vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
diskcachesource(unstable)(unfixed)1128476

Notes

[trixie] - diskcache <postponed> (Minor issue, revisit when fixed upstream)
[bookworm] - diskcache <postponed> (Minor issue, revisit when fixed upstream)
[bullseye] - diskcache <postponed> (Minor issue, revisit when fixed upstream)
https://github.com/EthanKim88/ethan-cve-disclosures/blob/main/CVE-2025-69872-DiskCache-Pickle-Deserialization.md
https://github.com/grantjenks/python-diskcache/issues/357

Search for package or bug name: Reporting problems