KovidgoyalのKittyにおける複数の脆弱性
| Title |
KovidgoyalのKittyにおける複数の脆弱性
|
| Summary |
KittyはクロスプラットフォームのGPUベースのターミナルです。バージョン0.46.2以下では、kitty/graphics.cのhandle_compose_command()関数が符号なし32ビット算術演算を用いてオフセットの範囲検証を行っており、その過程で整数のラップアラウンドが発生する可能性があります。これによりヒープバッファのオーバーリードや書き込みが生じる恐れがあります。悪意のあるファイル、SSHログインバナー、またはパイプされたコンテンツを介してkittyターミナルにエスケープシーケンスを書き込める攻撃者は、ラップアラウンド後に範囲チェックを通過するよう細工したx_offsetやy_offset値を供給し、compose_rectangles()関数で大規模な範囲外ヒープメモリアクセスを引き起こすことが可能です。ユーザーの操作やデフォルト以外の設定は不要であり、攻撃者にはkittyターミナルウィンドウに出力を生成する能力のみが必要です。この問題はバージョン0.47.0で修正されました。
|
| Possible impacts |
当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 また、当該ソフトウェアが扱う全ての情報が書き換えられる可能性があります。 さらに、当該ソフトウェアが完全に停止する可能性があります。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。 |
| Solution |
正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。 |
| Publication Date |
May 19, 2026, midnight |
| Registration Date |
May 28, 2026, 2:33 p.m. |
| Last Update |
May 28, 2026, 2:33 p.m. |
|
CVSS3.0 : 緊急
|
| Score |
9.8
|
| Vector |
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected System
| Kovidgoyal |
|
Kitty 0.47.0 未満
|
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
Change Log
| No |
Changed Details |
Date of change |
| 1 |
[2026年05月28日] 掲載 |
May 28, 2026, 2:33 p.m. |
NVD Vulnerability Information
CVE-2026-33642
| Summary |
Kitty is a cross-platform GPU based terminal. In versions 0.46.2 and below, the handle_compose_command() function in kitty/graphics.c performs bounds validation on composition offsets using unsigned 32-bit arithmetic that is subject to integer wrapping, potentially leading to Heap Buffer Over-Read/Write. An attacker who can write escape sequences to a kitty terminal (e.g., via a malicious file, SSH login banner, or piped content) can supply crafted x_offset/y_offset values that pass the bounds check after wrapping but cause massive out-of-bounds heap memory access in compose_rectangles(). No user interaction is required. No non-default configuration is required. The attacker only needs the ability to produce output in a kitty terminal window. This issue has been fixed in version 0.47.0.
|
| Publication Date |
May 20, 2026, 4:16 a.m. |
| Registration Date |
May 21, 2026, 4:09 a.m. |
| Last Update |
May 23, 2026, 6:05 a.m. |
Affected software configurations
| Configuration1 |
or higher |
or less |
more than |
less than |
| cpe:2.3:a:kovidgoyal:kitty:*:*:*:*:*:*:*:* |
|
|
|
0.47.0 |
Related information, measures and tools
Common Vulnerabilities List