Uncontrolled Memory Allocation in PyPDF - #VU135042
Published: June 23, 2026
PyPDF
Detailed vulnerability description
The vulnerability allows a remote attacker to cause excessive memory consumption.
The vulnerability exists due to memory allocation with excessive size value in the image handling logic when parsing a crafted PDF containing images with declared size values much larger than the actual data. A remote attacker can supply a specially crafted PDF to cause excessive memory consumption.