CVE catalog

CVE-2025-64512

pdfminer vulnerabilities

[CVE catalog]

Severity
High · CVSS 8.6CVSS: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.

DistributionPackageReleaseVersionStatus
Debianpdfminersid20260107+dfsg-1fixed
Debianpdfminerforky20260107+dfsg-1fixed
Debianpdfminertrixie20221105+dfsg-1.1~deb13u1fixed
Debianpdfminertrixie-security20221105+dfsg-1.1~deb13u1fixed
Debianpdfminerbookworm20221105+dfsg-1.1~deb12u1fixed
Debianpdfminerbookworm-security20221105+dfsg-1.1~deb12u1fixed
PyPIpdfminer-sixNot reported20251107fixed
PyPIpdfminer-sixNot reported20251107fixed
Ubuntupdfminernoble20221105+dfsg-1ubuntu0.1~esm1fixed
Ubuntupdfminer-datanoble20221105+dfsg-1ubuntu0.1~esm1fixed
Ubuntupython3-pdfminernoble20221105+dfsg-1ubuntu0.1~esm1fixed
Ubuntupdfminerpro20221105+dfsg-1vulnerable
Ubuntupdfminerpro20221105+dfsg-1ubuntu0.1~esm1fixed
Ubuntupdfminerpro20221105+dfsg-1vulnerable
Ubuntupdfminerpro20221105+dfsg-1ubuntu0.1~esm1fixed
Ubuntupdfminer25.1020221105+dfsg-1vulnerable
Opensusepython-pdfminer.sixtumbleweed20251107-1.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianpdfminersourcesid20221105+dfsg-1.1not yet assignedNot reported[1120642]
Debianpdfminersourceforky20221105+dfsg-1.1not yet assignedNot reported[1120642]
Debianpdfminersourcetrixie20221105+dfsg-1.1~deb13u1not yet assignedNot reported[1120642]
Debianpdfminersourcebookworm20221105+dfsg-1.1~deb12u1not yet assignedNot reported[1120642]
PyPIpdfminer-sixPyPINot reported20251107Not reportedGHSA-WF5F-4JWR-PPCPNot reported
PyPIpdfminer-sixPyPINot reported20251107Not reportedPYSEC-2026-1762Not reported
Ubuntupdfminerdebnoble20221105+dfsg-1ubuntu0.1~esm1Not reportedNot reportedNot reported
Ubuntupdfminer-datadebnoble20221105+dfsg-1ubuntu0.1~esm1Not reportedNot reportedNot reported
Ubuntupython3-pdfminerdebnoble20221105+dfsg-1ubuntu0.1~esm1Not reportedNot reportedNot reported
Ubuntupdfminerdebpro20221105+dfsg-1ubuntu0.1~esm1Not reportedUSN-8837-1Not reported
Ubuntupdfminerdebpro20221105+dfsg-1ubuntu0.1~esm1Not reportedUBUNTU-CVE-2025-64512Not reported
Opensusepython-pdfminer.sixrpmtumbleweed20251107-1.1Not reportedOPENSUSE-SU-2025:15727-1Not reported

[Debian bug #1120642]

OpenFactory catalog packages

[openSUSE Tumbleweed]

  • Source package: [python-pdfminer.six]

    Details (1)
    • 20260107-1.3 · noarch · tumbleweed

      Unknown · Fixed: 20251107-1.1

      Version impact unknown

      usn · python-pdfminer.six · opensuse · tumbleweed

  • Source package: [python-pdfminer.six]

    Details (1)
    • 20260107-1.3 · noarch · tumbleweed

      Unknown · Fixed: 20251107-1.1

      Version impact unknown

      usn · python-pdfminer.six · opensuse · tumbleweed

[Debian 12 (Bookworm)]

  • Source package: [pdfminer]

    Details (4)
    • 20221105+dfsg-1.1~deb12u1 · all · bookworm

      Fixed · Fixed: 20221105+dfsg-1.1~deb12u1

      usn · pdfminer · debian · bookworm; usn · pdfminer · debian · 12

    • 20221105+dfsg-1.1~deb12u1 · all · bookworm

      Fixed · Fixed: 20221105+dfsg-1.1~deb12u1

      usn · pdfminer · debian · bookworm; usn · pdfminer · debian · 12

    • 20221105+dfsg-1.1~deb12u1 · all · bookworm-security

      Fixed · Fixed: 20221105+dfsg-1.1~deb12u1

      usn · pdfminer · debian · bookworm; usn · pdfminer · debian · 12

    • 20221105+dfsg-1.1~deb12u1 · all · bookworm-security

      Fixed · Fixed: 20221105+dfsg-1.1~deb12u1

      usn · pdfminer · debian · bookworm; usn · pdfminer · debian · 12

  • Source package: [pdfminer]

    Details (4)
    • 20221105+dfsg-1.1~deb12u1 · all · bookworm

      Fixed · Fixed: 20221105+dfsg-1.1~deb12u1

      usn · pdfminer · debian · bookworm; usn · pdfminer · debian · 12

    • 20221105+dfsg-1.1~deb12u1 · all · bookworm

      Fixed · Fixed: 20221105+dfsg-1.1~deb12u1

      usn · pdfminer · debian · bookworm; usn · pdfminer · debian · 12

    • 20221105+dfsg-1.1~deb12u1 · all · bookworm-security

      Fixed · Fixed: 20221105+dfsg-1.1~deb12u1

      usn · pdfminer · debian · bookworm; usn · pdfminer · debian · 12

    • 20221105+dfsg-1.1~deb12u1 · all · bookworm-security

      Fixed · Fixed: 20221105+dfsg-1.1~deb12u1

      usn · pdfminer · debian · bookworm; usn · pdfminer · debian · 12

[Debian 13 (Trixie)]

  • Source package: [pdfminer]

    Details (4)
    • 20221105+dfsg-1.1~deb13u1 · all · trixie

      Fixed · Fixed: 20221105+dfsg-1.1~deb13u1

      usn · pdfminer · debian · 13

    • 20221105+dfsg-1.1~deb13u1 · all · trixie

      Fixed · Fixed: 20221105+dfsg-1.1~deb13u1

      usn · pdfminer · debian · 13

    • 20221105+dfsg-1.1~deb13u1 · all · trixie-security

      Fixed · Fixed: 20221105+dfsg-1.1~deb13u1

      usn · pdfminer · debian · 13

    • 20221105+dfsg-1.1~deb13u1 · all · trixie-security

      Fixed · Fixed: 20221105+dfsg-1.1~deb13u1

      usn · pdfminer · debian · 13

  • Source package: [pdfminer]

    Details (4)
    • 20221105+dfsg-1.1~deb13u1 · all · trixie

      Fixed · Fixed: 20221105+dfsg-1.1~deb13u1

      usn · pdfminer · debian · 13

    • 20221105+dfsg-1.1~deb13u1 · all · trixie

      Fixed · Fixed: 20221105+dfsg-1.1~deb13u1

      usn · pdfminer · debian · 13

    • 20221105+dfsg-1.1~deb13u1 · all · trixie-security

      Fixed · Fixed: 20221105+dfsg-1.1~deb13u1

      usn · pdfminer · debian · 13

    • 20221105+dfsg-1.1~deb13u1 · all · trixie-security

      Fixed · Fixed: 20221105+dfsg-1.1~deb13u1

      usn · pdfminer · debian · 13

Observed:

References