{"id":"CVE-2026-55380","published":"2026-07-06T18:50:14Z","modified":"2026-07-06T19:23:30Z","title":"Pillow GdImageFile decompression bomb protection bypass","vendor":"python-pillow","product":"Pillow","tier":"tail","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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00644,"percentile":0.45449,"provenance":"source"},"cwes":[{"id":"CWE-789","name":"Memory Allocation with Excessive Size Value"}],"references":[{"url":"https://github.com/python-pillow/Pillow/security/advisories/GHSA-phj9-mv4w-65pm","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/python-pillow/Pillow/commit/f39b0ae6624eb2d7c5c5d651d9bb5fdbd96a8675","tags":["x_refsource_MISC"]},{"url":"https://github.com/python-pillow/Pillow/blob/main/docs/releasenotes/12.3.0.rst","tags":["x_refsource_MISC"]}],"priority":{"score":14.3,"factors":[{"name":"EPSS percentile","points":9.09},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"python-pillow","affectedVersions":[{"vendor":"python-pillow","product":"Pillow","versions":["< 12.3.0"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-07-06T19:23:03.405538Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"pillow","vulnerableRanges":["<12.3.0"],"patched":["12.3.0"],"from":["GHSA-phj9-mv4w-65pm","PYSEC-2026-2256"],"provenance":"source"}],"summary":{"text":"Pillow, the Python imaging library, has a flaw in its GD image handling (the GdImageFile component), where image dimensions read from a GD 2.x header are stored without the decompression bomb check being applied. An attacker who can supply a crafted .gd file that is loaded by a vulnerable Pillow version can cause excessive allocation on the C heap, with no authentication, user interaction, or special configuration required beyond the file being processed.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:35:58Z"},"euvd":{"id":"EUVD-2026-41901","exploited":false,"provenance":"source"}}