ADVISORIES

Vulnerability

CVE-2025-70559

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.

8 advisories report this vulnerability, across 4 ecosystems.

Advisories in PyPI

  • GHSA-f83h-ghpp-7wcc

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

    High CVE-2025-70559 PyPI Updated 8 July 2026
  • PYSEC-2026-1761

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

    CVE-2025-70559 PyPI Updated 7 July 2026

References