CVE-2026-55380

HIGH

Pillow GdImageFile decompression bomb protection bypass

Title source: cna
STIX 2.1

Description

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.

Scores

CVSS v3 7.5
EPSS 0.0036
EPSS Percentile 28.2%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation poc
Automatable yes
Technical Impact partial

Details

CWE
CWE-789
Status published
Products (2)
python/pillow < 12.3.0
python-pillow/Pillow < 12.3.0
Published Jul 06, 2026
Tracked Since Jul 07, 2026