CVE-2026-115889bytecodealliance wasmtime
SSA value index overflow in Wasmtime Cranelift compiler backend
Critical 9.9
Follow: this CVE · bytecodealliance · bytecodealliance wasmtime We alert you by email or Slack (account required).
- Priority
- 59
- CVSS 3.1
- 9.9
- EPSS
- —
- Auth required
- Yes
- Published
- Oct 23, 2026
- Updated
- Oct 26, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
What happens
The Cranelift compiler backend in Wasmtime prior to 36.0.19 and 43.0.0 suffers from bit-packing overflow of SSA value indices, potentially causing incorrect IR value references and arbitrary miscompilation. An authenticated attacker can exploit this by compiling specially crafted Wasm functions to cause type confusion and escape the WebAssembly sandbox.
Show the original NVD text
Wasmtime is a runtime for WebAssembly. Prior to 36.0.19 and 43.0.0, the Cranelift compiler backend bit-packs SSA value indices in a way that can silently overflow in release builds when compiling a sufficiently large or specially crafted Wasm function with many SSA values. The overflow can make Cranelift reference incorrect IR values, causing arbitrary miscompilation, type confusion, and other attacker-controlled effects that may escape the Wasm sandbox on any architecture using the default Cranelift backend. This issue is fixed in versions 36.0.19 and 43.0.0.
What to do
Patch available · fixed versions: 36.0.19, 43.0.0
Update Wasmtime to version 36.0.19 or 43.0.0 or later.
- Apply the vendor's security update for wasmtime.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| crates.io | wasmtime |
< 36.0.19 |
36.0.19 |
cargo update -p wasmtime --precise 36.0.19 |
| crates.io | wasmtime |
≥ 37.0.0 < 43.0.0 |
43.0.0 |
cargo update -p wasmtime --precise 43.0.0 |
| crates.io | wasmtime |
≥ 0.0.0-0 < 36.0.19 |
36.0.19 |
cargo update -p wasmtime --precise 36.0.19 |
| crates.io | wasmtime |
≥ 37.0.0 < 43.0.0 |
43.0.0 |
cargo update -p wasmtime --precise 43.0.0 |
Per OSV / GitHub Advisories (GHSA-897f-g5gm-fmxm, RUSTSEC-2026-0380). Check the version in your lockfile before upgrading.
Affected products
- bytecodealliance · wasmtime
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.