Live threats

All CVEs / Pdfminer

CVE-2025-64512Pdfminer.six

High 7.8

Priority
47
CVSS 3.1
7.8
EPSS
—
Auth required
Yes
Published
Nov 10, 2025
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-502
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Pdfminer.six.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI pdfminer-six < 20251107 20251107 pip install "pdfminer-six>=20251107"
PyPI pdfminer-six < 20251107 20251107 pip install "pdfminer-six>=20251107"

Per OSV / GitHub Advisories (GHSA-wf5f-4jwr-ppcp, PYSEC-2026-1762). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
pdfminerpdfminer.six< 2025-11-07
debiandebian_linux11.0

Official sources

References

Links published by the sources. Open them with care.