CVE-2025-70559
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.
What to do
Fixed builds are available from Debian, PyPI: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | pdfminer | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | pdfminer | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2025-70559 | |
| Ubuntu 24.04 | pdfminer | Fix pending | 20221105+dfsg-1ubuntu0.1~esm1 (Ubuntu Pro) | UBUNTU-CVE-2025-70559 |
| Ubuntu 22.04 | pdfminer | Fix pending | 20220319+dfsg-1ubuntu0.1~esm1 (Ubuntu Pro) | UBUNTU-CVE-2025-70559 |
| Ubuntu 20.04 | pdfminer | Fix pending | 20191020+dfsg-2ubuntu0.1~esm1 (Ubuntu Pro) | UBUNTU-CVE-2025-70559 |
| Ubuntu 18.04 | pdfminer | Fix pending | 20140328+dfsg-1ubuntu0.18.04.1~esm1 (Ubuntu Pro) | UBUNTU-CVE-2025-70559 |
| Ubuntu 16.04 | pdfminer | Fix pending | 20140328+dfsg-1ubuntu0.16.04.1~esm1 (Ubuntu Pro) | UBUNTU-CVE-2025-70559 |
| Debian 14 | pdfminer | Fixed | 20260107+dfsg-1 | DEBIAN-CVE-2025-70559 |
| Debian 13 | pdfminer | Fix pending | DEBIAN-CVE-2025-70559 | |
| Debian 12 | pdfminer | Fix pending | DEBIAN-CVE-2025-70559 | |
| PyPI library | pdfminer-six | Fixed | 20251230 | PYSEC-2026-1761 |
References
- https://github.com/pdfminer/pdfminer.six/security/advisories/GHSA-f83h-ghpp-7wcc
- https://github.com/advisories/GHSA-f83h-ghpp-7wcc
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.