
CVE catalog
CVE-2025-64512
pdfminer vulnerabilities
- Severity
- High · CVSS 8.6
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.33% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | pdfminer | sid | 20260107+dfsg-1 | fixed |
| Debian | pdfminer | forky | 20260107+dfsg-1 | fixed |
| Debian | pdfminer | trixie | 20221105+dfsg-1.1~deb13u1 | fixed |
| Debian | pdfminer | trixie-security | 20221105+dfsg-1.1~deb13u1 | fixed |
| Debian | pdfminer | bookworm | 20221105+dfsg-1.1~deb12u1 | fixed |
| Debian | pdfminer | bookworm-security | 20221105+dfsg-1.1~deb12u1 | fixed |
| PyPI | pdfminer-six | Not reported | 20251107 | fixed |
| PyPI | pdfminer-six | Not reported | 20251107 | fixed |
| Ubuntu | pdfminer | noble | 20221105+dfsg-1ubuntu0.1~esm1 | fixed |
| Ubuntu | pdfminer-data | noble | 20221105+dfsg-1ubuntu0.1~esm1 | fixed |
| Ubuntu | python3-pdfminer | noble | 20221105+dfsg-1ubuntu0.1~esm1 | fixed |
| Ubuntu | pdfminer | pro | 20221105+dfsg-1 | vulnerable |
| Ubuntu | pdfminer | pro | 20221105+dfsg-1ubuntu0.1~esm1 | fixed |
| Ubuntu | pdfminer | pro | 20221105+dfsg-1 | vulnerable |
| Ubuntu | pdfminer | pro | 20221105+dfsg-1ubuntu0.1~esm1 | fixed |
| Ubuntu | pdfminer | 25.10 | 20221105+dfsg-1 | vulnerable |
| Opensuse | python-pdfminer.six | tumbleweed | 20251107-1.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | pdfminer | source | sid | 20221105+dfsg-1.1 | not yet assigned | Not reported | [1120642] |
| Debian | pdfminer | source | forky | 20221105+dfsg-1.1 | not yet assigned | Not reported | [1120642] |
| Debian | pdfminer | source | trixie | 20221105+dfsg-1.1~deb13u1 | not yet assigned | Not reported | [1120642] |
| Debian | pdfminer | source | bookworm | 20221105+dfsg-1.1~deb12u1 | not yet assigned | Not reported | [1120642] |
| PyPI | pdfminer-six | PyPI | Not reported | 20251107 | Not reported | GHSA-WF5F-4JWR-PPCP | Not reported |
| PyPI | pdfminer-six | PyPI | Not reported | 20251107 | Not reported | PYSEC-2026-1762 | Not reported |
| Ubuntu | pdfminer | deb | noble | 20221105+dfsg-1ubuntu0.1~esm1 | Not reported | Not reported | Not reported |
| Ubuntu | pdfminer-data | deb | noble | 20221105+dfsg-1ubuntu0.1~esm1 | Not reported | Not reported | Not reported |
| Ubuntu | python3-pdfminer | deb | noble | 20221105+dfsg-1ubuntu0.1~esm1 | Not reported | Not reported | Not reported |
| Ubuntu | pdfminer | deb | pro | 20221105+dfsg-1ubuntu0.1~esm1 | Not reported | USN-8837-1 | Not reported |
| Ubuntu | pdfminer | deb | pro | 20221105+dfsg-1ubuntu0.1~esm1 | Not reported | UBUNTU-CVE-2025-64512 | Not reported |
| Opensuse | python-pdfminer.six | rpm | tumbleweed | 20251107-1.1 | Not reported | OPENSUSE-SU-2025:15727-1 | Not reported |
OpenFactory catalog packages
[openSUSE Tumbleweed]
- [python313-pdfminer.six]Unknown
Source package: [python-pdfminer.six]
Details (1)
20260107-1.3· noarch · tumbleweedUnknown · Fixed:
20251107-1.1Version impact unknown
usn · python-pdfminer.six · opensuse · tumbleweed
- [python314-pdfminer.six]Unknown
Source package: [python-pdfminer.six]
Details (1)
20260107-1.3· noarch · tumbleweedUnknown · Fixed:
20251107-1.1Version impact unknown
usn · python-pdfminer.six · opensuse · tumbleweed
[Debian 12 (Bookworm)]
- [pdfminer-data]Fixed
Source package: [pdfminer]
Details (4)
20221105+dfsg-1.1~deb12u1· all · bookwormFixed · Fixed:
20221105+dfsg-1.1~deb12u1usn · pdfminer · debian · bookworm; usn · pdfminer · debian · 12
20221105+dfsg-1.1~deb12u1· all · bookwormFixed · Fixed:
20221105+dfsg-1.1~deb12u1usn · pdfminer · debian · bookworm; usn · pdfminer · debian · 12
20221105+dfsg-1.1~deb12u1· all · bookworm-securityFixed · Fixed:
20221105+dfsg-1.1~deb12u1usn · pdfminer · debian · bookworm; usn · pdfminer · debian · 12
20221105+dfsg-1.1~deb12u1· all · bookworm-securityFixed · Fixed:
20221105+dfsg-1.1~deb12u1usn · pdfminer · debian · bookworm; usn · pdfminer · debian · 12
- [python3-pdfminer]Fixed
Source package: [pdfminer]
Details (4)
20221105+dfsg-1.1~deb12u1· all · bookwormFixed · Fixed:
20221105+dfsg-1.1~deb12u1usn · pdfminer · debian · bookworm; usn · pdfminer · debian · 12
20221105+dfsg-1.1~deb12u1· all · bookwormFixed · Fixed:
20221105+dfsg-1.1~deb12u1usn · pdfminer · debian · bookworm; usn · pdfminer · debian · 12
20221105+dfsg-1.1~deb12u1· all · bookworm-securityFixed · Fixed:
20221105+dfsg-1.1~deb12u1usn · pdfminer · debian · bookworm; usn · pdfminer · debian · 12
20221105+dfsg-1.1~deb12u1· all · bookworm-securityFixed · Fixed:
20221105+dfsg-1.1~deb12u1usn · pdfminer · debian · bookworm; usn · pdfminer · debian · 12
[Debian 13 (Trixie)]
- [pdfminer-data]Fixed
Source package: [pdfminer]
Details (4)
20221105+dfsg-1.1~deb13u1· all · trixieFixed · Fixed:
20221105+dfsg-1.1~deb13u1usn · pdfminer · debian · 13
20221105+dfsg-1.1~deb13u1· all · trixieFixed · Fixed:
20221105+dfsg-1.1~deb13u1usn · pdfminer · debian · 13
20221105+dfsg-1.1~deb13u1· all · trixie-securityFixed · Fixed:
20221105+dfsg-1.1~deb13u1usn · pdfminer · debian · 13
20221105+dfsg-1.1~deb13u1· all · trixie-securityFixed · Fixed:
20221105+dfsg-1.1~deb13u1usn · pdfminer · debian · 13
- [python3-pdfminer]Fixed
Source package: [pdfminer]
Details (4)
20221105+dfsg-1.1~deb13u1· all · trixieFixed · Fixed:
20221105+dfsg-1.1~deb13u1usn · pdfminer · debian · 13
20221105+dfsg-1.1~deb13u1· all · trixieFixed · Fixed:
20221105+dfsg-1.1~deb13u1usn · pdfminer · debian · 13
20221105+dfsg-1.1~deb13u1· all · trixie-securityFixed · Fixed:
20221105+dfsg-1.1~deb13u1usn · pdfminer · debian · 13
20221105+dfsg-1.1~deb13u1· all · trixie-securityFixed · Fixed:
20221105+dfsg-1.1~deb13u1usn · pdfminer · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2025_15727-1.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2025-64512]
- [https://osv.dev/vulnerability/DLA-4374-1]
- [https://osv.dev/vulnerability/DSA-6062-1]
- [https://osv.dev/vulnerability/PYSEC-2026-1762]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2025-64512]
- [https://osv.dev/vulnerability/USN-8837-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2025:15727-1]
- [https://security-tracker.debian.org/tracker/CVE-2025-64512]
- [https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-64512.json]
- [https://ubuntu.com/security/notices/USN-8837-1]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX] · [Ubuntu Security Notices (USN)]