{"id":"UBUNTU-CVE-2025-69872","details":"DiskCache (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.","modified":"2026-06-30T18:15:54.997394521Z","published":"2026-02-11T19:15:00Z","upstream":["CVE-2025-69872"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2025-69872"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2025-69872"},{"type":"REPORT","url":"https://github.com/EthanKim88/ethan-cve-disclosures/blob/main/CVE-2025-69872-DiskCache-Pickle-Deserialization.md"},{"type":"REPORT","url":"https://github.com/grantjenks/python-diskcache"}],"affected":[{"package":{"name":"diskcache","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/diskcache?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.2.1-2","5.4.0-1"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-diskcache","binary_version":"5.4.0-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-69872.json"}},{"package":{"name":"diskcache","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/diskcache?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.4.0-3"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-diskcache","binary_version":"5.4.0-3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-69872.json"}},{"package":{"name":"diskcache","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/diskcache?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.6.3-1"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-diskcache","binary_version":"5.6.3-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-69872.json"}},{"package":{"name":"diskcache","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/diskcache?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.6.3-1"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-diskcache","binary_version":"5.6.3-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-69872.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L"},{"type":"Ubuntu","score":"medium"}]}