Vulnerability
CVE-2025-62708
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 large memory usage. This requires parsing the content stream of a page using the LZWDecode filter. This has been fixed in pypdf version 6.1.3.
9 advisories report this vulnerability, across 5 ecosystems.
Advisories in PyPI
-
GHSA-jfx9-29x2-rv3j
pypdf can exhaust RAM via manipulated LZWDecode streams
-
PYSEC-2026-1831
pypdf can exhaust RAM via manipulated LZWDecode streams