Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-137549: high-severity vulnerability (CVSS 8.7) in py-pdf pypdf.
What happened
Original description from the source: 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.
Why it matters
High severity, CVSS 8.7.
Affected products and versions
py-pdf pypdf < 7.0.1; py-pdf pypdf 7.0.1 (fixed in 7.0.1)
| Product | Versions | Fixed in |
|---|---|---|
| py-pdf pypdf | < 7.0.1 | — |
| py-pdf pypdf | 7.0.1 | 7.0.1 |
Action recommended by the source
Upgrade to a fixed version: 7.0.1.
Fixed in: 7.0.1
Sources and references
- https://github.com/py-pdf/pypdf/security/advisories/GHSA-fhff-j4m8-439h — CVE Program
- https://www.vulncheck.com/advisories/pypdf-before-7.0.1-excessive-memory-usage-via-crafted-pdf-images — CVE Program
Weaknesses (CWE): CWE-770
Relevant change history
Published
Preliminary advisory published.