CVE Catalog

CVE-2026-113791

MediumCVSS 6.0
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.39%

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

Summary

pypdf is a free and open-source pure-python PDF library. Prior to 6.21.0, an attacker can craft a PDF containing a content stream with many small operations, causing parsing to consume large amounts of memory. This issue is fixed in version 6.21.0.

Risk Assessment

An attacker can cause memory exhaustion in an application processing untrusted PDF files, leading to denial of service or process instability. This particularly affects services accepting documents from external users.

Recommendation

Upgrade pypdf to version 6.21.0 or later. Consider limiting the size and complexity of processed PDF files and isolating parsing processes.

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.21.0, an attacker can craft a PDF containing a content stream with many small operations, causing parsing to consume large amounts of memory. This issue is fixed in version 6.21.0.

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