Deserialization of Untrusted Data in pdfminer.six - CVE-2025-64512

 

Deserialization of Untrusted Data in pdfminer.six - CVE-2025-64512

Published: November 27, 2025 / Updated: January 9, 2026


Vulnerability identifier: #VU118799
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/U:Amber
CVE-ID: CVE-2025-64512
CWE-ID: CWE-502
Exploitation vector: Remote access
Exploit availability: Public exploit is available
Vendor: pdfminer
Affected software:
pdfminer.six

Detailed vulnerability description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to insecure input validation when processing serialized data in CMapDB._load_data(). A remote attacker can trick the victim into opening a specially crafted PDF file and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


How to mitigate CVE-2025-64512

Install updates from vendor's website.

Sources