CVE Catalog

CVE-2026-31826

MediumCVSS 5.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.18%

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

Summary

pypdf before 6.8.0 allows an attacker to craft a PDF that causes excessive memory usage. This requires parsing a content stream with a very large /Length value regardless of the actual data length.

Risk Assessment

Processing a malicious PDF can exhaust application memory and cause denial of service. The risk affects systems that parse untrusted PDF files using pypdf.

Recommendation

Update pypdf to version 6.8.0 or later. Consider limiting memory resources for processes that handle untrusted PDF files.

Other vulnerabilities in pypdf

See all
Original NVD description (English source)

pypdf is a free and open-source pure-python PDF library. Prior to 6.8.0, an attacker who uses this vulnerability can craft a PDF which leads to large memory usage. This requires parsing a content stream with a rather large /Length value, regardless of the actual data length inside the stream. This vulnerability is fixed in 6.8.0.

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