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-134367: high-severity vulnerability (CVSS 8.7) in py-pdf pypdf.
What happened
Original description from the source: pypdf 2.4.2 before 7.0.0 contains a resource exhaustion vulnerability in its handling of XFA forms that allows attackers to cause excessive memory consumption. Attackers can supply a crafted PDF containing XFA forms with many small fields so that loading the forms consumes large amounts of memory, causing a denial of service.
Why it matters
High severity, CVSS 8.7.
Affected products and versions
py-pdf pypdf >= 2.4.2, < 7.0.0; py-pdf pypdf 7.0.0 (fixed in 7.0.0)
| Product | Versions | Fixed in |
|---|---|---|
| py-pdf pypdf | >= 2.4.2, < 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-cmpx-464x-82c3 — CVE Program
- https://www.vulncheck.com/advisories/pypdf-2.4.2-before-7.0.0-excessive-memory-usage-via-xfa-forms — CVE Program
Weaknesses (CWE): CWE-770
Relevant change history
Published
Preliminary advisory published.