CVE Catalog

CVE-2025-62708

HighCVSS 7.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.44%

37th percentile - higher than 37% of all known CVEs

Summary

The pypdf library before version 6.1.3 is vulnerable to an attack causing large memory usage. An attacker can craft a PDF that, when parsing the content stream of a page using the LZWDecode filter, leads to excessive memory consumption. This has been fixed in version 6.1.3.

Risk Assessment

Processing malicious PDF files can lead to memory exhaustion, potentially causing application or service crashes that rely on the pypdf library.

Recommendation

Update the pypdf library to version 6.1.3 or later to avoid the risk of excessive memory usage.

Other vulnerabilities in pypdf

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS