CVE-2025-70559: pdfminer-six · Deserialization of Untrusted Data
Affects pdfminer-sixSource CVE Database V5
Mentioned vulnerabilities
Not known to be exploited · CVSS 6.5 Medium : upgrade to 20251230 when convenient.
Data as of 26 Oct 2026, 13:47 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 25% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 20251230
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 3 Feb 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade pdfminer-six to 20251230.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
PyPIpdfminer-sixpkg:pypi/pdfminer-sixOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
- Apply patches or upgrade pdfminer.six to version 20251230 or later once available to ensure the deserialization vulnerability is fixed.
- If you cannot patch yet, restrict write permissions on directories used for CMap cache files to trusted users only, preventing attackers from placing malicious pickle files.
- Implement strict input validation and sandboxing around PDF processing workflows to limit exposure to untrusted files.
- Monitor file system locations used by pdfminer.six for unexpected or suspicious files.
- Use application whitelisting and runtime protections to detect or block unauthorized code execution attempts.
- Consider isolating PDF processing services in containers or restricted environments to limit impact of potential exploitation.
- Review and harden access controls and logging around systems using pdfminer.six to detect and respond to suspicious activity promptly.
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.