Infinite loop in PyPDF - #VU143596

 

Infinite loop in PyPDF - #VU143596

Published: August 16, 2026


Vulnerability identifier: #VU143596
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-835
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause a denial of service.

The vulnerability exists due to loop with an unreachable exit condition in TreeObject.insert_child when processing a crafted PDF through a code path that invokes the function. A remote attacker can supply a specially crafted PDF to cause a denial of service.

Exploitation requires an application code path that uses TreeObject.insert_child, typically during PDF-writing operations.


Affected software

PyPDF

Remediation

Install security update from vendor's website.

PyPDF - update to 6.16.0

External References

Related Security Bulletins