{"id":"CVE-2026-59935","aliases":["GHSA-g867-7843-wf8q","PYSEC-2026-3613"],"url":"https://o3.security/vulnerability/CVE-2026-59935","summary":"pypdf: Possible infinite loop for not terminated inline images (ASCII85 and ASCIIHex filter)","details":"### Impact\n\nAn 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.\n\n### Patches\n\nThis has been fixed in [pypdf==6.14.2](https://github.com/py-pdf/pypdf/releases/tag/6.14.2).\n\n### Workarounds\n\nIf you cannot upgrade yet, consider applying the changes from PR [#3892](https://github.com/py-pdf/pypdf/pull/3892).","published":"2026-07-08T19:34:15.078Z","modified":"2026-08-12T03:51:16.168023295Z","cvss":null,"epss":{"score":0.0062,"percentile":0.48137,"asOf":"2026-09-17"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"PyPI","name":"pypdf","fixedVersion":"6.14.2"}],"fix":{"url":"https://github.com/py-pdf/pypdf/commit/5a33a46416aa1ae6c025ff90a3cca57631fdafd2","label":"py-pdf/pypdf@5a33a46"},"references":[{"type":"WEB","url":"https://github.com/py-pdf/pypdf/releases/tag/6.14.2"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59935.json"},{"type":"ADVISORY","url":"https://github.com/py-pdf/pypdf/security/advisories/GHSA-g867-7843-wf8q"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59935"},{"type":"FIX","url":"https://github.com/py-pdf/pypdf/commit/5a33a46416aa1ae6c025ff90a3cca57631fdafd2"},{"type":"FIX","url":"https://github.com/py-pdf/pypdf/pull/3892"},{"type":"PACKAGE","url":"https://github.com/py-pdf/pypdf"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:16.168023295Z"}}