CVE-2026-84309 json
pypdf: Possible infinite loop for TreeObject.insert_child
published 2mo ago modified 9d ago also EUVD-2026-69477 , GHSA-jp53-mhqp-8xcg , PYSEC-2026-3913
- cvss
- 5.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 8%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi pypdf 6.16.0
- py-pdf pypdf 6.16.0
- pypdf2_project pypdf2 6.16.0
- pypdf_project pypdf 6.16.0
- pypdf Debian 14 6.19.0-1
debian advisories DEBIAN-CVE-2026-84309
- python-pypdf openSUSE Tumbleweed 6.16.2-3.1
opensuse advisories openSUSE-SU-2026:11726-1
Is CVE-2026-84309 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-84309 updated cvss 5.5
pypdf: pypdf: Denial of Service via crafted PDF with cyclic tree structure
-
Red Hat Ansible Automation Orchestrator 2026 ansible-automation-platform/automation-orchestrator-backend-rhel9affected: no fix available “Fix deferred”
-
Red Hat Exploit Intelligence exploit-intelligence-tech-preview/vulnerability-analysis-rhel9affected: no fix planned “Out of support scope”
-
Red Hat Lightspeed Core lightspeed-core/rag-tool-cpu-rhel9, lightspeed-core/lightspeed-stack-rhel9, lightspeed-core/rag-tool-cuda-12.9-rhel9 Red Hat OpenShift Lightspeed openshift-lightspeed/lightspeed-ocp-rag-rhel9, openshift-lightspeed-tech-preview/lightspeed-rag-tool-rhel9affected: no fix available “Fix deferred”
-
Red Hat Ansible Automation Platform 2 ansible-automation-platform-25/lightspeed-chatbot-rhel8affected: no fix planned “Out of support scope”
-
Red Hat Enterprise Linux AI (RHEL AI) 3 rhelai3/bootc-cuda-rhel9, rhelai3/bootc-rocm-rhel9, rhelai3/bootc-gaudi-rhel9, rhelai3/disk-image-cuda-rhel9 Red Hat OpenShift AI (RHOAI) rhoai/odh-ogx-core-rhel9, rhoai/odh-llama-stack-core-rhel9affected: no fix available “Fix deferred”
-
Red Hat Quay 3 quay/quay-rhel8, quay/quay-rhel9affected: no fix available, no fix planned “Out of support scope”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2mo ago
Exploit prediction
0.19% chance of exploitation in the next 30 days, higher than 8% of all scored CVEs (FIRST EPSS, 2026-11-11).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 6.9 | 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 |
| CNA | 4.0 | 6.9 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | pypdf | <6.16.0 |
6.16.0 |
Affected products
- py-pdf pypdf
Classification
- Weakness
-
- CWE-835 Loop with Unreachable Exit Condition
References
-
github.com
/py-pdf/pypdf/pull/3964
web, patch
-
github.com
/py-pdf/pypdf/commit/c9ba557d565d57c53a0b3a0be06c0a4c29b0559b
web, patch
-
github.com
/py-pdf/pypdf/security/advisories/GHSA-jp53-mhqp-8xcg
web, patch, vendor-advisory, advisory
-
github.com
/py-pdf/pypdf/releases/tag/6.16.0
web, release-notes
-
github.com
/py-pdf/pypdf
package
-
pypi.org
/project/pypdf
package
-
github.com
/advisories/GHSA-jp53-mhqp-8xcg
advisory
-
nvd.nist.gov
/vuln/detail/CVE-2026-84309
advisory
Sources
- CVE List CVE-2026-84309
- GitHub Advisory GHSA-jp53-mhqp-8xcg
- NVD CVE-2026-84309
- OSV PYSEC-2026-3913
- Maintainer advisory GHSA-jp53-mhqp-8xcg
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
The maintainers of py-pdf/pypdf published their own advisory on GitHub. Reviewed sources take precedence over it.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.