CVE-2026-31826
published medium CVSS 4.0 · 6.8pypdf: manipulated stream length values can exhaust RAM
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| py-pdf | — | pypdf< 6.8.0 | Affected | Not stated | GitHub_M |
| SUSE / openSUSE | openSUSE-Leap-16.0 | python313-PyPDF2noarch | Advisory build | 2.11.1-bp160.4.1 | OPENSUSE-SU-2026:20375-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-PyPDF2aarch64 | Advisory build | 2.11.1-7.1 | OPENSUSE-SU-2026:10332-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-PyPDF2ppc64le | Advisory build | 2.11.1-7.1 | OPENSUSE-SU-2026:10332-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-PyPDF2s390x | Advisory build | 2.11.1-7.1 | OPENSUSE-SU-2026:10332-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-PyPDF2x86_64 | Advisory build | 2.11.1-7.1 | OPENSUSE-SU-2026:10332-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-pypdfaarch64 | Advisory build | 6.8.0-1.1 | OPENSUSE-SU-2026:10334-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-pypdfppc64le | Advisory build | 6.8.0-1.1 | OPENSUSE-SU-2026:10334-1 |
Show 10 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-pypdfs390x | Advisory build | 6.8.0-1.1 | OPENSUSE-SU-2026:10334-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-pypdfx86_64 | Advisory build | 6.8.0-1.1 | OPENSUSE-SU-2026:10334-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-PyPDF2aarch64 | Advisory build | 2.11.1-7.1 | OPENSUSE-SU-2026:10332-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-PyPDF2ppc64le | Advisory build | 2.11.1-7.1 | OPENSUSE-SU-2026:10332-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-PyPDF2s390x | Advisory build | 2.11.1-7.1 | OPENSUSE-SU-2026:10332-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-PyPDF2x86_64 | Advisory build | 2.11.1-7.1 | OPENSUSE-SU-2026:10332-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-pypdfaarch64 | Advisory build | 6.8.0-1.1 | OPENSUSE-SU-2026:10334-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-pypdfppc64le | Advisory build | 6.8.0-1.1 | OPENSUSE-SU-2026:10334-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-pypdfs390x | Advisory build | 6.8.0-1.1 | OPENSUSE-SU-2026:10334-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-pypdfx86_64 | Advisory build | 6.8.0-1.1 | OPENSUSE-SU-2026:10334-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.8 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| py-pdf | pypdf | < 6.8.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-770 CWE-770: Allocation of Resources Without Limits or Throttling
References
3Provider assertions
2GitHub_M · cna
pypdf: manipulated stream length values can exhaust RAM
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- c9cc524aaa39a1e7aad707773090f64bce39364aa9bef64c1f4d5291920e7b08
- Ingested
- 23 Sep 2026, 09:09:43 UTC
- Source record
- Official CVE record