Vulnerability · Published Feb 3, 2026 · Assigned by mitre
CVE-2025-70559
Medium 6.5
In plain English
A medium-severity unsafe deserialization in the pdfminer package (Debian). Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 25% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Official description
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 & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | pdfminer | no fix listed | DEBIAN-CVE-2025-70559 |
| Debian:13 | pdfminer | no fix listed | DEBIAN-CVE-2025-70559 |
| Debian:14 | pdfminer | 20260107+dfsg-1 | DEBIAN-CVE-2025-70559 |
| PyPI | pdfminer-six | 20251230 | GHSA-f83h-ghpp-7wcc |
| PyPI | pdfminer-six | 20251230 | PYSEC-2026-1761 |
| Ubuntu:25.10 | pdfminer | no fix listed | UBUNTU-CVE-2025-70559 |
Affected products (as reported)
Weakness: CWE-502 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N