{"id":"CVE-2026-113792","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 …","severity":"medium","cvss":6,"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","cwe":["CWE-835"],"vendor":"py-pdf","product":"pypdf","affected":["pypdf < 6.20.1"],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-23T14:47:49.323625Z"},"published":"2026-10-21","updated":"2026-10-23","sourceUpdated":"2026-10-23T15:12:47.568Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-113792","references":[{"url":"https://github.com/py-pdf/pypdf/security/advisories/GHSA-qfv9-64jg-mh7p","label":"https://github.com/py-pdf/pypdf/security/advisories/GHSA-qfv9-64jg-mh7p"},{"url":"https://github.com/py-pdf/pypdf/pull/4188","label":"https://github.com/py-pdf/pypdf/pull/4188"},{"url":"https://github.com/py-pdf/pypdf/commit/c9c35b4471c2eb5fe078094f6c816e69d4ed25a0","label":"https://github.com/py-pdf/pypdf/commit/c9c35b4471c2eb5fe078094f6c816e69d4ed25a0"},{"url":"https://github.com/py-pdf/pypdf/releases/tag/6.20.1","label":"https://github.com/py-pdf/pypdf/releases/tag/6.20.1"},{"url":"https://github.com/py-pdf/pypdf"},{"url":"https://github.com/advisories/GHSA-qfv9-64jg-mh7p"}],"tags":["cve.org","osv","pip","ghsa"],"epss":0.00466,"epssPercentile":0.40152,"aliases":["GHSA-qfv9-64jg-mh7p"],"ecosystem":"pip","patched":["pypdf 6.20.1"],"ingestedAt":"2026-10-21T16:05:17.682Z","slug":"CVE-2026-113792","body":"## Overview\n\npypdf 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.\n\n## Affected\n\n- `pypdf < 6.20.1`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.\n\n## Package advisory (CVE-2026-113792)\n\nAffected packages:\n\n- `pypdf < 6.20.1`\n\nPatched in:\n\n- `pypdf 6.20.1`\n\nSource: https://osv.dev/vulnerability/GHSA-qfv9-64jg-mh7p","depth":"sunlit","depthScore":33,"depthScoreParts":{"impact":33,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}