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

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability: affected before 12.3.0 (CNA); fix release not confirmed
- Status: published
- Published: 2026-07-06 · Modified: 2026-07-06
- Aliases: GHSA-phj9-mv4w-65pm, BIT-pillow-2026-55380, PYSEC-2026-2256, UBUNTU-CVE-2026-55380, DEBIAN-CVE-2026-55380, CGA-2qhm-qfhj-jp5q, CGA-2vvc-4f5x-9rjm, CGA-5622-q78f-9xj2, CGA-6rwh-rpxx-93r9, CGA-79r2-h324-7f25, CGA-8qv6-qrmh-cxwv, CGA-9h8x-ccwf-478p, CGA-9w6q-j4rr-p96g, CGA-fjwp-v5f2-mhj5, CGA-fvrh-64mr-hfq7, CGA-gwfr-5j3g-24q3, CGA-mq3q-hj6m-893g, CGA-rg8f-fq9f-gr5g, CGA-w99p-x7qh-vjv7, CGA-wcp3-p75v-74j6, CGA-26ff-5j8m-cvj7, CGA-4qj3-p73j-2vv3, CGA-5xcg-8ffh-rhmc, CGA-6w76-mjfc-3h25, CGA-7mr6-pxch-hc6p, CGA-8226-9c46-qf42, CGA-8p6q-3cw8-g747, CGA-cc7c-57mq-r6xw, CGA-cj4m-wc7v-w9w4, CGA-fq5j-q9jg-x2pw, CGA-jr66-6v6x-xxmr, CGA-p83j-hp37-m6h2, CGA-p966-5m63-c3qr, CGA-q3q8-m543-3j6j, CGA-qr2f-g565-g9x9, CGA-x42r-gxj4-xg7f, ALPINE-CVE-2026-55380
- Record: https://cvemate.com/vulnerability/CVE-2026-55380 · JSON: https://cvemate.com/vulnerability/CVE-2026-55380/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.518%, percentile 45.554%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected (first 20 of 27)

- alpine py3-pillow (Alpine Linux): \< 12.3.0-r0
- chainguard label-studio (Chainguard): \< 1.23.0-r11
- chainguard lmcache-cuda-12.8 (Chainguard): \< 0.5.3-r0
- chainguard mlflow (Chainguard): \< 3.16.0-r0 \| \< 3.14.0-r2
- chainguard open-webui (Chainguard): All versions (No fix recorded) \| \< 0.10.2-r1 \| \< 0.11.0-r0
- chainguard openstack-horizon-2025.2 (Chainguard): \< 25.5.2\_git20260617-r4
- chainguard openstack-horizon-2025.2-fips (Chainguard): \< 25.5.2\_git20260617-r5
- chainguard openstack-horizon-2026.1 (Chainguard): \< 25.7.3\_git20260630-r2
- chainguard openstack-horizon-2026.1-fips (Chainguard): \< 25.7.3\_git20260630-r2
- chainguard superset-6.0 (Chainguard): \< 6.0.0-r13
- chainguard superset-6.1 (Chainguard): \< 6.1.0-r6
- chainguard superset-6.1-iamguarded-compat (Chainguard): All versions (No fix recorded)
- chainguard superset-fips-6.1 (Chainguard): \< 6.1.0-r5
- chainguard tensorflow-gpu-jupyter (Chainguard): \< 2.21.0-r7
- chainguard text-generation-inference (Chainguard): \< 3.3.7-r20
- chainguard tritonserver-backend-vllm-cuda-13.0 (Chainguard): \< 25.11-r11
- wolfi mlflow (Wolfi): \< 3.16.0-r0 \| \< 3.14.0-r2
- wolfi open-webui (Wolfi): All versions (No fix recorded) \| \< 0.10.2-r1 \| \< 0.11.0-r0
- wolfi superset-6.0 (Wolfi): \< 6.0.0-r13
- wolfi superset-6.1 (Wolfi): \< 6.1.0-r6

## References

- <https://github.com/python-pillow/Pillow/security/advisories/GHSA-phj9-mv4w-65pm>
- <https://github.com/python-pillow/Pillow/commit/f39b0ae6624eb2d7c5c5d651d9bb5fdbd96a8675>
- <https://github.com/python-pillow/Pillow/blob/main/docs/releasenotes/12.3.0.rst>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-55380>
- <https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2026-2256.yaml>
- <https://github.com/python-pillow/Pillow>
- <https://ubuntu.com/security/CVE-2026-55380>
- <https://www.cve.org/CVERecord?id=CVE-2026-55380>
- <https://security-tracker.debian.org/tracker/CVE-2026-55380>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/55xxx/CVE-2026-55380.json>
- <https://ubuntu.com/security/notices/USN-8999-1>
- <https://security.alpinelinux.org/vuln/CVE-2026-55380>

---

Data as of 2026-12-05T06:46:45.646Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
