Vulnerability · Published Oct 23, 2026 · Assigned by GitHub_M
CVE-2026-115889Wasmtime: Bit-packing in Cranelift compiler causes silent overflow and miscompilation
Critical 9.9
In plain English
A critical-severity type confusion in wasmtime from bytecodealliance. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 40% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:13 | rust-wasmtime | no fix listed | DEBIAN-CVE-2026-115889 |
| Debian:14 | rust-wasmtime | 36.0.20+dfsg-1 | DEBIAN-CVE-2026-115889 |
| Ubuntu:24.04:LTS | rust-wasmtime | no fix listed | UBUNTU-CVE-2026-115889 |
| Ubuntu:26.04:LTS | rust-wasmtime | no fix listed | UBUNTU-CVE-2026-115889 |
| Ubuntu:26.10 | rust-wasmtime | no fix listed | UBUNTU-CVE-2026-115889 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| bytecodealliance | wasmtime | < 36.0.19>= 37.0.0, < 43.0.0 |
Weakness: CWE-197, CWE-843 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
References
- https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-897f-g5gm-fmxm x_refsource_CONFIRM
- https://github.com/bytecodealliance/wasmtime/pull/12613 x_refsource_MISC
- https://github.com/bytecodealliance/wasmtime/pull/14818 x_refsource_MISC
- https://github.com/bytecodealliance/wasmtime/commit/ba8f7d70caa1825b7f64fa75cd9d03f4a438dae0 x_refsource_MISC
- https://github.com/bytecodealliance/wasmtime/commit/f517bd6e890c7c1291ab9fe05d8cc0c9f11e56aa x_refsource_MISC
- https://github.com/bytecodealliance/wasmtime/releases/tag/v36.0.19 x_refsource_MISC
- https://github.com/bytecodealliance/wasmtime/releases/tag/v43.0.0 x_refsource_MISC