CVE-2025-70559: pdfminer.six before 20251230 contains an insecure deserialization vuln | OX.Radar
Breaking: Ruby2Shell - Ruby Memory Corruption Flaws Expose Applications to Remote Code Execution
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2025-70559

pdfminer.six before 20251230 contains an insecure deserialization vuln ...

Overview

Published
3 Feb 2026
Modified
17 Jun 2026
Medium CVE
1 Registry packages
1 OS packages
3 Linux distributions
Yes Fix available

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

Packages affected by CVE-2025-70559
EcosystemPackageVulnerableFixed in
PyPI pdfminer.six <20251230 20251230

Open a package to see all its vulnerabilities.

Operating systems · 9 fixes

debian 4 releases · 1 package

fixed 2 affected 2
pdfminer
debian fixes for CVE-2025-70559
ReleasePackageFixed in
11 pdfminer 20200726-1+deb11u2
12 pdfminer affected
13 pdfminer affected
14 pdfminer 20260107+dfsg-1

echo 1 release · 1 package

affected 1
pdfminer
echo fixes for CVE-2025-70559
ReleasePackageFixed in
pdfminer affected

ubuntu 4 releases · 1 package

fixed 2 affected 2
pdfminer
ubuntu fixes for CVE-2025-70559
ReleasePackageFixed 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

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.