Resource exhaustion in PyPDF - #VU170619
Published: November 26, 2026
Vulnerability details
The vulnerability allows a remote attacker to cause excessive memory consumption and potentially degrade application availability.
The vulnerability exists due to uncontrolled memory consumption in pypdf's embedded-file handling when loading PDF attachments, particularly through the dictionary-based API, which retrieves all attachment contents without an upper limit. A remote attacker can supply a crafted PDF whose attachments are loaded by the receiving application to consume excessive memory and potentially degrade application availability.