CVE Catalog

CVE-2026-41312

MediumCVSS 6.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.23%

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

Summary

In pypdf versions prior to 6.10.2, an attacker can craft a PDF that exhausts RAM. This requires accessing a stream compressed using /FlateDecode with a /Predictor unequal to 1 and large predictor parameters. This is fixed in pypdf 6.10.2.

Risk Assessment

A malicious PDF can exhaust memory and cause denial of service in the application. The risk applies to systems processing untrusted PDF files.

Recommendation

Update pypdf to version 6.10.2 or later. As a workaround, manually apply the changes from the patch.

Other vulnerabilities in pypdf

See all
Original NVD description (English source)

pypdf is a free and open-source pure-python PDF library. An attacker who uses a vulnerability present in versions prior to 6.10.2 can craft a PDF which leads to the RAM being exhausted. This requires accessing a stream compressed using `/FlateDecode` with a `/Predictor` unequal 1 and large predictor parameters. This has been fixed in pypdf 6.10.2. As a workaround, one may apply the changes from the patch manually.

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