CVE-2026-134366
pypdf before 7.0.0 Memory Exhaustion via Cross-Reference Streams with Identical Offsets
High · 8.7Fix available
- CVSS
- 8.7
- EPSS
- 0.49% (p35)
- Published
- 2026-11-21
- Age
- 8d old
- Modified
- 2026-11-24
- Product
- py-pdf pypdf
- Aliases
- GHSA-59jv-x5x2-gg4c
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Description
pypdf before 7.0.0 contains a resource exhaustion vulnerability that allows attackers to cause large memory usage by supplying crafted PDF cross-reference streams. Attackers can craft a PDF whose cross-reference stream offsets all point to one large object, exhausting memory in applications parsing the file.
Fixed in
7.0.0
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| vendor | pypdf | >=0, <7.0.0 | 7.0.0 |
Sources
- NVD · first seen 8d ago · NVD terms of use
- OSV · first seen 8d ago · CC-BY 4.0
- CVE List · first seen 8d ago · CVE Terms of Use
References
- https://github.com/py-pdf/pypdf/security/advisories/GHSA-59jv-x5x2-gg4c vendor-advisory
- https://www.vulncheck.com/advisories/pypdf-before-7.0.0-memory-exhaustion-via-cross-reference-streams-with-identical-offsets third-party-advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/134xxx/CVE-2026-134366.json advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-134366 advisory