Infinite Loop Vulnerability in pypdf Library by PyPDF
CVE-2025-62707
6.6MEDIUM
What is CVE-2025-62707?
The pypdf library, a pure-Python PDF manipulation tool, has a vulnerability that can be exploited to create PDF files leading to an infinite loop during content stream parsing. Specifically, this occurs when handling an inline image with the DCTDecode filter. This issue was addressed in version 6.1.3, mitigating the potential for denial of service by preventing the loop from occurring in the parsing process.
Affected Version(s)
pypdf < 6.1.3