pdfminer.six prior 20251107 PDF File Parser cmap/ CMapDB._load_data deserialization
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 7.2 | $0-$5k | 0.00 |
Summary
A vulnerability was found in pdfminer.six and classified as problematic. This vulnerability affects the function CMapDB._load_data of the file cmap/ of the component PDF File Parser. The manipulation results in deserialization.
This vulnerability was named CVE-2025-64512. The attack needs to be approached locally. There is no available exploit.
It is suggested to upgrade the affected component.
Details
A vulnerability was found in pdfminer.six. It has been classified as problematic. Affected is the function CMapDB._load_data of the file cmap/ of the component PDF File Parser. The manipulation with an unknown input leads to a deserialization vulnerability. CWE is classifying the issue as CWE-502. The product deserializes untrusted data without sufficiently verifying that the resulting data will be valid. This is going to have an impact on confidentiality, integrity, and availability. CVE summarizes:
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.
The advisory is available at github.com. This vulnerability is traded as CVE-2025-64512 since 11/05/2025. The exploitability is told to be easy. Local access is required to approach this attack. Technical details are known, but there is no available exploit.
The vulnerability scanner Nessus provides a plugin with the ID 274731 (Linux Distros Unpatched Vulnerability : CVE-2025-64512), which helps to determine the existence of the flaw in a target environment.
Upgrading to version 20251107 eliminates this vulnerability. The upgrade is hosted for download at github.com. Applying the patch b808ee05dd7f0c8ea8ec34bdf394d40e63501086 is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.
The vulnerability is also documented in the databases at Tenable (274731) and EUVD (EUVD-2025-50815). If you want to get best quality of vulnerability data, you may have to visit VulDB.
Product
Name
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.2VulDB Meta Temp Score: 7.2
VulDB Base Score: 5.3
VulDB Temp Score: 5.1
VulDB Vector: 🔒
VulDB Reliability: 🔍
NVD Base Score: 7.8
NVD Vector: 🔒
CNA Base Score: 8.6
CNA Vector (GitHub_M): 🔒
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploiting
Class: DeserializationCWE: CWE-502 / CWE-20
CAPEC: 🔒
ATT&CK: 🔒
Physical: Partially
Local: Yes
Remote: Partially
Availability: 🔒
Status: Not defined
EPSS Score: 🔒
EPSS Percentile: 🔒
Price Prediction: 🔍
Current Price Estimation: 🔒
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 274731
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2025-64512
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔒
Upgrade: pdfminer.six 20251107
Patch: b808ee05dd7f0c8ea8ec34bdf394d40e63501086
Timeline
11/05/2025 CVE reserved11/11/2025 Advisory disclosed
11/11/2025 VulDB entry created
12/31/2025 VulDB entry last update
Sources
Advisory: GHSA-wf5f-4jwr-ppcpStatus: Confirmed
CVE: CVE-2025-64512 (🔒)
GCVE (CVE): GCVE-0-2025-64512
GCVE (VulDB): GCVE-100-331818
EUVD: 🔒
Entry
Created: 11/11/2025 07:56Updated: 12/31/2025 19:14
Changes: 11/11/2025 07:56 (67), 11/12/2025 00:40 (2), 11/16/2025 02:34 (1), 12/31/2025 19:14 (12)
Complete: 🔍
Cache ID: 216::103
If you want to get best quality of vulnerability data, you may have to visit VulDB.
No comments yet. Languages: en.
Please log in to comment.