CVE-2026-41314
published medium CVSS 4.0 · 4.8pypdf: Manipulated FlateDecode image dimensions can exhaust RAM
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| py-pdf | — | pypdf< 6.10.2 | Affected | Not stated | GitHub_M |
| SUSE / openSUSE | openSUSE-Leap-16.0 | python313-PyPDF2noarch | Advisory build | 2.11.1-bp160.7.1 | OPENSUSE-SU-2026:20794-1 |
Description
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 an image using `/FlateDecode` with large size values. This has been fixed in pypdf 6.10.2. As a workaround, one may apply the changes from the patch manually.
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
- 4.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:L/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.10.2 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-789 CWE-789: Memory Allocation with Excessive Size Value
References
4Provider assertions
2GitHub_M · cna
pypdf: Manipulated FlateDecode image dimensions can exhaust RAM
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- a192329fae38926838338eebad131fec7febf7b2a68014ccee64d53c833e991c
- Ingested
- 23 Sep 2026, 09:13:40 UTC
- Source record
- Official CVE record