๐Ÿ” CVE Alert

CVE-2026-31826

UNKNOWN 0.0

pypdf: manipulated stream length values can exhaust RAM

CVSS Score
0.0
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-770
Vendor py-pdf
Product pypdf
Published Mar 10, 2026
Last Updated Mar 11, 2026
Stay Ahead of the Next One

Get instant alerts for py-pdf pypdf

Be the first to know when new unknown vulnerabilities affecting py-pdf pypdf are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

Affected Versions

py-pdf / pypdf
< 6.8.0

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/py-pdf/pypdf/security/advisories/GHSA-hqmh-ppp3-xvm7 github.com: https://github.com/py-pdf/pypdf/pull/3675 github.com: https://github.com/py-pdf/pypdf/releases/tag/6.8.0