CVE-2026-84309

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:py-pdf:pypdf:*:*:*:*:*:*:*:*

History

02 Nov 2026, 16:06

Type Values Removed Values Added
CPE cpe:2.3:a:pypdf_project:pypdf:*:*:*:*:*:*:*:* cpe:2.3:a:py-pdf:pypdf:*:*:*:*:*:*:*:*
First Time Py-pdf
Py-pdf pypdf

05 Oct 2026, 17:42

Type Values Removed Values Added
CPE cpe:2.3:a:pypdf_project:pypdf:*:*:*:*:*:*:*:*
References () https://github.com/py-pdf/pypdf/commit/c9ba557d565d57c53a0b3a0be06c0a4c29b0559b - () https://github.com/py-pdf/pypdf/commit/c9ba557d565d57c53a0b3a0be06c0a4c29b0559b - Patch
References () https://github.com/py-pdf/pypdf/pull/3964 - () https://github.com/py-pdf/pypdf/pull/3964 - Patch
References () https://github.com/py-pdf/pypdf/releases/tag/6.16.0 - () 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 - () https://github.com/py-pdf/pypdf/security/advisories/GHSA-jp53-mhqp-8xcg - Patch, Vendor Advisory
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5
First Time Pypdf Project pypdf
Pypdf Project

01 Sep 2026, 20:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-09-01 20:17

Updated : 2026-11-02 16:06


NVD link : CVE-2026-84309

Mitre link : CVE-2026-84309

CVE.ORG link : CVE-2026-84309


JSON object : View

Products Affected

py-pdf

  • pypdf
CWE
CWE-835

Loop with Unreachable Exit Condition ('Infinite Loop')