pdfminer.six vulnerable to Arbitrary Code Execution via Crafted PDF Input
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| pdfminer | pdfminer.six | affected |
|
Configuration 1 [-]
|
Configuration 2 [-]
|
No data.
| Vendor | Product | Versions |
|---|---|---|
| Pdfminer | Pdfminer.six | — |
| Source | ID | Title |
|---|---|---|
Debian DLA |
DLA-4374-1 | pdfminer security update |
Debian DLA |
DLA-4374-2 | pdfminer security update |
Debian DSA |
DSA-6062-1 | pdfminer security update |
Github GHSA |
GHSA-wf5f-4jwr-ppcp | Arbitrary Code Execution in pdfminer.six via Crafted PDF Input |
Ubuntu USN |
USN-8837-1 | pdfminer vulnerabilities |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.334% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Debian
Debian debian Linux |
|
| CPEs | cpe:2.3:a:pdfminer:pdfminer.six:*:*:*:*:*:*:*:* cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* |
|
| Vendors & Products |
Debian
Debian debian Linux |
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Pdfminer
Pdfminer pdfminer.six |
|
| Vendors & Products |
Pdfminer
Pdfminer pdfminer.six |
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | pdfminer.six vulnerable to Arbitrary Code Execution via Crafted PDF Input | |
| Weaknesses | CWE-502 | |
| References |
| |
| Metrics |
cvssV3_1
|