XML Entity Expansion in PyPDF - #VU125811
Published: April 10, 2026
PyPDF
Detailed vulnerability 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.