CVE Catalog

CVE-2025-66019

MediumCVSS 6.6
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.36%

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

Summary

pypdf prior to version 6.4.0 allows an attacker to craft a PDF that leads to memory usage of up to 1 GB per stream when parsing the content stream of a page using the LZWDecode filter.

Risk Assessment

An attacker could remotely cause memory exhaustion and denial of service (DoS) in an application processing PDF files.

Recommendation

Update pypdf to version 6.4.0 or later.

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.4.0, an attacker who uses this vulnerability can craft a PDF which leads to a memory usage of up to 1 GB per stream. This requires parsing the content stream of a page using the LZWDecode filter. This issue has been patched in version 6.4.0.

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