CVE-2026-84309

published 1 Sep 2026 · updated 2 Sep 2026

pypdf: Possible infinite loop for TreeObject.insert_child

6.9MediumCVSS 6.9EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. No fixed version is recorded.

pypdf is a free and open-source pure-python PDF library. Prior to 6.16.0, an attacker can craft a PDF whose cyclic tree structure causes pypdf/generic/_data_structures.py TreeObject.insert_child to follow /Next links indefinitely when a writing code path inserts a child, producing an infinite loop. This issue is fixed in version 6.16.0.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
py-pdf<6.16.0

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-84309 severity on Zeptric[![CVE-2026-84309](https://zeptric.io/badge/cve/CVE-2026-84309.svg)](https://zeptric.io/cve/CVE-2026-84309)