CVE-2025-64512 Details
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.
A vulnerability in pdfminer.six prior to version 20251107 allows arbitrary code execution through the deserialization of malicious pickle files embedded in PDF documents. The issue arises in the CMapDB._load_data() function, which uses pickle.loads() to deserialize files that are expected to be part of the pdfminer.six distribution. However, a crafted PDF can specify an alternative directory and filename, leading to the execution of arbitrary code when the PDF is processed.
Users should update to pdfminer.six version 20251107 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Nov 12, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-502 | Deserialization of Untrusted Data | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| pdfminer pdfminer.six | < 2025-11-07 |
CPE
Remediation
| |
| debian debian linux | 11.0 |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jan 8, 2026 | CVE Modified | CVE |
| Dec 31, 2025 | Initial Analysis | [email protected] |
| Nov 19, 2025 | CVE Modified | CVE |
| Nov 12, 2025 | CVE Modified | CISA-ADP |
| Nov 10, 2025 | New CVE Received | [email protected] |