{"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":"pypdf is a free and open-source pure-python PDF library. Prior to 6.7.1, an 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. This vulnerability is fixed in 6.7.1.","published":"2026-02-20T21:10:07.864Z","modified":"2026-07-15T01:49:17.338879309Z","cvss":null,"epss":null,"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"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-15T01:49:17.338879309Z"}}