GHSA-mghf-wjfp-p5xm: Critical severity rust/wasmtime vulnerability

Published Oct 28, 2026
·
Updated

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

Affected Software

3 affected componentsFixes available
rust/wasmtime>=49.0.0<49.0.4
49.0.4
rust/wasmtime>=37.0.0<48.0.7
48.0.7
rust/wasmtime<36.0.19
36.0.19

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade rust/wasmtime to a version that resolves this vulnerability.

    Fixed in 49.0.4
  2. Upgrade

    Upgrade rust/wasmtime to a version that resolves this vulnerability.

    Fixed in 48.0.7
  3. Upgrade

    Upgrade rust/wasmtime to a version that resolves this vulnerability.

    Fixed in 36.0.19
  4. Upgrade

    Upgrade Wasmtime/Cranelift to a version that resolves this vulnerability.

    Fixed in 36.0.19
  5. Upgrade

    Upgrade Wasmtime/Cranelift to a version that resolves this vulnerability.

    Fixed in 48.0.7
  6. Upgrade

    Upgrade Wasmtime/Cranelift to a version that resolves this vulnerability.

    Fixed in 49.0.4

Event History

Oct 28, 2026
Advisory Published
via GitHub·09:14 PM
Data Sourced
via GitHub·09:14 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

Which deployments are exposed?

Wasmtime engines using the Cranelift backend on aarch64 are affected under default settings. The issue affects all Wasmtime/Cranelift versions with aarch64 support, including releases before Wasmtime v1.0.

2

What must an attacker provide to exploit this?

An attacker needs to supply a user-controlled Wasm module containing a br_table instruction with more than approximately 256,000 targets. Exploitation can cause a conditional branch to jump to arbitrary code at a user-controlled offset, enabling a sandbox escape.

3

Are default configurations affected?

Yes. An aarch64 Wasmtime engine running with default settings can be forced to jump to arbitrary code by a user-controlled Wasm module.

4

Which fixed releases are available?

The issue is fixed in Wasmtime v36.0.19, v48.0.7, and v49.0.4.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203