{"id":"CVE-2026-113793","aliases":["CVE-2026-113793","GHSA-9mx8-4j7g-633p"],"related":[],"kind":"vulnerability","state":"published","title":"pypdf: Possible infinite loop when removing tree items","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","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 removing an object from a tree, for example an outline item.\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:57:55.600Z","modified":"2026-11-05T21:27:07.577Z","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:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L","score":4.3,"rating":"MEDIUM"}],"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-9mx8-4j7g-633p","tags":["patch","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-28T16:51:43.110Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-113793","url":"https://www.cve.org/CVERecord?id=CVE-2026-113793","licence":"CVE Terms of Use","modified":"2026-10-28T17:01:30.870Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-9mx8-4j7g-633p","url":"https://github.com/advisories/GHSA-9mx8-4j7g-633p","licence":"CC-BY-4.0","modified":"2026-10-21T17:00:06.245Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-113793","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-113793","licence":"Public domain","modified":"2026-11-05T21:27:07.577Z"}],"updatedAt":"2026-11-25T22:59:46.617Z","epss":{"score":0.00353,"percentile":0.31028,"date":"2026-12-01T12:00:22.000Z"}}