ZeroDay Brief
CVE-2025-64512 Exploit code public

Prior to version 20251107, pdfminer.six will execute arbitrary code from a malicious pickle file if provided with a malicious PDF file.

CVSS
7.8High
Chance of exploitation (EPSS)
0.33%
Published
Nov 10, 2025
In the news
Not yet
Vendor advisory More from this vendor

What to do

A serious unsafe deserialization flaw in Debian Linux and Pdfminer.six that needs access to the machine itself. Exploit code is public, so patch it soon.

Action: Apply the vendor's update or follow its advisory.

Affected versions
Pdfminer.six
< 20251107

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.

CWE-502

Affected products

Get alerts for these →

Timeline 2

Latest change: frexyy8989/CVE-2025-64512-Exploit-PoC (Dec 5, 2026)

News, advisories, exploit code, scanner detection and exploitation, newest first.

Today

  1. Exploit codefrexyy8989/CVE-2025-64512-Exploit-PoCGitHub (unverified) · 18:45 UTC

Mon, Nov 10, 2025

  1. CVECVE-2025-64512 published (CVSS 7.8)CVE Program · 22:15 UTC

Exploit code

Visit at your own risk. These are third-party sites we find automatically. We do not test, review or vouch for them, and fake proof-of-concept repositories sometimes contain malware.

References 6

  • github.com Patch /pdfminer/pdfminer.six/commit/b808ee05dd7f0c8ea8ec34bdf394d40e63501086
  • github.com ExploitVendor Advisory /pdfminer/pdfminer.six/security/advisories/GHSA-wf5f-4jwr-ppcp
  • github.com ExploitVendor Advisory /pdfminer/pdfminer.six/security/advisories/GHSA-wf5f-4jwr-ppcp
  • github.com /pdfminer/pdfminer.six/releases/tag/20251107
  • lists.debian.org /debian-lts-announce/2025/11/msg00017.html
  • lists.debian.org /debian-lts-announce/2026/01/msg00005.html

You are leaving ZeroDay Brief

This link goes to exploit code on a third-party site. We find these links automatically and do not test, review or vouch for them. They may contain malware or fake exploits.

We are not responsible for anything that happens if you open the page or run its code. Never run exploit code on systems you care about.

↑ ↓ moveEnter openEsc closeTry “CVE-2026”, “fortinet” or “ivanti”