8.6

CVE-2025-64512: pdfminer.six vulnerable to Arbitrary Code Execution via Crafted PDF Input

Modified
AliasesGHSA-wf5f-4jwr-ppcpPYSEC-2026-1762UBUNTU-CVE-2025-64512
Published 10-11-2025Last modified 08-01-2026

Vulnerability summary

CVE-2025-64512 is a high (CVSS 8.6) Deserialization of Untrusted Data vulnerability in debian debian_linux. EPSS estimates a 0.33% chance of exploitation in the next 30 days, higher than 28.6% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Prioritisepublic exploit

Public exploit (GitHub, Date unknown)

Source freshness unavailable

How is this decided?
CVSS score
8.6/10
010
High · v3.1 (CVE.org)
EPSS score
0.33%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 1 · Related 1

Timeline

  1. 10-11-2025
    PublishedVulnerability first disclosed.
  2. 08-01-2026
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

0.33%

Chance of exploitation in the next 30 days

Percentile

29%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.33% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Pdfminer.Six

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Debian2 products
  • pdfminer< 20200726-1+deb11u1 | < 20221105+dfsg-1.1~deb12u1 | < 20221105+dfsg-1.1~deb13u1 | < 20221105+dfsg-1.1
  • debian_linuxEOL11.0
Opensuse1 product
  • python-pdfminer.six&distro=openSUSE Tumbleweed< 20251107-1.1
Pdfminer1 product
PyPI1 product
  • pdfminer-six< 20251107
Ubuntu1 product
  • pdfminer< 20140328+dfsg-1ubuntu0.16.04.1~esm1 | < 20140328+dfsg-1ubuntu0.18.04.1~esm1 | < 20191020+dfsg-2ubuntu0.1~esm1 | < 20220319+dfsg-1ubuntu0.1~esm1 | < 20221105+dfsg-1ubuntu0.1~esm1 | All versions (No fix recorded)

5 vendors · 6 products

References

14 links
Show all 14 references