CVE-2026-59935High▾ Twilightpypdf: Possible infinite loop for not terminated inline images (ASCII85 and ASCIIHex filter)
▾ Twilight zone — High severity, or a signal on a lesser flaw
impact 41.3 · likelihood 0.1 · exploitation 0
Need a working PoC? Pro members can cast a request and our team develops one — it lands right here.
Exploit-prediction probability, daily snapshots since Jul 23.
Disclosure to exploitation, from the record and what we observed since indexing it.
Disclosed via OSV
0.4%
0.4% → 0.6%
Last analysed / modified upstream
An attacker who uses this vulnerability can craft a PDF which leads to an infinite loop. This requires parsing the content stream of a page with a not terminated inline image, as done when extracting the page text for example. It only affects the ASCII85 and ASCIIHex filters.
This has been fixed in pypdf==6.14.2.
If you cannot upgrade yet, consider applying the changes from PR #3892.
pypdf < 6.14.2Upgrade to a patched release:
pypdf 6.14.2Connected by shared product, vendor, weakness, or advisory.
CVE-2026-84309Mediumpypdf is a free and open-source pure-python PDF library
CVE-2026-59936Highpypdf: Possible infinite loop for not terminated inline images
CVE-2026-54530Mediumpypdf: Possible infinite loop when retrieving fonts for layout-mode text extraction
CVE-2026-54531Mediumpypdf: Possible infinite loop when processing outlines/bookmarks in writer
CVE-2026-82398Mediumpypdf is a free and open-source pure-python PDF library
CVE-2026-84311Mediumpypdf is a free and open-source pure-python PDF library