CVE-2025-62707Published Oct 22, 2025 · Oct 22Updated Nov 4
pypdf affected by possible infinite loop when reading DCT inline images without EOF marker
py-pdf pypdf
Medium6.6Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| pypdf PyPI |
|
|
Original 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.
From the CVE record · GitHub_M