Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
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.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2025-64512---pdfminer.six-Remote-Code-Execution-RCE- — Exploit PoC for CVE-2025-64512 targeting insecure deserialization in pdfminer.six. Generates malicious pickle payload and produces exploit PDFs for RCE via web file upload. | Kitploit
Tools/GitHubGitHub/saadhassan77/cve-2025-64512---pdfminer.six-remote-code-execution-rce-
Payload GenerationVulnerability AnalysisExploitationWeb Application ExploitationPenetration Testing
GitHubsaadhassan77/cve-2025-64512---pdfminer.six-remote-code-execution-rce-

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

Exploit PoC for CVE-2025-64512 targeting insecure deserialization in pdfminer.six. Generates malicious pickle payload and produces exploit PDFs for RCE via web file upload.

View Repository
303 months agoNot yet reviewed
Share

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

CVE-2025-64512 CVSS 8.6

WARNING – EDUCATIONAL USE ONLY

This proof-of-concept is for authorized security testing and educational purposes only.
Use only on systems you own or have explicit written permission to test. The author is not responsible for any misuse or damage caused by this code.


Description

CVE-2025-64512 is a critical vulnerability in pdfminer.six, a popular Python library for extracting text and metadata from PDF files. The flaw allows Remote Code Execution (RCE) via insecure deserialization of pickle data when processing a malicious PDF.

  • Vulnerability Type: Insecure Deserialization (CWE-502)
  • CVSS 3.1 Score: 8.6 (High)
  • Affected Versions: pdfminer.six <= 20250506
  • Patched Version: 20251107 and later

Attack Vector

The vulnerability is commonly triggered through file upload functionality in web applications that use pdfminer.six to parse uploaded PDF documents (e.g., document management systems, reporting tools, profile picture uploads accepting PDFs).


Exploitation Steps

Step 1 – Generate the malicious pickle payload

Run generate_pickle.py to create malicious.pickle.gz, which contains your reverse shell payload.

python3 generate_pickle.py

Step 2 – Generate the exploit PDF
Choose one of the two available methods:

# Method 1: /Encoding path traversal (less reliable)
python3 method1_encoding_poc.py

# Method 2: /CMap deserialization (official CVE method – RECOMMENDED)
python3 method2_cmap_poc.py
Both scripts produce exploit.pdf, which references the malicious pickle file and triggers the deserialization flaw when processed.

Step 3 – Start your listener

nc -lvnp 4444

Step 4 – Upload and execute

Navigate to the target web application's file upload feature.
Upload exploit.pdf via the web interface.
The application processes the PDF using a vulnerable version of pdfminer.six.
The pickle payload deserialises and executes, granting you a reverse shell.
Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    977
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    564
  • 3

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    352
  • 4

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    344
  • 5

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    322
  • 6

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    The system of action for AI-native cybersecurity—where intent becomes governed execution, evidence becomes operational memory, and every operation improves the next.

    308

Explore all tools

Browse our collection of tools

View all tools →