Ubuntu CVE Tracker
UBUNTU-CVE-2025-70559
Details
pdfminer.six before 20251230 contains an insecure deserialization vulnerability in the CMap loading mechanism. The library uses Python pickle to deserialize CMap cache files without validation. An attacker with the ability to place a malicious pickle file in a location accessible to the application can trigger arbitrary code execution or privilege escalation when the file is loaded by a trusted process. This is caused by an incomplete patch to CVE-2025-64512.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:16.04:LTS | pdfminer | All versions before 20140328+dfsg-1ubuntu0.16.04.1~esm1 (fixed in 20140328+dfsg-1ubuntu0.16.04.1~esm1) |
| Ubuntu:Pro:18.04:LTS | pdfminer | All versions before 20140328+dfsg-1ubuntu0.18.04.1~esm1 (fixed in 20140328+dfsg-1ubuntu0.18.04.1~esm1) |
| Ubuntu:Pro:20.04:LTS | pdfminer | All versions before 20191020+dfsg-2ubuntu0.1~esm1 (fixed in 20191020+dfsg-2ubuntu0.1~esm1) |
| Ubuntu:Pro:22.04:LTS | pdfminer | All versions before 20220319+dfsg-1ubuntu0.1~esm1 (fixed in 20220319+dfsg-1ubuntu0.1~esm1) |
| Ubuntu:Pro:24.04:LTS | pdfminer | All versions before 20221105+dfsg-1ubuntu0.1~esm1 (fixed in 20221105+dfsg-1ubuntu0.1~esm1) |
| Ubuntu:25.10 | pdfminer | All versions, no fix listed |
References
- https://ubuntu.com/security/CVE-2025-70559
- https://www.cve.org/CVERecord?id=CVE-2025-70559
- https://github.com/pdfminer/pdfminer.six/security/advisories/GHSA-f83h-ghpp-7wcc
- https://github.com/pdfminer/pdfminer.six/pull/1172
- https://github.com/advisories/GHSA-f83h-ghpp-7wcc
- https://ubuntu.com/security/notices/USN-8837-1