# CVE-2026-115889: Wasmtime: Bit-packing in Cranelift compiler causes silent overflow and miscompilation

- Severity: Critical 9.9 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.82%, higher than 58% of CVEs (2026-12-01)
- Published: 2026-10-19T12:00:00.000Z
- Modified: 2026-10-26T18:17:38.213Z
- Also known as: GHSA-897f-g5gm-fmxm, RUSTSEC-2026-0380
- Weaknesses: CWE-197, CWE-843
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- bytecodealliance wasmtime: < 36.0.19; >= 37.0.0, < 43.0.0
- wasmtime (crates.io): before 36.0.19; from 37.0.0 before 43.0.0; from 0.0.0-0 before 36.0.19

## Every score

- GitHub_M: CVSS:3.1 9.9 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.9 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- RustSec Advisory Database: CVSS:3.1 9.9 Critical `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> (web)
- <https://github.com/bytecodealliance/wasmtime/pull/12613> (web)
- <https://github.com/bytecodealliance/wasmtime/pull/14818> (web)
- <https://github.com/bytecodealliance/wasmtime/commit/ba8f7d70caa1825b7f64fa75cd9d03f4a438dae0> (web)
- <https://github.com/bytecodealliance/wasmtime/commit/f517bd6e890c7c1291ab9fe05d8cc0c9f11e56aa> (web)
- <https://github.com/bytecodealliance/wasmtime/releases/tag/v36.0.19> (web)
- <https://github.com/bytecodealliance/wasmtime/releases/tag/v43.0.0> (web)
- <https://github.com/bytecodealliance/wasmtime> (package)
- <https://rustsec.org/advisories/RUSTSEC-2026-0380.html> (advisory, web)
- <https://crates.io/crates/wasmtime> (package)

## Sources

- CVE List: [CVE-2026-115889](https://www.cve.org/CVERecord?id=CVE-2026-115889), CVE Terms of Use, modified 2026-10-26
- GitHub Advisory Database: [GHSA-897f-g5gm-fmxm](https://github.com/advisories/GHSA-897f-g5gm-fmxm), CC-BY-4.0, modified 2026-10-23
- RustSec Advisory Database: [RUSTSEC-2026-0380](https://rustsec.org/advisories/RUSTSEC-2026-0380.html), CC0-1.0, modified 2026-10-24
- NVD: [CVE-2026-115889](https://nvd.nist.gov/vuln/detail/CVE-2026-115889), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-115889 · Whole record: https://cve.day/CVE-2026-115889.json · Rebuilt by cve.day 2026-11-25T22:59:47.016Z
