Resource exhaustion in PyPDF - #VU161874
Published: November 8, 2026
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.