CVE-2025-62707
High
Description
pypdf is a free and open-source pure-python PDF library. Prior to version 6.1.3, an attacker who uses this vulnerability 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. This has been fixed in pypdf version 6.1.3.
SeverityHigh
CVSS7.5
Exploit probability—
ProductPypdf
PublishedOct 22, 2025
First seenOct 22, 2025
Weakness typeCWE-834CWE-834
How to fix
Update
- pypdf_project pypdf6.1.3 or later
- pypdf6.1.3 or later
- py-pdf pypdf6.1.3 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypdf_project pypdf | v < 6.1.3 | 6.1.3 |
| pypdfPyPI | v < 6.1.3 | 6.1.3 |
| py-pdf pypdf | v < 6.1.3 | 6.1.3 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.