CVE-2026-54059
| Summary |
Pillow is a Python imaging library. Prior to 12.3.0, PIL/PcfFontFile.py _load_bitmaps() read glyph dimensions from the PCF METRICS section and passed them directly to Image.frombytes() without calling Image._decompression_bomb_check(), allowing crafted PCF font data to cause excessive memory allocation. 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/PcfFontFile.pyの_load_bitmaps()は、PCFのMETRICSセクションからグリフの寸法を読み取り、それらを直接Image.frombytes()に渡していましたが、Image._decompression_bomb_check()を呼び出していなかったため、細工されたPCFフォントデータにより過剰なメモリ割り当てが発生する可能性がありました。この問題はバージョン12.3.0で修正されました。以上が今回の脆弱性に関する説明です。
|
| Possible impacts |
・当該ソフトウェアが扱う情報について、外部への漏えいは発生しません。 ・当該ソフトウェアが扱う情報について、書き換えは発生しません。 ・当該ソフトウェアが完全に停止する可能性があります。 |
| Solution |
ベンダ情報を参照して適切な対策を実施してください。 |
| Publication Date |
July 6, 2026, midnight |
| Registration Date |
July 9, 2026, 10:55 a.m. |
| Last Update |
July 9, 2026, 10:55 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:55 a.m. |