Advisory

DEBIAN-CVE-2025-64512

Also known as: CVE-2025-64512

Summary

The record has no summary.

Details

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.

Severity

High Basis: CVSS v3 score 7.8, vector CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Dates

Published
2025-11-10 22:15 UTC
Modified
2026-09-01 20:05 UTC

Affected packages and fixes

pdfminer

Debian packages (deb) · Debian 12

Affected

  • introduced 0, fixed 20221105+dfsg-1.1~deb12u1 (ecosystem)

Fixed versions

20221105+dfsg-1.1~deb12u1

Fix

  • Fixed version 20221105+dfsg-1.1~deb12u1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

pdfminer

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 20221105+dfsg-1.1~deb13u1 (ecosystem)

Fixed versions

20221105+dfsg-1.1~deb13u1

Fix

  • Fixed version 20221105+dfsg-1.1~deb13u1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

pdfminer

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 20221105+dfsg-1.1 (ecosystem)

Fixed versions

20221105+dfsg-1.1

Fix

  • Fixed version 20221105+dfsg-1.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences