Vulnerability
CVE-2026-31826
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.
12 advisories report this vulnerability, across 6 ecosystems.
Advisories
- CGA-246x-87p5-3g89
- CGA-29j8-f3w4-7625
- CGA-cmm8-6xrw-pcv3
- CGA-fxh3-3w76-2m4g
- CGA-r476-7v24-rrhx
-
DEBIAN-CVE-2026-31826
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…
-
GHSA-hqmh-ppp3-xvm7
pypdf: manipulated stream length values can exhaust RAM
-
PYSEC-2026-3019
pypdf: manipulated stream length values can exhaust RAM
-
UBUNTU-CVE-2026-31826
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…
-
openSUSE-SU-2026:10332-1
python311-PyPDF2-2.11.1-7.1 on GA media
-
openSUSE-SU-2026:10334-1
python311-pypdf-6.8.0-1.1 on GA media
-
openSUSE-SU-2026:20375-1
Security update for python-PyPDF2