Heap-based buffer overflow in Pillow - #VU127174
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 a heap-based buffer overflow in coordinate-processing APIs such as ImagePath.Path, ImageDraw.ImageDraw.polygon, and ImageDraw.ImageDraw.line when processing nested list coordinates. A remote attacker can pass nested lists as coordinates to cause a denial of service.
The issue was introduced in Pillow 11.2.1.