# CVE-2026-84309: pypdf: Possible infinite loop for TreeObject.insert\_child

- Priority: **Routine**
- Reason: Not severe (CVSS 6.9, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-09-01 · Modified: 2026-09-02
- Aliases: GHSA-jp53-mhqp-8xcg, PYSEC-2026-3913, UBUNTU-CVE-2026-84309, DEBIAN-CVE-2026-84309, CGA-3whp-p5jh-mpvf, CGA-3x29-2c86-2qcp, openSUSE-SU-2026:11726-1
- Record: https://cvemate.com/vulnerability/CVE-2026-84309 · JSON: https://cvemate.com/vulnerability/CVE-2026-84309/json

## Description

```text
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.
```

## Signals

- CVSS: 6.9 medium (v4.0, CVE.org) CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- EPSS: 0.177%, percentile 7.549%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- chainguard open-webui (Chainguard): \< 0.11.3-r4
- wolfi open-webui (Wolfi): \< 0.11.3-r4
- debian pypdf (Debian): All versions (No fix recorded) \| \< 6.19.0-1
- debian pypdf2 (Debian): All versions (No fix recorded)
- ubuntu pypdf (Ubuntu): All versions (No fix recorded)
- py-pdf pypdf: \< 6.16.0
- pypdf\_project pypdf: \< 6.16.0
- PyPI pypdf (PyPI): \< 6.16.0
- opensuse python-pypdf&distro=openSUSE Tumbleweed (openSUSE): \< 6.16.2-3.1

## References

- <https://github.com/py-pdf/pypdf/security/advisories/GHSA-jp53-mhqp-8xcg>
- <https://github.com/py-pdf/pypdf/pull/3964>
- <https://github.com/py-pdf/pypdf/commit/c9ba557d565d57c53a0b3a0be06c0a4c29b0559b>
- <https://github.com/py-pdf/pypdf/releases/tag/6.16.0>
- <https://github.com/py-pdf/pypdf>
- <https://pypi.org/project/pypdf>
- <https://github.com/advisories/GHSA-jp53-mhqp-8xcg>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-84309>
- <https://ubuntu.com/security/CVE-2026-84309>
- <https://www.cve.org/CVERecord?id=CVE-2026-84309>
- <https://security-tracker.debian.org/tracker/CVE-2026-84309>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/84xxx/CVE-2026-84309.json>
- <https://www.suse.com/security/cve/CVE-2026-84309>

---

Data as of 2026-12-05T08:28:31.416Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
