CVE-2026-115893
JSON

9.9critical

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

Severity
9.9critical CVSS:3.1 by GitHub_M
Exploit likelihood
1.02% (higher than 64% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-mghf-wjfp-p5xmRUSTSEC-2026-0379

Description

Wasmtime is a runtime for WebAssembly. Prior to 36.0.19, 48.0.7, and 49.0.4, the Cranelift compiler backend on aarch64 can compile a Wasm br_table instruction with more than approximately 256,000 targets so that it has an incorrect conditional branch target. The branch can then jump to arbitrary other code at a user-controlled offset, allowing a user-controlled Wasm module to escape the sandbox on aarch64 engines using the default Cranelift backend. This issue is fixed in versions 36.0.19, 48.0.7, and 49.0.4.

Affected

Product or packageVersionsReported by
bytecodealliance wasmtime< 36.0.19, >= 37.0.0, < 48.0.7, >= 49.0.0, < 49.0.4CVE List
wasmtime (crates.io)before 36.0.19, from 37.0.0 before 48.0.7, from 49.0.0 before 49.0.4, from 0.0.0-0 before 36.0.19GitHub Advisory Database, RustSec Advisory Database

All scores

GitHub_M9.9critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
GitHub9.9critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
RustSec Advisory Database9.9critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Classification

CWE-691

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

Wasmtime is a runtime for WebAssembly. Prior to 36.0.19, 48.0.7, and 49.0.4, the Cranelift compiler backend on aarch64 can compile a Wasm br_table instruction with more than approximately 256,000 targets so that it has an incorrect conditional branch target. The branch can then jump to arbitrary other code at a user-controlled offset, allowing a user-controlled Wasm module to escape the sandbox on aarch64 engines using the default Cranelift backend. This issue is fixed in versions 36.0.19, 48.0.7, and 49.0.4.

GitHub Advisory Database

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.

RustSec Advisory Database

This is an entry in the RustSec database for the Wasmtime security advisory located at https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-mghf-wjfp-p5xm For more information see the GitHub-hosted security advisory.

References

https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-mghf-wjfp-p5xmweb
https://github.com/bytecodealliance/wasmtime/pull/14818web
https://github.com/bytecodealliance/wasmtime/pull/14819web
https://github.com/bytecodealliance/wasmtime/pull/14820web
https://github.com/bytecodealliance/wasmtime/pull/14826web
https://github.com/bytecodealliance/wasmtime/commit/222ff3a65dab9aa7011f8c246937751a0bac5abdweb
https://github.com/bytecodealliance/wasmtime/commit/994549891c8a706cb4f2809f9d17b9f67b31e618web
https://github.com/bytecodealliance/wasmtime/commit/e61df1b454be9313d61a5f8de07722a421139bbeweb
https://github.com/bytecodealliance/wasmtime/commit/f517bd6e890c7c1291ab9fe05d8cc0c9f11e56aaweb
https://github.com/bytecodealliance/wasmtime/releases/tag/v36.0.19web
https://github.com/bytecodealliance/wasmtime/releases/tag/v48.0.7web
https://github.com/bytecodealliance/wasmtime/releases/tag/v49.0.4web

Sources

SourceRecordLicence
CVE ListCVE-2026-115893 changed 2026-10-29CVE Terms of Use
GitHub Advisory DatabaseGHSA-mghf-wjfp-p5xm changed 2026-10-28CC-BY-4.0
RustSec Advisory DatabaseRUSTSEC-2026-0379 changed 2026-10-24CC0-1.0
NVDCVE-2026-115893 changed 2026-10-29Public domain