Infinite loop in PyPDF - CVE-2026-59935

 

Infinite loop in PyPDF - CVE-2026-59935

Published: August 7, 2026


Vulnerability identifier: #VU141283
CSH Severity: Medium
CVSS v4: 6.7 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-59935
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 a loop with an unreachable exit condition in the inline image parser for ASCII85 and ASCIIHex filters when parsing the content stream of a page containing a not terminated inline image. A remote attacker can supply a crafted PDF file to cause a denial of service.

This issue is triggered when processing page content streams, such as during text extraction.


Affected software

PyPDF

How to mitigate CVE-2026-59935

Install security update from vendor's website.

PyPDF - update to 6.14.2

External References

Related Security Bulletins