CVE-2026-115889: Wasmtime: Bit-packing in Cranelift compiler causes silent overflow and miscompilation
Vulnerability summary
CVE-2026-115889 is a critical (CVSS 9.9) Numeric Truncation Error vulnerability in bytecodealliance wasmtime.
Timeline
- 23-10-2026PublishedVulnerability first disclosed.
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.
CVSS metrics
3 scores · 3 sources · 1 version- NVDNIST9.9CriticalCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
- OSV · Crates.ioEcosystem advisory · calculated9.9CriticalCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
EPSS trend
No EPSS score has been published for this record yet.
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-197Numeric Truncation ErrorTruncation errors occur when a primitive is cast to a primitive of a smaller size and data is lost in the conversion.
- CWE-843Access of Resource Using Incompatible Type ('Type Confusion')The product allocates or initializes a resource such as a pointer, object, or variable using one type, but it later accesses that resource using a type that is incompatible with the original type.
Affected systems
Bytecodealliance1 product
- wasmtime< 36.0.19 | ≥ 37.0.0, < 43.0.0
Crates.Io1 product
- wasmtime< 36.0.19 | ≥ 37.0.0, < 43.0.0
Debian1 product
- rust-wasmtimeAll versions (No fix recorded)
3 vendors · 3 products
References
11 linksShow all 11 references
- crates.io/crates/wasmtimePACKAGE