pypdf 2.4.2 before 7.0.0 contains a resource exhaustion vulnerability in its handling of XFA forms that allows
Source GCVE Database
Not known to be exploited · CVSS 8.7 High : upgrade to 7.0.0 soon.
Data as of 21 Nov 2026, 19:29 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 8.7 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 7.5 |
- Patch
- Available – fixed in 7.0.0
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 21 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 21 Nov 2026.
What to do
Upgrade pypdf to 7.0.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| py-pdfpypdf | Affected
| Fixed in
|
PyPIpypdfpkg:pypi/pypdfOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
If you cannot patch yet, avoid processing untrusted PDF files containing XFA forms or implement resource limits on memory usage during PDF parsing.
Description
pypdf versions 2.4.2 up to but not including 7.0.0 contain a resource exhaustion vulnerability in their handling of XFA forms. This flaw allows attackers to craft PDF files with many small XFA form fields that cause excessive memory consumption when loaded, leading to denial of service.