{"id":"CVE-2026-113792","published":"2026-10-21T15:55:55Z","modified":"2026-10-23T15:12:47Z","title":"pypdf: Possible infinite loop in PdfWriter.find_outline_item","vendor":"py-pdf","product":"pypdf","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6,"severity":"MEDIUM","version":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00366,"percentile":0.22638,"provenance":"source"},"cwes":[{"id":"CWE-835","name":"Loop with Unreachable Exit Condition"}],"references":[{"url":"https://github.com/py-pdf/pypdf/security/advisories/GHSA-qfv9-64jg-mh7p","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/py-pdf/pypdf/pull/4188","tags":["x_refsource_MISC"]},{"url":"https://github.com/py-pdf/pypdf/commit/c9c35b4471c2eb5fe078094f6c816e69d4ed25a0","tags":["x_refsource_MISC"]},{"url":"https://github.com/py-pdf/pypdf/releases/tag/6.20.1","tags":["x_refsource_MISC"]}],"priority":{"score":8.7,"factors":[{"name":"EPSS percentile","points":4.53},{"name":"CVSS severity","points":4.2}]},"vendorSlug":"py-pdf","affectedVersions":[{"vendor":"py-pdf","product":"pypdf","versions":["< 6.20.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-23T14:47:49.323625Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"pypdf","vulnerableRanges":["<6.20.1"],"patched":["6.20.1"],"from":["GHSA-qfv9-64jg-mh7p"],"provenance":"source"}],"summary":{"text":"pypdf, a pure-Python PDF library, has a flaw in PdfWriter.find_outline_item where a crafted PDF containing a cyclic outline hierarchy can cause the function to enter an infinite loop. An attacker who can supply a malicious PDF to an application that calls this method, with user interaction required to open or process the file, can block the current process and deny service, with no confidentiality or integrity impact.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:51:01Z"},"euvd":{"id":"EUVD-2026-107333","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-py-pdf-pypdf-cve-2023-46250","parents":[{"from":"CVE-2026-84309","to":"CVE-2026-113792","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["pypdf/generic/_data_structures.py"],"commits":["https://github.com/py-pdf/pypdf/commit/c9c35b4471c2eb5fe078094f6c816e69d4ed25a0","https://github.com/py-pdf/pypdf/commit/c9ba557d565d57c53a0b3a0be06c0a4c29b0559b"],"basis":"shared function","functions":["insert_child"]}]}],"children":[{"from":"CVE-2026-113792","to":"CVE-2026-119207","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["pypdf/_writer.py"],"commits":["https://github.com/py-pdf/pypdf/commit/c9c35b4471c2eb5fe078094f6c816e69d4ed25a0","https://github.com/py-pdf/pypdf/commit/64270258c0eced720f7960aecf8cef31afd39f8d"],"basis":"shared function","functions":["insert_child"]}]}],"packageHistory":[{"cve":"CVE-2026-103000","published":"2026-09-30","fixed":"6.19.0","kev":false},{"cve":"CVE-2026-113794","published":"2026-10-21","fixed":"6.20.0","kev":false,"link":{"from":"CVE-2026-113794","to":"CVE-2026-113792","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:pypdf","fromFixed":"6.20.0","toFixed":"6.20.1","daysApart":0}]}},{"cve":"CVE-2026-113795","published":"2026-10-21","fixed":"6.20.0","kev":false},{"cve":"CVE-2026-113792","published":"2026-10-21","fixed":"6.20.1","kev":false},{"cve":"CVE-2026-113793","published":"2026-10-21","fixed":"6.20.1","kev":false},{"cve":"CVE-2026-113789","published":"2026-10-21","fixed":"6.21.0","kev":false,"link":{"from":"CVE-2026-113792","to":"CVE-2026-113789","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:pypdf","fromFixed":"6.20.1","toFixed":"6.21.0","daysApart":0}]}},{"cve":"CVE-2026-113790","published":"2026-10-21","fixed":"6.21.0","kev":false,"link":{"from":"CVE-2026-113792","to":"CVE-2026-113790","relation":"successor","confidence":"high","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:pypdf","fromFixed":"6.20.1","toFixed":"6.21.0","daysApart":0},{"kind":"same-code","provenance":"machine","files":["pypdf/generic/_data_structures.py"],"commits":["https://github.com/py-pdf/pypdf/commit/18bd2981a74479483a0b9507602c58a63d6c9b12","https://github.com/py-pdf/pypdf/commit/c9c35b4471c2eb5fe078094f6c816e69d4ed25a0"],"basis":"shared file"}]}},{"cve":"CVE-2026-113791","published":"2026-10-21","fixed":"6.21.0","kev":false,"link":{"from":"CVE-2026-113792","to":"CVE-2026-113791","relation":"successor","confidence":"high","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:pypdf","fromFixed":"6.20.1","toFixed":"6.21.0","daysApart":0},{"kind":"same-code","provenance":"machine","files":["pypdf/generic/_data_structures.py"],"commits":["https://github.com/py-pdf/pypdf/commit/18bd2981a74479483a0b9507602c58a63d6c9b12","https://github.com/py-pdf/pypdf/commit/c9c35b4471c2eb5fe078094f6c816e69d4ed25a0"],"basis":"shared file"}]}}],"package":"PyPI:pypdf"}}