{"id":"CVE-2026-84309","aliases":["GHSA-jp53-mhqp-8xcg","PYSEC-2026-3913"],"url":"https://o3.security/vulnerability/CVE-2026-84309","summary":"pypdf: Possible infinite loop for TreeObject.insert_child","details":"### Impact\n\nAn attacker who uses this vulnerability can craft a PDF which leads to an infinite loop. This requires a (usually writing) code path where `TreeObject.insert_child` is involved.\n\n### Patches\n\nThis has been fixed in [pypdf==6.16.0](https://github.com/py-pdf/pypdf/releases/tag/6.16.0).\n\n### Workarounds\n\nIf you cannot upgrade yet, consider applying the changes from PR [#3964](https://github.com/py-pdf/pypdf/pull/3964).","published":"2026-09-01T19:58:46.266Z","modified":"2026-10-07T02:47:33.618313597Z","cvss":null,"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[{"ecosystem":"PyPI","name":"pypdf","fixedVersion":"6.16.0"}],"fix":{"url":"https://github.com/py-pdf/pypdf/commit/c9ba557d565d57c53a0b3a0be06c0a4c29b0559b","label":"py-pdf/pypdf@c9ba557"},"references":[{"type":"WEB","url":"https://github.com/py-pdf/pypdf/releases/tag/6.16.0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/84xxx/CVE-2026-84309.json"},{"type":"ADVISORY","url":"https://github.com/py-pdf/pypdf/security/advisories/GHSA-jp53-mhqp-8xcg"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-84309"},{"type":"FIX","url":"https://github.com/py-pdf/pypdf/commit/c9ba557d565d57c53a0b3a0be06c0a4c29b0559b"},{"type":"FIX","url":"https://github.com/py-pdf/pypdf/pull/3964"},{"type":"PACKAGE","url":"https://github.com/py-pdf/pypdf"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-10-07T02:47:33.618313597Z"}}