NVD Vulnerability Detail
Search Exploit, PoC
CVE-2026-55380
Summary

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.

Publication Date July 7, 2026, 4:17 a.m.
Registration Date July 8, 2026, 4:17 a.m.
Last Update July 8, 2026, 3:58 a.m.
CVSS3.1 : HIGH
スコア 7.5
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
攻撃元区分(AV) ネットワーク
攻撃条件の複雑さ(AC)
攻撃に必要な特権レベル(PR) 不要
利用者の関与(UI) 不要
影響の想定範囲(S) 変更なし
機密性への影響(C) なし
完全性への影響(I) なし
可用性への影響(A)
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:python:pillow:*:*:*:*:*:*:*:* 12.3.0
Related information, measures and tools
Common Vulnerabilities List

JVN Vulnerability Information
Python Software FoundationのPython Pillowにおける過剰なサイズ値のメモリ割り当てに関する脆弱性
Title Python Software FoundationのPython Pillowにおける過剰なサイズ値のメモリ割り当てに関する脆弱性
Summary

PillowはPythonの画像処理ライブラリです。バージョン12.3.0以前では、PIL/GdImageFile.pyのGdImageFile._open()がGD 2.xヘッダーから画像の寸法を読み取り、それらをImage._decompression_bomb_check()を呼び出さずにself._sizeに格納していました。その結果、細工された.gdファイルを読み込む際に過剰なCヒープの割り当てが引き起こされる可能性がありましたが、この問題はバージョン12.3.0で修正されています。

Possible impacts ・当該ソフトウェアが扱う情報について、外部への漏えいは発生しません。 ・当該ソフトウェアが扱う情報について、書き換えは発生しません。 ・当該ソフトウェアが完全に停止する可能性があります。 
Solution

ベンダ情報を参照して適切な対策を実施してください。

Publication Date July 6, 2026, midnight
Registration Date July 9, 2026, 10:54 a.m.
Last Update July 9, 2026, 10:54 a.m.
Affected System
Python Software Foundation
Python Pillow 12.3.0 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
Change Log
No Changed Details Date of change
1 [2026年07月09日]
  掲載
July 9, 2026, 10:54 a.m.