Resource Exhaustion Vulnerability in pypdf PDF Library by PyPDF
CVE-2025-62708
6.6MEDIUM
What is CVE-2025-62708?
The pypdf library, an open-source pure-Python PDF manipulation tool, is susceptible to a resource exhaustion issue due to improper handling of the LZWDecode filter in PDF content streams. Attackers can exploit this vulnerability by crafting malicious PDF files that lead to significant memory consumption during parsing, potentially resulting in degraded performance or application crashes. This vulnerability has been addressed in pypdf version 6.1.3, which contains necessary patches to prevent such attacks.
Affected Version(s)
pypdf < 6.1.3