Bytecode Allianceのwasmtimeにおける数値型間の変換の誤りに関する脆弱性
タイトル Bytecode Allianceのwasmtimeにおける数値型間の変換の誤りに関する脆弱性
概要

WasmtimeはWebAssemblyのランタイムです。バージョン25.0.0から36.0.7、42.0.2、および43.0.1の前のバージョンにおいて、WasmtimeのWinchコンパイラには、WebAssemblyのmemory64提案の一部である64ビットテーブルにおいて、table.size命令が誤って翻訳されるバグが存在しました。このバグにより、ホストのスタック上のデータがWebAssemblyゲストに漏洩する可能性があります。ホストのスタックには、ゲストに開示されるべきでない他のホスト起源の操作に関連する機密データが含まれている可能性があります。このバグは、table.sizeの戻り値が32ビット整数として静的に型付けされており、戻りレジスタのサイズを決定するためにテーブルのインデックス型を参照していなかったミスに起因しています。WinchのABI(複数値の戻り値など)に関する詳細と組み合わさることで、ゲスト内でホストのスタックデータを読み取ることが可能になりました。この脆弱性は、バージョン36.0.7、42.0.2、および43.0.1で修正されました。

想定される影響 当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 また、当該ソフトウェアが扱う情報について、書き換えは発生しません。 さらに、当該ソフトウェアは停止しません。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。 
対策

正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。

公表日 2026年4月9日0:00
登録日 2026年4月21日10:46
最終更新日 2026年4月21日10:46
CVSS3.0 : 警告
スコア 6.5
ベクター CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
影響を受けるシステム
Bytecode Alliance
wasmtime 25.0.0 以上 36.0.7 未満
wasmtime 37.0.0 以上 42.0.2 未満
wasmtime 43.0.0 以上 43.0.1 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
変更履歴
No 変更内容 変更日
1 [2026年04月21日]
  掲載
2026年4月21日10:46

NVD脆弱性情報
CVE-2026-34945
概要

Wasmtime is a runtime for WebAssembly. From 25.0.0 to before 36.0.7, 42.0.2, and 43.0.1, Wasmtime's Winch compiler contains a bug where a 64-bit table, part of the memory64 proposal of WebAssembly, incorrectly translated the table.size instruction. This bug could lead to disclosing data on the host's stack to WebAssembly guests. The host's stack can possibly contain sensitive data related to other host-originating operations which is not intended to be disclosed to guests. This bug specifically arose from a mistake where the return value of table.size was statically typed as a 32-bit integer, as opposed to consulting the table's index type to see how large the returned register could be. When combined with details about Wnich's ABI, such as multi-value returns, this can be combined to read stack data from the host, within a guest. This vulnerability is fixed in 36.0.7, 42.0.2, and 43.0.1.

公表日 2026年4月10日4:16
登録日 2026年4月15日11:34
最終更新日 2026年4月21日3:26
影響を受けるソフトウェアの構成
構成1 以上 以下 より上 未満
cpe:2.3:a:bytecodealliance:wasmtime:*:*:*:*:*:rust:*:* 25.0.0 36.0.7
cpe:2.3:a:bytecodealliance:wasmtime:*:*:*:*:*:rust:*:* 37.0.0 42.0.2
cpe:2.3:a:bytecodealliance:wasmtime:*:*:*:*:*:rust:*:* 43.0.0 43.0.1
関連情報、対策とツール
共通脆弱性一覧