{"id":"CVE-2026-59936","aliases":["GHSA-5xf7-4p34-54qr","PYSEC-2026-3612"],"url":"https://o3.security/vulnerability/CVE-2026-59936","summary":"pypdf: Possible infinite loop for not terminated inline images","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.\n\n### Patches\n\nThis has been fixed in [pypdf==6.14.1](https://github.com/py-pdf/pypdf/releases/tag/6.14.1).\n\n### Workarounds\n\nIf you cannot upgrade yet, consider applying the changes from PR [#3891](https://github.com/py-pdf/pypdf/pull/3891).","published":"2026-07-08T19:34:22.610Z","modified":"2026-08-27T14:10:52.179813803Z","cvss":null,"epss":{"score":0.0034,"percentile":0.27282,"asOf":"2026-09-15"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"PyPI","name":"pypdf","fixedVersion":"6.14.1"}],"fix":{"url":"https://github.com/py-pdf/pypdf/commit/ec3b14596186c40caca7cf8ab9b2155203e01b5b","label":"py-pdf/pypdf@ec3b145"},"references":[{"type":"WEB","url":"https://github.com/py-pdf/pypdf/releases/tag/6.14.1"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59936.json"},{"type":"ADVISORY","url":"https://github.com/py-pdf/pypdf/security/advisories/GHSA-5xf7-4p34-54qr"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59936"},{"type":"FIX","url":"https://github.com/py-pdf/pypdf/commit/ec3b14596186c40caca7cf8ab9b2155203e01b5b"},{"type":"FIX","url":"https://github.com/py-pdf/pypdf/pull/3891"},{"type":"PACKAGE","url":"https://github.com/py-pdf/pypdf"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-27T14:10:52.179813803Z"}}