{"id":"CVE-2026-113792","aliases":["CVE-2026-113792","GHSA-qfv9-64jg-mh7p"],"related":[],"kind":"vulnerability","state":"published","title":"pypdf: Possible infinite loop in PdfWriter.find_outline_item","summary":"pypdf is a free and open-source pure-python PDF library. Prior to 6.20.1, calling PdfWriter.find_outline_item on a crafted PDF with a cyclic outline hierarchy can enter an infinite loop and block the current process. This issue is fixed in version 6.20.1.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"pypdf is a free and open-source pure-python PDF library. Prior to 6.20.1, calling PdfWriter.find_outline_item on a crafted PDF with a cyclic outline hierarchy can enter an infinite loop and block the current process. This issue is fixed in version 6.20.1.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nAn attacker who uses this vulnerability can craft a PDF which leads to an infinite loop. This requires calling `find_outline_item` on a `PdfWriter`.\n\n### Patches\n\nThis has been fixed in [pypdf==6.20.1](https://github.com/py-pdf/pypdf/releases/tag/6.20.1).\n\n### Workarounds\n\nIf you cannot upgrade yet, consider applying the changes from PR [#4188](https://github.com/py-pdf/pypdf/pull/4188).","format":"markdown","source":"ghsa"}],"published":"2026-10-21T15:55:55.976Z","modified":"2026-11-05T21:31:38.243Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","score":6,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","score":6,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L","score":3.3,"rating":"LOW"}],"cwes":["CWE-835"],"affected":[{"ranges":[{"version":"< 6.20.1","status":"affected"}],"vendor":"py-pdf","product":"pypdf","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"6.20.1"}],"ecosystem":"PyPI","package":"pypdf","purl":"pkg:pypi/pypdf","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"6.20.1"}],"vendor":"py-pdf","product":"pypdf","cpe":"cpe:2.3:a:py-pdf:pypdf:*:*:*:*:*:python:*:*","source":"nvd"}],"references":[{"url":"https://github.com/py-pdf/pypdf/security/advisories/GHSA-qfv9-64jg-mh7p","tags":["vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/py-pdf/pypdf/pull/4188","tags":["issue-tracking","patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/py-pdf/pypdf/commit/c9c35b4471c2eb5fe078094f6c816e69d4ed25a0","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/py-pdf/pypdf/releases/tag/6.20.1","tags":["release-notes","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/py-pdf/pypdf","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-10-23T14:47:49.323Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-113792","url":"https://www.cve.org/CVERecord?id=CVE-2026-113792","licence":"CVE Terms of Use","modified":"2026-10-23T15:12:47.568Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-qfv9-64jg-mh7p","url":"https://github.com/advisories/GHSA-qfv9-64jg-mh7p","licence":"CC-BY-4.0","modified":"2026-10-21T17:00:06.238Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-113792","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-113792","licence":"Public domain","modified":"2026-11-05T21:31:38.243Z"}],"updatedAt":"2026-11-25T22:59:46.616Z","epss":{"score":0.00338,"percentile":0.29156,"date":"2026-12-01T12:00:22.000Z"}}