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.
References
| Link | Resource |
|---|---|
| https://github.com/py-pdf/pypdf/commit/c9ba557d565d57c53a0b3a0be06c0a4c29b0559b | Patch |
| https://github.com/py-pdf/pypdf/pull/3964 | Patch |
| https://github.com/py-pdf/pypdf/releases/tag/6.16.0 | Release Notes |
| https://github.com/py-pdf/pypdf/security/advisories/GHSA-jp53-mhqp-8xcg | Patch Vendor Advisory |
Configurations
History
05 Oct 2026, 17:42
| Type | Values Removed | Values Added |
|---|---|---|
| First Time |
Pypdf Project
Pypdf Project pypdf |
|
| CVSS |
v2 : v3 : |
v2 : unknown
v3 : 5.5 |
| CPE | cpe:2.3:a:pypdf_project:pypdf:*:*:*:*:*:*:*:* | |
| References | () https://github.com/py-pdf/pypdf/commit/c9ba557d565d57c53a0b3a0be06c0a4c29b0559b - Patch | |
| References | () https://github.com/py-pdf/pypdf/pull/3964 - Patch | |
| References | () https://github.com/py-pdf/pypdf/releases/tag/6.16.0 - Release Notes | |
| References | () https://github.com/py-pdf/pypdf/security/advisories/GHSA-jp53-mhqp-8xcg - Patch, Vendor Advisory |
Information
Published : 2026-09-01 20:17
Updated : 2026-10-05 17:42
NVD link : CVE-2026-84309
Mitre link : CVE-2026-84309
CVE.ORG link : CVE-2026-84309
JSON object : View
Products Affected
pypdf_project
- pypdf
CWE
CWE-835
Loop with Unreachable Exit Condition ('Infinite Loop')
