Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2025-64512— pdfminer.six vulnerable to Arbitrary Code Execution via Crafted PDF Input

Quick assessment

Affected
pdfminer pdfminer.six
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

pdfminer.six是pdfminer开源的一款用于从PDF文档中提取信息的工具。 pdfminer.six 20251107之前版本存在代码问题漏洞,该漏洞源于CMapDB._load_data函数使用pickle.loads反序列化恶意pickle文件,可能导致执行任意代码。

CVSS 8.6 · High EPSS 0.31% · P24
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2025-64512

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
pdfminer.six vulnerable to Arbitrary Code Execution via Crafted PDF Input
Source: CVE Program / CVE List V5
Vulnerability Description
Pdfminer.six is a community maintained fork of the original PDFMiner, a tool for extracting information from PDF documents. Prior to version 20251107, pdfminer.six will execute arbitrary code from a malicious pickle file if provided with a malicious PDF file. The `CMapDB._load_data()` function in pdfminer.six uses `pickle.loads()` to deserialize pickle files. These pickle files are supposed to be part of the pdfminer.six distribution stored in the `cmap/` directory, but a malicious PDF can specify an alternative directory and filename as long as the filename ends in `.pickle.gz`. A malicious, zipped pickle file can then contain code which will automatically execute when the PDF is processed. Version 20251107 fixes the issue.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
可信数据的反序列化
Source: CVE Program / CVE List V5
Vulnerability Title
pdfminer.six 代码问题漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
pdfminer.six是pdfminer开源的一款用于从PDF文档中提取信息的工具。 pdfminer.six 20251107之前版本存在代码问题漏洞,该漏洞源于CMapDB._load_data函数使用pickle.loads反序列化恶意pickle文件,可能导致执行任意代码。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
pdfminer pdfminer.six < 20251107 -

II. Public POCs for CVE-2025-64512

# POC Description Source Link Shenlong Link
1 A Proof-of-Concept for CVE-2025-64512 using a polyglot file. https://github.com/luigigubello/CVE-2025-64512-Polyglot-PoC POC Details
AI-Generated POC Premium
Qwen3.6-35B-A3B · 8330 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2025-64512

登录查看更多情报信息。

Patches & Fixes for CVE-2025-64512 (1)

Vendor Advisories for CVE-2025-64512 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2025-64512

No comments yet


Leave a comment