pypdf 2.4.2 before 7.0.0 Excessive Memory Usage via XFA Forms
- State
- Published
- Severity
- 8.7 High
- Published
- Nov 21, 2026
- Updated
- Nov 25, 2026
- Reserved
- Nov 21, 2026
Description
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.
| Product | Versions |
|---|---|
| pypdf py-pdf | 2.4.2 to before 7.0.0 Affected7.0.0 Not Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 8.7 High | VulnCheck | |
| 3.1 | 7.5 High | VulnCheck |
Weaknesses
- CWE-770 Allocation of Resources Without Limits or Throttling
References
- GitHub Security Advisory (GHSA-cmpx-464x-82c3)Vendor Advisory
- VulnCheck Advisory: pypdf 2.4.2 before 7.0.0 Excessive Memory Usage via XFA FormsThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.