CVE-2025-70559
pdfminer.six before 20251230 contains an insecure deserialization vuln ...
Overview
Description
pdfminer.six before 20251230 contains an insecure deserialization vulnerability in the CMap loading mechanism. The library uses Python pickle to deserialize CMap cache files without validation. An attacker with the ability to place a malicious pickle file in a location accessible to the application can trigger arbitrary code execution or privilege escalation when the file is loaded by a trusted process. This is caused by an incomplete patch to CVE-2025-64512.
Source: OX vulnerability database
Severity
6.5 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Weakness: CWE-502
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| PyPI | pdfminer.six | <20251230 | 20251230 |
Open a package to see all its vulnerabilities.
Operating systems · 9 fixes
debian 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | pdfminer | 20200726-1+deb11u2 |
| 12 | pdfminer | affected |
| 13 | pdfminer | affected |
| 14 | pdfminer | 20260107+dfsg-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| pdfminer | affected |
ubuntu 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 18.04-ESM | pdfminer | 20140328+dfsg-1ubuntu0.18.04.1~esm1 |
| 20.04-ESM | pdfminer | 20191020+dfsg-2ubuntu0.1~esm1 |
| 22.04 | pdfminer | affected |
| 24.04 | pdfminer | affected |
References
- github.com https://github.com/advisories/GHSA-f83h-ghpp-7wcc
- github.com https://github.com/pdfminer/pdfminer.six
- github.com https://github.com/pdfminer/pdfminer.six/commit/b808ee05dd7f0c8ea8ec34bdf394d40e63501086
- github.com https://github.com/pdfminer/pdfminer.six/pull/1172
- github.com https://github.com/pdfminer/pdfminer.six/security/advisories/GHSA-f83h-ghpp-7wcc
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2025-70559
- ubuntu.com https://ubuntu.com/security/notices/USN-8837-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2025-70559
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.