Resource exhaustion in PyPDF - #VU161874

 

Resource exhaustion in PyPDF - #VU161874

Published: November 8, 2026


Vulnerability identifier: #VU161874
CSH Severity: Low
CVSS v4: 4.6 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-400
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows an attacker to cause excessive memory consumption in applications that use pypdf to load XFA forms from a crafted PDF.

The vulnerability exists due to uncontrolled resource consumption in pypdf's XFA form handling when loading forms containing many fields. An attacker can craft a PDF with numerous XFA fields, including small fields, that consumes large amounts of memory when those forms are loaded.


Affected software

PyPDF

Remediation

Install security update from vendor's website.

PyPDF - update to 7.0.0

External References

Related Security Bulletins