{"id":"CVE-2026-113792","aliases":["GHSA-qfv9-64jg-mh7p"],"title":"pypdf: Possible infinite loop in PdfWriter.find_outline_item","summary":"pypdf: Possible infinite loop in PdfWriter.find_outline_item","severity":"medium","cvss":6,"cwe":["CWE-835"],"vendor":"pypdf","product":"pypdf","ecosystem":"pip","affected":["pypdf < 6.20.1"],"patched":["pypdf 6.20.1"],"published":"2026-10-21","updated":"2026-10-21","sourceUpdated":"2026-10-21T16:55:37Z","source":"GHSA","sourceUrl":"https://github.com/advisories/GHSA-qfv9-64jg-mh7p","references":[{"url":"https://github.com/py-pdf/pypdf/security/advisories/GHSA-qfv9-64jg-mh7p"},{"url":"https://github.com/py-pdf/pypdf/pull/4188"},{"url":"https://github.com/py-pdf/pypdf/commit/c9c35b4471c2eb5fe078094f6c816e69d4ed25a0"},{"url":"https://github.com/py-pdf/pypdf/releases/tag/6.20.1"},{"url":"https://github.com/advisories/GHSA-qfv9-64jg-mh7p"}],"tags":["ghsa","pip","cve.org"],"cvssVector":"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","cvssSource":"cna","ingestedAt":"2026-10-21T16:05:17.682Z","slug":"CVE-2026-113792","body":"## Overview\n\n### 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).\n\n## Affected packages\n\n- `pypdf < 6.20.1`\n\n## Remediation\n\nUpgrade to a patched release:\n\n- `pypdf 6.20.1`","depth":"sunlit","depthScore":33,"depthScoreParts":{"impact":33,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}