Skip to content
Fencer Vulns
medium 6.5

CVE-2025-70559 json

Insecure Deserialization (pickle) in pdfminer.six CMap Loader — Local Privesc

published 2025-11-07 12 mo ago modified 2026-07-08 4 mo ago also GHSA-f83h-ghpp-7wcc , PYSEC-2026-1761 , EUVD-2025-206704

cvss
6.5
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.3%
EPSS 0.3% chance of exploitation in 30 days, percentile 25%
public exploits
0
none known

Summary

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.

Patch / fix

  • pypi pdfminer-six 20251230
  • pdfminer Debian 14 20260107+dfsg-1

debian advisories DEBIAN-CVE-2025-70559

  • pdfminer Ubuntu Pro 16.04 LTS 20140328+dfsg-1ubuntu0.16.04.1~esm1
  • pdfminer Ubuntu Pro 18.04 LTS 20140328+dfsg-1ubuntu0.18.04.1~esm1
  • pdfminer Ubuntu Pro 20.04 LTS 20191020+dfsg-2ubuntu0.1~esm1
  • pdfminer Ubuntu Pro 22.04 LTS 20220319+dfsg-1ubuntu0.1~esm1
  • pdfminer Ubuntu Pro 24.04 LTS 20221105+dfsg-1ubuntu0.1~esm1

ubuntu advisories UBUNTU-CVE-2025-70559

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2025-70559 updated cvss 8.2

pdfminer.six: pdfminer.six insecure deserialization

  • Red Hat All currently supported Red Hat products
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
Proof of concept is public
Automatable
yes
Technical impact
partial
Assessed
8 mo ago

Exploit prediction

0.32% chance of exploitation in the next 30 days, higher than 25% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CISA ADP 3.1 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
CNA 3.1 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
GitHub 3.1 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
OSV 3.1 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
pypi pdfminer-six
<20251230
20251230

Classification

Weakness
  • CWE-502 Deserialization of Untrusted Data
  • CWE-915 Improperly Controlled Modification of Dynamically-Determined Object Attributes

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.