Infinite loop in Pillow - #VU127176
Published: April 23, 2026
Pillow
Detailed vulnerability description
The vulnerability allows a remote attacker to cause a denial of service.
The vulnerability exists due to an infinite loop in PdfParser when parsing a malicious PDF trailer with cyclic Prev pointers. A remote attacker can supply a specially crafted PDF file to cause a denial of service.
The issue can cause the process to hang indefinitely, consume 100% CPU, and make the application unresponsive.