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-134366: high-severity vulnerability (CVSS 8.7) in py-pdf pypdf.
What happened
Original description from the source: 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.
Why it matters
High severity, CVSS 8.7.
Affected products and versions
py-pdf pypdf < 7.0.0; py-pdf pypdf 7.0.0 (fixed in 7.0.0)
| Product | Versions | Fixed in |
|---|---|---|
| py-pdf pypdf | < 7.0.0 | — |
| py-pdf pypdf | 7.0.0 | 7.0.0 |
Action recommended by the source
Upgrade to a fixed version: 7.0.0.
Fixed in: 7.0.0
Sources and references
- https://github.com/py-pdf/pypdf/security/advisories/GHSA-59jv-x5x2-gg4c — CVE Program
- https://www.vulncheck.com/advisories/pypdf-before-7.0.0-memory-exhaustion-via-cross-reference-streams-with-identical-offsets — CVE Program
Weaknesses (CWE): CWE-407
Relevant change history
Published
Preliminary advisory published.