# CVE-2025-70559: Insecure Deserialization (pickle) in pdfminer.six CMap Loader — Local Privesc

- Severity: Medium 6.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.32%, higher than 26% of CVEs (2026-12-01)
- Published: 2025-11-07T23:17:05.000Z
- Modified: 2026-07-08T07:38:27.593Z
- Also known as: GHSA-f83h-ghpp-7wcc, PYSEC-2026-1761
- Weaknesses: CWE-502, CWE-915
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- pdfminer-six (PyPI): before 20251230

## Every score

- CISA-ADP: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`
- GitHub: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/pdfminer/pdfminer.six/security/advisories/GHSA-f83h-ghpp-7wcc> (web)
- <https://github.com/advisories/GHSA-f83h-ghpp-7wcc> (advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-70559> (advisory)
- <https://github.com/pdfminer/pdfminer.six/commit/b808ee05dd7f0c8ea8ec34bdf394d40e63501086> (web)
- <https://github.com/pdfminer/pdfminer.six> (package)
- <https://pypi.org/project/pdfminer-six> (package)

## Sources

- CVE List: [CVE-2025-70559](https://www.cve.org/CVERecord?id=CVE-2025-70559), CVE Terms of Use, modified 2026-02-11
- GitHub Advisory Database: [GHSA-f83h-ghpp-7wcc](https://github.com/advisories/GHSA-f83h-ghpp-7wcc), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2025-70559](https://nvd.nist.gov/vuln/detail/CVE-2025-70559), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-1761](https://osv.dev/vulnerability/PYSEC-2026-1761), CC-BY-4.0, modified 2026-07-07

---

Page: https://cve.day/CVE-2025-70559 · Whole record: https://cve.day/CVE-2025-70559.json · Rebuilt by cve.day 2026-11-25T22:59:11.025Z
