CVE-2026-119203High▾ Twilightpypdf has possible infinite loop when hitting EOF in standard xref table during trailer search
▾ 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.
Disclosure to exploitation, from the record and what we observed since indexing it.
Disclosed via OSV
0.3%
An attacker who uses this vulnerability can craft a PDF which leads to an infinite loop. This requires opening an incomplete file without a trailer.
This has been fixed in pypdf==6.21.4.
If you cannot upgrade yet, consider applying the changes from PR #4289.
pypdf < 6.21.4Upgrade to a patched release:
pypdf 6.21.4Connected by shared product, vendor, weakness, or advisory.
CVE-2026-119205Highpypdf has possible infinite loop when cloning dictionaries
CVE-2026-119204Highpypdf has possible large memory usage when parsing page tree
CVE-2026-113793Medium· 6.0pypdf: Possible infinite loop when removing tree items
CVE-2026-113792Medium· 6.0pypdf: Possible infinite loop in PdfWriter.find_outline_item
CVE-2026-113794Medium· 6.0pypdf: Possible infinite loop when hitting EOF in standard xref table
CVE-2026-102997High· 7.5pypdf is a free and open-source pure-python PDF library