Vulnerability GHSA-mghf-wjfp-p5xm

Critical
CRITICAL RISK
CVSS Score: 9.9
Score Range: 9.0–10.0
Critical severity vulnerabilities (CVSS 9.0–10.0). These represent the highest impact issues.
2 days ago
October 28, 2026 at 09:14 PM UTC
Wasmtime: Cranelift backend on aarch64 can jump to incorrect target on large Wasm `br_table` instruction
0.0.0 - 36.0.18 and 37.0.0 - 48.0.6 and 49.0.0 - 49.0.3
0.0.0 - 36.0.18 and 37.0.0 - 48.0.6 and 49.0.0 - 49.0.3

Summary

Wasmtime: Cranelift backend on aarch64 can jump to incorrect target on large Wasm `br_table` instruction

Details

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.

Impacted packages

Timeline

Published
2 days ago
October 28, 2026 at 09:14 PM UTC
Fixed (36.0.19)
11 days ago
October 19, 2026 at 07:05 PM UTC
Fixed (49.0.4)
11 days ago
October 19, 2026 at 07:15 PM UTC
Fixed (48.0.7)
11 days ago
October 19, 2026 at 07:16 PM UTC
Last Modified
2 days ago
October 28, 2026 at 09:30 PM UTC