{"id":"CVE-2026-27024","aliases":["GHSA-996q-pr4m-cvgq","PYSEC-2026-3013"],"url":"https://o3.security/vulnerability/CVE-2026-27024","summary":"pypdf has a possible infinite loop when processing TreeObject","details":"### Impact\n\nAn attacker who uses this vulnerability can craft a PDF which leads to an infinite loop. This requires accessing the children of a `TreeObject`, for example as part of outlines.\n\n### Patches\n\nThis has been fixed in [pypdf==6.7.1](https://github.com/py-pdf/pypdf/releases/tag/6.7.1).\n\n### Workarounds\n\nIf you cannot upgrade yet, consider applying the changes from PR [#3645](https://github.com/py-pdf/pypdf/pull/3645).","published":"2026-02-20T21:10:07.864Z","modified":"2026-08-27T14:10:51.907527055Z","cvss":null,"epss":{"score":0.00168,"percentile":0.06241,"asOf":"2026-08-25"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"PyPI","name":"pypdf","fixedVersion":"6.7.1"}],"fix":{"url":"https://github.com/py-pdf/pypdf/commit/bd2f6d052fe5941e85e37082c2a43453d48d1295","label":"py-pdf/pypdf@bd2f6d0"},"references":[{"type":"WEB","url":"https://github.com/py-pdf/pypdf/releases/tag/6.7.1"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/27xxx/CVE-2026-27024.json"},{"type":"ADVISORY","url":"https://github.com/py-pdf/pypdf/security/advisories/GHSA-996q-pr4m-cvgq"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-27024"},{"type":"FIX","url":"https://github.com/py-pdf/pypdf/commit/bd2f6d052fe5941e85e37082c2a43453d48d1295"},{"type":"FIX","url":"https://github.com/py-pdf/pypdf/pull/3645"},{"type":"PACKAGE","url":"https://github.com/py-pdf/pypdf"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-27T14:10:51.907527055Z"}}