CVE-2026-55380
HighCVSS 7.5Exploitation Probability (EPSS)
Low risk28th percentile - higher than 28% of all known CVEs
Summary
In Pillow before version 12.3.0, the GdImageFile._open() method in GdImageFile.py read image dimensions from the GD 2.x header without calling Image._decompression_bomb_check(), allowing a crafted .gd file to trigger excessive C-heap allocation when loaded.
Risk Assessment
An attacker can exploit this vulnerability to exhaust process memory, leading to denial of service (DoS) in applications using Pillow for image processing.
Recommendation
Immediately update Pillow to version 12.3.0 or later, which includes a fix that prevents bypassing the decompression bomb check.
Original NVD description (English source)
Pillow is a Python imaging library. Prior to 12.3.0, PIL/GdImageFile.py GdImageFile._open() read image dimensions from the GD 2.x header and stored them in self._size without calling Image._decompression_bomb_check(), allowing a crafted .gd file to trigger excessive C-heap allocation when loaded. This issue is fixed in version 12.3.0.

