Skip to main content
VulnerabilityPublished Updated

CVE-2025-70559: pdfminer-six · Deserialization of Untrusted Data

Affects pdfminer-sixSource CVE Database V5

0

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

CVSS 3.1 base score
6.5Medium
How severe the flaw is on the 0–10 CVSS scale.
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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 3 Feb 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
PyPIpdfminer-sixpkg:pypi/pdfminer-sixOther threatsAffected
  • <20251230
Fixed in
  • 20251230

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

  1. Apply patches or upgrade pdfminer.six to version 20251230 or later once available to ensure the deserialization vulnerability is fixed.
  2. 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.
  3. Implement strict input validation and sandboxing around PDF processing workflows to limit exposure to untrusted files.
  4. Monitor file system locations used by pdfminer.six for unexpected or suspicious files.
  5. Use application whitelisting and runtime protections to detect or block unauthorized code execution attempts.
  6. Consider isolating PDF processing services in containers or restricted environments to limit impact of potential exploitation.
  7. 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.

References

Community reviews

Loading reviews…