#VU125811 XML Entity Expansion in PyPDF
Published: April 10, 2026
PyPDF
Pypdf Project
Description
The vulnerability allows a remote attacker to cause excessive memory consumption.
The vulnerability exists due to improper restriction of recursive entity references in DTDs in the XMP metadata parser when parsing XMP metadata from a PDF file. A remote attacker can supply a specially crafted PDF to cause excessive memory consumption.
Exploitation requires the application to parse the XMP metadata.