CVE-2025-70559
pdfminer.six before 20251230 contains an insecure deserialization …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/advisories/GHSA-f83h-ghpp-7wcc
- github.com/pdfminer/pdfminer.six/security/advisories/GHSA-f83h-ghpp-7wcc
- github.com/pdfminer/pdfminer.six/commit/b808ee05dd7f0c8ea8ec34bdf394d40e63501086
- nvd.nist.gov/vuln/detail/CVE-2025-70559
- nvd.nist.gov/vuln/detail/CVE-2025-70559
- cve.org/CVERecord?id=CVE-2025-70559
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.