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

Published Dec 4, 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

1 affected component
julia/wasmtime_jll*

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in v36.0.19
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in v48.0.7
  3. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in v49.0.4

Event History

Dec 4, 2026
Advisory Published
via OSV·09:46 PM
Data Sourced
via OSV·09:46 PM
DescriptionSeverityAffected Software

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

Which deployments are exposed?

Wasmtime engines running on aarch64 are affected when using the Cranelift compiler backend. The issue affects default settings and applies to Wasmtime/Cranelift versions with aarch64 support dating back to its initial 2020 release, before Wasmtime v1.0.

2

What does an attacker need to exploit this?

An attacker needs to provide a user-controlled WebAssembly module containing a br_table instruction with more than approximately 256,000 targets. No user interaction is required, but the affected engine must compile and run that module on aarch64.

3

What is the practical impact of successful exploitation?

The malformed compilation can cause a conditional branch to target arbitrary other code at a user-controlled offset. This can lead to arbitrary sandbox escapes with high impact to confidentiality, integrity, and availability.

4

What should be done to remediate the issue?

Upgrade to a fixed Wasmtime release: v36.0.19, v48.0.7, or v49.0.4. These releases contain the fix for the incorrect branch-target generation.

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