# GHSA-MGHF-WJFP-P5XM: Wasmtime: Cranelift backend on aarch64 can jump to incorrect target on large Wasm br\_table instruction

- Database: GitHub
- Severity: critical (stated by ghsa, no CVSS score)
- Published: 2026-10-28
- Modified: 2026-10-28

## Tracked as

- [CVE-2026-115893](https://cve.now/CVE-2026-115893.md): Wasmtime: Cranelift backend on aarch64 can jump to incorrect target on large Wasm br\_table instruction

## Also published as

- [RUSTSEC-2026-0379](https://cve.now/RUSTSEC-2026-0379.md) (RustSec)

## Affected versions

- wasmtime (crates.io): fixed in 36.0.19
- wasmtime (crates.io): from 37.0.0, fixed in 48.0.7
- wasmtime (crates.io): from 49.0.0, fixed in 49.0.4

## Description

## Summary

When running with the Cranelift compiler backend on an aarch64 target, Wasmtime can compile a Wasm module with more than ~256k targets on one `br_table` instruction in a way that results in an incorrect conditional branch target. This conditional branch could then jump to arbitrary other code (at an user-controlled offset), leading to arbitrary sandbox escapes.

## Impact

Any Wasmtime engine running on aarch64 with default settings can be forced to jump to arbitrary code by a user-controlled Wasm module. All versions of Wasmtime/Cranelift that support aarch64, since the initial release of that support in 2020 (before Wasmtime v1.0), are affected.

## Patches

Wasmtime v36.0.19, v48.0.7, and v49.0.4 have been released which all fix this issue.

## References

- https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-mghf-wjfp-p5xm
- https://nvd.nist.gov/vuln/detail/CVE-2026-115893
- https://github.com/bytecodealliance/wasmtime/pull/14818
- https://github.com/bytecodealliance/wasmtime/pull/14819
- https://github.com/bytecodealliance/wasmtime/pull/14820
- https://github.com/bytecodealliance/wasmtime/pull/14826
- https://github.com/bytecodealliance/wasmtime/commit/222ff3a65dab9aa7011f8c246937751a0bac5abd
- https://github.com/bytecodealliance/wasmtime/commit/994549891c8a706cb4f2809f9d17b9f67b31e618
- https://github.com/bytecodealliance/wasmtime/commit/e61df1b454be9313d61a5f8de07722a421139bbe
- https://github.com/bytecodealliance/wasmtime/commit/f517bd6e890c7c1291ab9fe05d8cc0c9f11e56aa
- https://github.com/bytecodealliance/wasmtime
- https://github.com/bytecodealliance/wasmtime/releases/tag/v36.0.19
- https://github.com/bytecodealliance/wasmtime/releases/tag/v48.0.7
- https://github.com/bytecodealliance/wasmtime/releases/tag/v49.0.4
- https://rustsec.org/advisories/RUSTSEC-2026-0379.html

Page: https://cve.now/GHSA-MGHF-WJFP-P5XM

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
