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
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
- 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:HExploitation evidence
Disclosed: evidence found.
CVE published 10 Nov 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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.
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 25.10pdfminerpkg:deb/ubuntu/pdfminer?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu Pro 24.04 LTSpdfminerpkg:deb/ubuntu/pdfminer?arch=source&distro=esm-apps/nobleOther threats | Affected
| Fixed in
|
Ubuntu Pro 22.04 LTSpdfminerpkg:deb/ubuntu/pdfminer?arch=source&distro=esm-apps/jammyOther threats | Affected
| Fixed in
|
Ubuntu Pro 20.04 LTSpdfminerpkg:deb/ubuntu/pdfminer?arch=source&distro=esm-apps/focalOther threats | Affected
| Fixed in
|
Ubuntu Pro 18.04 LTSpdfminerpkg:deb/ubuntu/pdfminer?arch=source&distro=esm-apps/bionicOther threats | Affected
| Fixed in
|
Ubuntu Pro 16.04 LTSpdfminerpkg:deb/ubuntu/pdfminer?arch=source&distro=esm-apps-legacy/xenialOther threats | Affected
| Fixed in
|
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
- ubuntu.com/security/CVE-2025-64512 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2025-64512 (opens in a new tab)
- github.com/pdfminer/pdfminer.six/security/advisories/GHSA-wf5f-4jwr-ppcp (opens in a new tab)
- github.com/pdfminer/pdfminer.six/commit/b808ee05dd7f0c8ea8ec34bdf394d40e63501086 (opens in a new tab)
- github.com/pdfminer/pdfminer.six/releases/tag/20251107 (opens in a new tab)
- ubuntu.com/security/notices/USN-8837-1 (opens in a new tab)