Read the docs
TI-2025-39903 Aliases CVE-2025-64512GHSA-wf5f-4jwr-ppcp

pdfminer.six vulnerable to Arbitrary Code Execution via Crafted PDF Input

Priority HIGH 72CWE-502Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-502.

Summary

Pdfminer.six is a community maintained fork of the original PDFMiner, a tool for extracting information from PDF documents. Prior to version 20251107, pdfminer.six will execute arbitrary code from a malicious pickle file if provided with a malicious PDF file. The `CMapDB._load_data()` function in pdfminer.six uses `pickle.loads()` to deserialize pickle files. These pickle files are supposed to be part of the pdfminer.six distribution stored in the `cmap/` directory, but a malicious PDF can specify an alternative directory and filename as long as the filename ends in `.pickle.gz`. A malicious, zipped pickle file can then contain code which will automatically execute when the PDF is processed. Version 20251107 fixes the issue.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00334 26th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed pdfminer.six (pdfminer): 20251107pdfminer.six (PyPI): 20251107

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
pdfminerpdfminer.sixbefore 2025110720251107Patch availableCNA
—pdfminer.six (PyPI)before 2025110720251107Patch availableGHSA-wf5f-4jwr-ppcp
  • pdfminer.six Vendorpdfminer Affected before 20251107 Fixed in 20251107 Patch available CNA
  • pdfminer.six (PyPI) Vendor— Affected before 20251107 Fixed in 20251107 Patch available GHSA-wf5f-4jwr-ppcp

CPE configurations NVD · 2

CPEVersionsRoleVendor
cpe:2.3:a:pdfminer:pdfminer.six:*:*:*:*:*:*:*:*before 2025-11-07Vulnerablepdfminer
cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*11.0VulnerableDebian
  • cpe:2.3:a:pdfminer:pdfminer.six:*:*:*:*:*:*:*:* Versions before 2025-11-07 Vulnerable ·pdfminer
  • cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* Versions 11.0 Vulnerable ·Debian

Remediation

  • Fix · CNA pdfminer.six (pdfminer) Fixed in 20251107
  • Fix · GHSA-wf5f-4jwr-ppcp pdfminer.six (PyPI) Fixed in 20251107 Advisory →

Vendor assessments

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-64512
  2. 2026-10-03 Alias added: GHSA-wf5f-4jwr-ppcp

References

Sources