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

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.52%, higher than 45% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-06T18:50:14.789Z
- Modified: 2026-10-25T20:10:00.147Z
- Also known as: GHSA-phj9-mv4w-65pm, BIT-PILLOW-2026-55380, PYSEC-2026-2256
- Weaknesses: CWE-789
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- python-pillow Pillow: < 12.3.0
- pillow (PyPI): before 12.3.0
- python pillow: before 12.3.0
- pillow (Bitnami): before 12.3.0

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- PyPA Advisory Database: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Bitnami Vulnerability Database: rating High

## References

- <https://github.com/python-pillow/Pillow/security/advisories/GHSA-phj9-mv4w-65pm> (exploit, advisory, evidence, vendor-advisory, web)
- <https://github.com/python-pillow/Pillow/commit/f39b0ae6624eb2d7c5c5d651d9bb5fdbd96a8675> (fix, patch, web)
- <https://github.com/python-pillow/Pillow/blob/main/docs/releasenotes/12.3.0.rst> (advisory, article, release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-55380> (advisory, web)
- <https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2026-2256.yaml> (web)
- <https://github.com/python-pillow/Pillow> (package)

## Sources

- CVE List: [CVE-2026-55380](https://www.cve.org/CVERecord?id=CVE-2026-55380), CVE Terms of Use, modified 2026-07-06
- GitHub Advisory Database: [GHSA-phj9-mv4w-65pm](https://github.com/advisories/GHSA-phj9-mv4w-65pm), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-55380](https://nvd.nist.gov/vuln/detail/CVE-2026-55380), Public domain, modified 2026-10-25
- PyPA Advisory Database: [PYSEC-2026-2256](https://osv.dev/vulnerability/PYSEC-2026-2256), CC-BY-4.0, modified 2026-07-13
- Bitnami Vulnerability Database: [BIT-PILLOW-2026-55380](https://osv.dev/vulnerability/BIT-PILLOW-2026-55380), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2026-55380 · Whole record: https://cve.day/CVE-2026-55380.json · Rebuilt by cve.day 2026-11-25T22:59:27.238Z
