CVE-2026-84309
pypdf: Possible infinite loop for TreeObject.insert_child
Reported by github_m · Published September 1, 2026
pypdf is fixed in 6.16.0 (PyPI)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| pypdf | PyPI | 6.16.0 |
| open-webui | Chainguard | 0.11.3-r4 |
| open-webui | Wolfi | 0.11.3-r4 |
| pypdf | py-pdf | 6.16.0 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| py-pdf | pypdf | < 6.16.0 |
| chainguard | open-webui | 0 |
| py-pdf | pypdf | |
| wolfi | open-webui | 0 |
| PyPI | pypdf | 0 |
| py-pdf | pypdf | 0 |
Timeline
- Sep 1, 2026 CVE Published
- Sep 2, 2026 EPSS Score (10 in total, the first dated here)
- Oct 30, 2026 Security Advisory
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-84309
vulnetix vdb fixes CVE-2026-84309
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-84309/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/py-pdf/pypdf/security/advisories/GHSA-jp53-mhqp-8xcg x_refsource_CONFIRM
- https://github.com/py-pdf/pypdf/pull/3964 x_refsource_MISC
- https://github.com/py-pdf/pypdf/commit/c9ba557d565d57c53a0b3a0be06c0a4c29b0559b x_refsource_MISC
- https://github.com/py-pdf/pypdf/releases/tag/6.16.0 x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2026-84309 advisory
- https://github.com/advisories/GHSA-jp53-mhqp-8xcg advisory