Memory Resource Exhaustion in PyPDF Library by PyPDF Team
CVE-2025-66019
6.6MEDIUM
What is CVE-2025-66019?
The pypdf library, a popular open-source PDF processing tool, is susceptible to a memory exhaustion vulnerability. Attackers can exploit this flaw by crafting a malicious PDF document that, when processed, may consume excessive memory—up to 1 GB—for each content stream that utilizes the LZWDecode filter. This vulnerability potentially disrupts system performance and stability. Users are urged to upgrade to version 6.4.0, where this issue has been addressed, to safeguard against such exploits.
Affected Version(s)
pypdf < 6.4.0
