CVE-2026-55380 HIGH

CVE-2026-55380: Pillow GdImageFile decompression bomb protection bypass

Vendor Python-Pillow
Product Pillow
Weakness CWE-789
Published July 6, 2026
Last update July 6, 2026

CVSS base score

7.5/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality None
Integrity None

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

July 6, 2026 CVE published
July 6, 2026 Record updated