Bug 2413928 (CVE-2025-64512) - CVE-2025-64512 pdfminer.six: pdfminer.six Arbitrary Code Execution via Crafted PDF Input
Summary: CVE-2025-64512 pdfminer.six: pdfminer.six Arbitrary Code Execution via Crafte...
Keywords:
Status: NEW
Alias: CVE-2025-64512
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2414288 2414287 2414289 2414290 2414291
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-11-10 23:02 UTC by OSIDB Bzimport
Modified: 2025-11-11 21:40 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-11-10 23:02:10 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.