Advisory

GHSA-mghf-wjfp-p5xm

Also known as: CVE-2026-115893, RUSTSEC-2026-0379

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.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2026-10-28 21:14 UTC
Modified
2026-10-28 21:30 UTC

Affected packages and fixes

wasmtime

crates.io · All systems

Affected

  • introduced 0, fixed 36.0.19 (semver)

Fixed versions

36.0.19

Fix

  • Fixed version 36.0.19
    cargo update -p wasmtime --precise 36.0.19

wasmtime

crates.io · All systems

Affected

  • introduced 37.0.0, fixed 48.0.7 (semver)

Fixed versions

48.0.7

Fix

  • Fixed version 48.0.7
    cargo update -p wasmtime --precise 48.0.7

wasmtime

crates.io · All systems

Affected

  • introduced 49.0.0, fixed 49.0.4 (semver)

Fixed versions

49.0.4

Fix

  • Fixed version 49.0.4
    cargo update -p wasmtime --precise 49.0.4

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences