Resource exhaustion in Pillow - CVE-2026-96638
Published: November 3, 2026
Vulnerability details
The vulnerability allows a remote attacker to cause a denial of service through excessive memory consumption in Pillow.
The vulnerability exists due to uncontrolled memory allocation in Pillow's BmpRleDecoder.decode() function when processing delta escape and absolute mode instructions in BMP images. A remote attacker can trick a victim into opening a specially crafted BMP file whose decoding appends data beyond the expected image size to exhaust available memory and cause a denial of service.