| Name | CVE-2025-70559 |
| 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 | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DLA-4374-2 |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|
| pdfminer (PTS) | bullseye | 20200726-1 | vulnerable |
| bullseye (security) | 20200726-1+deb11u2 | fixed |
| bookworm, bookworm (security) | 20221105+dfsg-1.1~deb12u1 | vulnerable |
| trixie, trixie (security) | 20221105+dfsg-1.1~deb13u1 | vulnerable |
| forky, sid | 20260107+dfsg-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|
| pdfminer | source | bullseye | 20200726-1+deb11u2 | | DLA-4374-2 | |
| pdfminer | source | (unstable) | 20260107+dfsg-1 | | | |
Notes
https://github.com/pdfminer/pdfminer.six/security/advisories/GHSA-f83h-ghpp-7wcc
https://github.com/pdfminer/pdfminer.six/pull/1172
Proper fix by replacing pickle for SON for CMap storage.
Fixed by: https://github.com/pdfminer/pdfminer.six/commit/41a247c2d66ea962823459403b828375ccc7bd33 (20251230)
CVE exists because of an incomplete fix for CVE-2025-64512