Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2025-64512-exploit — CVE-2025-64512 - pdfminer.six Remote Code Execution Exploit | Kitploit
Tools/GitHubGitHub/mehdichyhab/cve-2025-64512-exploit
Payload GenerationVulnerability AnalysisCode AnalysisExploitationPenetration TestingLearning & Education
GitHubmehdichyhab/cve-2025-64512-exploit

CVE-2025-64512-exploit

CVE-2025-64512 - pdfminer.six Remote Code Execution Exploit

View Repository
21 month agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2025-64512 - pdfminer.six Remote Code Execution (RCE)

Python License

📋 Description

This repository contains a proof-of-concept exploit for CVE-2025-64512, a critical vulnerability in pdfminer.six versions prior to 20251107.

The vulnerability allows an attacker to achieve Remote Code Execution (RCE) by uploading a malicious PDF that triggers insecure deserialization via Python's pickle.load().

⚠️ Disclaimer

This exploit is for educational and authorized testing purposes only.
Use only on systems you own or have explicit permission to test.
The author is not responsible for any misuse.

🔍 Vulnerability Details

CVE IDCVE-2025-64512
Affected Librarypdfminer.six
Versions< 20251107
TypeRemote Code Execution (RCE)
VectorInsecure deserialization via pickle.load()

Technical Overview

The CMapDB._load_data() function in pdfminer.six loads CMap resources using pickle.loads(). A malicious PDF can specify an arbitrary path to a .pickle.gz file, which gets deserialized and executes arbitrary code.

🚀 Installation

root@kitploit:~
git clone https://github.com/MehdiChyhab/CVE-2025-64512-exploit.git
cd CVE-2025-64512-exploit
pip install -r requirements.txt
Download Tool