Skip to main content
VulnerabilityPublished Updated

CVE-2025-64512: Prior to version 20251107, pdfminer.six will execute arbitrary code from a malicious pickle file if provided with a malicious PDF file

Affects pdfminerSource GCVE Database

0
Compare
Authoritative record:CVE-2025-64512· High 8.6

Not known to be exploited · CVSS 8.6 High · fixed in 20140328+dfsg-1ubuntu0.16.04.1~esm1 : patch pdfminer soon.

Data as of 12 Nov 2026, 23:24 UTC

CVSS 3.1 base score
8.6High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.3% chance of exploitation in 30 days – higher than 27% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 20140328+dfsg-1ubuntu0.16.04.1~esm1, 20140328+dfsg-1ubuntu0.18.04.1~esm1, 20191020+dfsg-2ubuntu0.1~esm1 +2
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 10 Nov 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: 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 13 Nov 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
Ubuntu 25.10pdfminerpkg:deb/ubuntu/pdfminer?arch=source&distro=questingOther threatsAffected
  • =20221105+dfsg-1
Fixed in–
Ubuntu Pro 24.04 LTSpdfminerpkg:deb/ubuntu/pdfminer?arch=source&distro=esm-apps/nobleOther threatsAffected
  • <20221105+dfsg-1ubuntu0.1~esm1
Fixed in
  • 20221105+dfsg-1ubuntu0.1~esm1
Ubuntu Pro 22.04 LTSpdfminerpkg:deb/ubuntu/pdfminer?arch=source&distro=esm-apps/jammyOther threatsAffected
  • <20220319+dfsg-1ubuntu0.1~esm1
Fixed in
  • 20220319+dfsg-1ubuntu0.1~esm1
Ubuntu Pro 20.04 LTSpdfminerpkg:deb/ubuntu/pdfminer?arch=source&distro=esm-apps/focalOther threatsAffected
  • <20191020+dfsg-2ubuntu0.1~esm1
Fixed in
  • 20191020+dfsg-2ubuntu0.1~esm1
Ubuntu Pro 18.04 LTSpdfminerpkg:deb/ubuntu/pdfminer?arch=source&distro=esm-apps/bionicOther threatsAffected
  • <20140328+dfsg-1ubuntu0.18.04.1~esm1
Fixed in
  • 20140328+dfsg-1ubuntu0.18.04.1~esm1
Ubuntu Pro 16.04 LTSpdfminerpkg:deb/ubuntu/pdfminer?arch=source&distro=esm-apps-legacy/xenialOther threatsAffected
  • <20140328+dfsg-1ubuntu0.16.04.1~esm1
Fixed in
  • 20140328+dfsg-1ubuntu0.16.04.1~esm1

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

AI-suggested

A fix is available in pdfminer.six version 20251107. Users should update to this version or later to remediate the vulnerability. Ubuntu provides patched package versions via Ubuntu Pro Extended Security Maintenance (ESM) for supported releases. Applying these updates will mitigate the risk. No additional mitigation is required if the update is applied.

Description

Pdfminer.six versions prior to 20251107 contain a vulnerability where processing a malicious PDF file can lead to arbitrary code execution. This occurs because the CMapDB._load_data() function deserializes pickle files using pickle.loads(), and a malicious PDF can specify an alternative pickle file that executes code upon loading. The issue is fixed in version 20251107.

References

Community reviews

Loading reviews…