Wasmtime: two critical Cranelift miscompilation bugs let a malicious WebAssembly module escape the sandbox (CVE-2026-115889, CVE-2026-115893)
Wasmtime (Bytecode Alliance) and its Cranelift compiler
Two CVSS 9.9 bugs in Cranelift, the default compiler in the Wasmtime WebAssembly runtime, let a module an attacker controls escape its sandbox. CVE-2026-115889 (all architectures) comes from 24-bit value-number fields that silently overflowed in large functions, causing miscompilation and type confusion; it affects Wasmtime before 36.0.19 and 37.0.0 through 42.x. CVE-2026-115893 (ARM64/aarch64 only) makes a br_table with more than about 256,000 targets jump to the wrong place, letting a module jump to arbitrary code; it affects every line before 36.0.19, 48.0.7 and 49.0.4. Fixes shipped Oct 19 and 20 in 36.0.19, 48.0.7, 49.0.4 and 50.0.0. Wasmtime is often embedded as a library, so every program that bundles it must be rebuilt; services that compile modules from untrusted users are most at risk. No exploitation reported.
Why this severity: CVSS 9.9 each per the Bytecode Alliance advisories; needs an attacker-supplied module compiled by a vulnerable build; no reported exploitation and not in CISA KEV as of Oct 26
- Started
- Oct 19, 2026
Affected
- wasmtime before 36.0.19, and 37.0.0 to before 43.0.0 (CVE-2026-115889, any architecture)
- wasmtime before 36.0.19, 37.0.0 to before 48.0.7, and 49.0.0 to before 49.0.4 on aarch64 (CVE-2026-115893)
- Unsupported lines (including 24.x LTS) get no fix; ARM64 hosts on 36.0.7, 42.0.2 or 43.0.1 from the April Cranelift fix are still affected by CVE-2026-115893
Fixed in
- wasmtime 36.0.19
- wasmtime 48.0.7
- wasmtime 49.0.4
- wasmtime 50.0.0
- Spin 4.2.4 (moves to Wasmtime 50.0.0)
Timeline4
The Hacker News reports on both flaws; GitHub's advisory database has a reviewed entry only for CVE-2026-115889, so Dependabot may not alert on the ARM64 flaw. RustSec lists them as RUSTSEC-2026-0380 and RUSTSEC-2026-0379.
Spin 4.2.4 moves to Wasmtime 50.0.0.
Wasmtime 50.0.0 is released, fixed for both flaws.
Bytecode Alliance publishes GHSA-897f-g5gm-fmxm (CVE-2026-115889, Cranelift bit-packing overflow) and GHSA-mghf-wjfp-p5xm (CVE-2026-115893, aarch64 br_table jump), both rated critical 9.9, with fixed releases 36.0.19, 48.0.7 and 49.0.4.
Advisories2
News & write-ups1
Get an email when a new major security incident drops. No spam, unsubscribe any time.