CVE-2026-137549
pypdf before 7.0.1 Excessive Memory Usage via Crafted PDF Images
High · 8.7Fix available
- CVSS
- 8.7
- EPSS
- 0.49% (p35)
- Published
- 2026-11-26
- Age
- 2d old
- Modified
- 2026-11-27
- Product
- py-pdf pypdf
- Aliases
- GHSA-fhff-j4m8-439h
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
Description
pypdf before 7.0.1 contains a resource exhaustion vulnerability in image loading because data size estimates for some image modes are too low, defeating limits for filters without their own size limit. Attackers can craft a PDF whose images, when loaded, cause large memory usage and denial of service.
Fixed in
7.0.1
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| vendor | pypdf | >=0, <7.0.1 | 7.0.1 |
Sources
- NVD · first seen 2d ago · NVD terms of use
- OSV · first seen 2d ago · CC-BY 4.0
- CVE List · first seen 2d ago · CVE Terms of Use
References
- https://github.com/py-pdf/pypdf/security/advisories/GHSA-fhff-j4m8-439h vendor-advisory
- https://www.vulncheck.com/advisories/pypdf-before-7.0.1-excessive-memory-usage-via-crafted-pdf-images third-party-advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137549.json advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-137549 advisory