Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Python | Pillow | < 12.3.0 |
Related Weaknesses (CWE)
References
- https://github.com/python-pillow/Pillow/blob/main/docs/releasenotes/12.3.0.rstRelease Notes
- https://github.com/python-pillow/Pillow/commit/f39b0ae6624eb2d7c5c5d651d9bb5fdbdPatch
- https://github.com/python-pillow/Pillow/security/advisories/GHSA-phj9-mv4w-65pmExploitVendor Advisory
- https://github.com/python-pillow/Pillow/security/advisories/GHSA-phj9-mv4w-65pmExploitVendor Advisory
FAQ
What is CVE-2026-55380?
CVE-2026-55380 is a vulnerability with a CVSS score of 7.5 (HIGH). 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._decompress...
How severe is CVE-2026-55380?
CVE-2026-55380 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-55380?
Check the references section above for vendor advisories and patch information. Affected products include: Python Pillow.