Vulnerability in Py-Pdf Pypdf
CVE-2026-59935
pypdf is a free and open-source pure-python PDF library. Prior to 6.14.2, an attacker can craft a PDF with a page content stream containing a not terminated inline image that uses the ASCII85 or ASCIIHex filters, causing an infinite loop during parsing such as when extracting page text. This issue is fixed in version 6.14.2.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS: 0.006 (48.1th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 48th percentile — 48.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.006 · newest: 0.006 · change: 0.000
Affected products
- Py-Pdf Pypdf — versions < 6.14.2
- Pypdf Project
Weakness classification (CWE)
References
- github.com/py-pdf/pypdf/security/advisories/GHSA-g867-7843-wf8q (Patch, Vendor Advisory)
- github.com/py-pdf/pypdf/pull/3892 (Patch, Issue Tracking)
- github.com/py-pdf/pypdf/commit/5a33a46416aa1ae6c025ff90a3cca57631fdafd2 (Patch)
- github.com/py-pdf/pypdf/releases/tag/6.14.2 (Product, Release Notes)
Frequently asked questions
- What is CVE-2026-59935?
- CVE-2026-59935 is a high-severity vulnerability in Py-Pdf Pypdf, classified under Loop with Unreachable Exit Condition (Infinite Loop). CVSS score: 7.5/10. Published 2026-07-08.
- How severe is CVE-2026-59935?
- High severity. CVSS v3 base score is 7.5 out of 10.