Wasmtimeのaarch64向けコード生成の不具合でサンドボックスを脱出され任意のホストメモリを読み書きされるおそれ
概要
Wasmtimeのaarch64向けCranelift機能で誤ったアドレスにアクセスされる不具合があり、ゲストのWebAssemblyモジュールがサンドボックスを脱出してホストメモリを読み書きできるおそれがあります。影響を受けるのは36.0.7未満、42.0.0から42.0.2未満、43.0.0から43.0.1未満のwasmtimeで、36.0.7、42.0.2、43.0.1以降に更新してください。
AI要約
SecPulse が外部の生成 AI を使って作った要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。
Wasmtime という製品で、CVE-2026-34971 という番号がついた弱点 (脆弱性) が見つかりました。
悪用されるとシステム全体を乗っ取られる可能性があります。重要度は CVSS スコア 7.8/10 です。
対策: Wasmtime を 36.0.7 以上に更新してください。
心配なら、システム担当者や製品の公式サイトで「Wasmtime CVE-2026-34971」を検索してください。
CVE-2026-34971 (Wasmtime) — CWE-125 / CVSS v3 7.8
攻撃ベクター: ローカル / 被害者操作不要
修正バージョン: 36.0.7 (即時適用推奨)
対応方針: 1) SBOMで影響バージョン横断確認, 2) ステージング検証→本番更新, 3) WAF/プロキシで該当エンドポイントを監視, 4) ログでIOC調査。
参考: 当ページの『参照URL』の GHSA / vendor advisory / patched release を参照。
Wasmtime に 境界外読み取り (CWE-125) があります。
Wasmtime の影響バージョンはベンダーのアドバイザリで確認してください。
重要度: 重要 (CVSS 7.8/10)。悪用されるとシステム全体を乗っ取られる可能性があります。
36.0.7 に更新してください。
修正版が未提供時は、影響機能の無効化・WAFルール・ネットワークACLでの遮断を検討。
Webサーバ・プロキシ・WAFログで該当CVEのIOCに合致する不審リクエストを検索。SBOM/依存ファイルで影響バージョンを横断確認。
対応アクション
SOC/SREチームが順番に実行すべき具体的なステップとコマンド例
-
1
影響範囲の特定identify
grep -r 'Wasmtime' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
Wasmtimeを grep し、稼働しているサービス・バージョンを把握する。 -
2
パッチ適用patch
Upgrade Wasmtime to 36.0.7ステージング環境で 36.0.7 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3
事後検証verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
影響パッケージ
| パッケージ | 影響を受ける版 → 修正版 | |
|---|---|---|
| crates.iowasmtime |
0.0.0-0 以上 36.0.7 未満→ 36.0.7 37.0.0 以上 42.0.2 未満→ 42.0.2 43.0.0 以上 43.0.1 未満→ 43.0.1 |
36.0.7 42.0.2 43.0.1 |
ディストリビューション別の修正状況
各ディストリビューションが公開している、この CVE の記録です。修正版は配布版ごとに違うので、リンク先で確かめてください。
- Debian DEBIAN-CVE-2026-34971 rust-wasmtime 修正版あり
- Ubuntu UBUNTU-CVE-2026-34971 rust-wasmtime この記録に修正版の記載なし
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。
Wasmtime is a runtime for WebAssembly. From 32.0.0 to before 36.0.7, 42.0.2, and 43.0.1, Wasmtime's Cranelift compilation backend contains a bug on aarch64 when performing a certain shape of heap accesses which means that the wrong address is accessed. When combined with explicit bounds checks a guest WebAssembly module this can create a situation where there are two diverging computations for the same address: one for the address to bounds-check and one for the address to load. This difference in address being operated on means that a guest module can pass a bounds check but then load a different address. Combined together this enables an arbitrary read/write primitive for guest WebAssembly when accesssing host memory. This is a sandbox escape as guests are able to read/write arbitrary host memory. This vulnerability has a few ingredients, all of which must be met, for this situation to occur and bypass the sandbox restrictions. This miscompiled shape of load only occurs on 64-bit WebAssembly linear memories, or when Config::wasm_memory64 is enabled. 32-bit WebAssembly is not affected. Spectre mitigations or signals-based-traps must be disabled. When spectre mitigations are enabled then the offending shape of load is not generated. When signals-based-traps are disabled then spectre mitigations are also automatically disabled. The specific bug in Cranelift is a miscompile of a load of the shape load(iadd(base, ishl(index, amt))) where amt is a constant. The amt value is maske…
出典: NIST National Vulnerability Database NVD GitHub Advisory
参照URL
- advisory rustsec.org
- advisory github.com
- advisory nvd.nist.gov
- package crates.io
- patch security-advisories@github.com
- web access.redhat.com
- web bugzilla.redhat.com
- web security.access.redhat.com
- web github.com