Vulnerability

CVE-2026-31826

mediumCVSS 4.0 6.8Published 10 Mar 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Py Pdf pypdf

Weakness type

References

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning