CVE-2026-55380CWE-789

Pillow GdImageFile decompression bomb protection bypass

High · published July 6, 2026

CVSS v3.1
7.5
EPSS
0%
Percentile
35.1
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00418 · 35.1th percentile
Weakness
CWE-789 · Memory Allocation with Excessive Size Value
Published
2026-07-06T18:50Z
EPSS history
Timeline
  • 06 JUL 18:50Z
    Pillow GdImageFile decompression bomb protection bypass
    cvelistv5