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.
CVE-2026-59935
This high-severity CVE scores 8.7 under the CNA's CVSS (NVD's own analysis pending). EPSS exploit-prediction score not yet available (the EPSS model rescores nightly; freshly-published CVEs typically appear within 48 hours). GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High severity, but no confirmed exploitation yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 8.7
- EG Score
- 8.7(low)
- EPSS
- —
- KEV
- Not listed
Published
July 8, 2026
Last Modified
July 8, 2026
Advisory Details (4)
Auto-updated Jul 8, 2026Possible infinite loop for not terminated inline images (ASCII85 and ASCIIHex filter) · Advisory · py-pdf/pypdf · GitHub
https://github.com/py-pdf/pypdf/security/advisories/GHSA-g867-7843-wf8qVersion 6.14.2, 2026-06-23
Patch available: py-pdf/pypdf 6.14.2
https://github.com/py-pdf/pypdf/releases/tag/6.14.2SEC: Avoid infinite loops for incomplete ASCII85 and ASCIIHex inline images
Patch available: py-pdf/pypdf 6.14.2 (PR #3892 merged 2026-06-23)
https://github.com/py-pdf/pypdf/pull/3892commit 5a33a46416aa (py-pdf/pypdf)
Patch available: py-pdf/pypdf 6.14.2 (contains commit 5a33a46416aa)
https://github.com/py-pdf/pypdf/commit/5a33a46416aa1ae6c025ff90a3cca57631fdafd2Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 2× in last 7d / 2× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-08 19:46 UTCEG score recompute
- 2026-07-08 19:44 UTCMITRE cvelistV5first tracked
Frequently asked(4)
What is CVE-2026-59935?
When was CVE-2026-59935 disclosed?
What is the CVSS score of CVE-2026-59935?
How do I remediate CVE-2026-59935?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2026-59935
Is Your Infrastructure Affected by CVE-2026-59935?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.