Excessive Iteration in PyPDF - CVE-2025-62707

 

Excessive Iteration in PyPDF - CVE-2025-62707

Published: February 12, 2026


Vulnerability identifier: #VU122773
CSH Severity: High
CVSS v4.0: 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/E:U/U:Amber
CVE-ID: CVE-2025-62707
CWE-ID: CWE-834
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Pypdf Project
Affected software:
PyPDF

Detailed vulnerability description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to excessive iteration. A remote attacker can craft a PDF which leads to an infinite loop. This requires parsing the content stream of a page which has an inline image using the DCTDecode filter.


How to mitigate CVE-2025-62707

Install updates from vendor's website.

Sources