- Home
- Vulnerabilities
- CVE-2026-115889
CVE-2026-115889
Wasmtime: Bit-packing in Cranelift compiler causes silent overflow and miscompilation
Medium
55/100
Summary
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 products and versions
Bytecodealliance (1 line(s))
| Product | Versions | Fixed in | Source |
|---|---|---|---|
| Wasmtime | Versions not specified | — | CNA (vendor or assigner) |
crates.io (4 line(s))
| Product | Versions | Fixed in | Source |
|---|---|---|---|
| wasmtime | before 36.0.19 (excluded) |
36.0.19 |
GitHub Advisory |
| wasmtime | from 37.0.0 (included) to 43.0.0 (excluded) |
43.0.0 |
GitHub Advisory |
| wasmtime | from 0.0.0-0 (included) to 36.0.19 (excluded) |
36.0.19 |
OSV |
| wasmtime | from 37.0.0 (included) to 43.0.0 (excluded) |
43.0.0 |
OSV |
Fix
Upgrade — crates.io/wasmtime 36.0.19; crates.io/wasmtime 43.0.0official source
Source : GitHub Advisory
Upgrade — crates.io/wasmtime 36.0.19; crates.io/wasmtime 43.0.0official source
Source : OSV
Workaround
No workaround provided.
Check whether you are affected
No verification method provided.
Timeline
- — CVE published (cve)
CERT-FR advisories
- GHSA-897f-g5gm-fmxm — Wasmtime: Bit-packing in Cranelift compiler causes silent overflow and miscompilation 23 Oct 2026
- RUSTSEC-2026-0380 — Bit-packing in Cranelift compiler causes silent overflow and miscompilation 19 Oct 2026
References
- https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-897f-g5gm-fmxmx_refsource_CONFIRM
- https://github.com/bytecodealliance/wasmtime/pull/12613x_refsource_MISC
- https://github.com/bytecodealliance/wasmtime/pull/14818x_refsource_MISC
- https://github.com/bytecodealliance/wasmtime/commit/ba8f7d70caa1825b7f64fa75cd9d03f4a438dae0x_refsource_MISC
- https://github.com/bytecodealliance/wasmtime/commit/f517bd6e890c7c1291ab9fe05d8cc0c9f11e56aax_refsource_MISC
- https://github.com/bytecodealliance/wasmtime/releases/tag/v36.0.19x_refsource_MISC
- https://github.com/bytecodealliance/wasmtime/releases/tag/v43.0.0x_refsource_MISC
- https://github.com/bytecodealliance/wasmtimePACKAGE
- https://rustsec.org/advisories/RUSTSEC-2026-0380.htmlADVISORY
- https://crates.io/crates/wasmtimePACKAGE
Data provenance
- Status
- NVD
- Publication date
- NVD
- Description
- CNA (vendor or assigner)
- CVSS score
- CNA (vendor or assigner)
- Weakness (CWE)
- NVD
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H(CVSS 3.1, CNA:GitHub_M)- Weakness
- CWE-197 · Autre (CWE-197)