{"id":"CVE-2026-113793","published":"2026-10-21T15:57:55Z","modified":"2026-10-28T17:01:30Z","title":"pypdf: Possible infinite loop when removing tree items","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, removing an object from a crafted cyclic PDF tree, such as an outline item, 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.00407,"percentile":0.26599,"provenance":"source"},"cwes":[{"id":"CWE-835","name":"Loop with Unreachable Exit Condition"}],"references":[{"url":"https://github.com/py-pdf/pypdf/security/advisories/GHSA-9mx8-4j7g-633p","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":9.5,"factors":[{"name":"EPSS percentile","points":5.32},{"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-28T16:51:43.110456Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"pypdf","vulnerableRanges":["<6.20.1"],"patched":["6.20.1"],"from":["GHSA-9mx8-4j7g-633p"],"provenance":"source"}],"summary":{"text":"pypdf, a pure-Python PDF library from py-pdf, can enter an infinite loop when an object is removed from a crafted cyclic PDF tree, such as an outline item. An attacker who can get a maliciously crafted PDF processed by an application using this function can block the current process, and this requires user interaction (the PDF must be opened or processed) and an attack vector with network reachability, with no authentication needed.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:51:01Z"},"euvd":{"id":"EUVD-2026-107334","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-py-pdf-pypdf-cve-2023-46250","parents":[{"from":"CVE-2026-84309","to":"CVE-2026-113793","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-113793","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-113794","published":"2026-10-21","fixed":"6.20.0","kev":false,"link":{"from":"CVE-2026-113794","to":"CVE-2026-113793","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},{"cve":"CVE-2026-113790","published":"2026-10-21","fixed":"6.21.0","kev":false},{"cve":"CVE-2026-113791","published":"2026-10-21","fixed":"6.21.0","kev":false}],"package":"PyPI:pypdf"}}