Red Hat VEX
RHVEX-CVE-2026-115893
wasmtime: Wasmtime: Cranelift backend on aarch64 can jump to incorrect target on large Wasm `br_table` instruction
Details
A flaw was found in Wasmtime. When compiling WebAssembly (Wasm) branch table instructions with an unusually large number of targets on 64-bit ARM (AArch64) systems, the Cranelift compiler backend generates an incorrect branch target. An attacker supplying a specially crafted WebAssembly module can exploit this vulnerability to redirect execution to arbitrary code offsets, allowing the module to escape the runtime sandbox and execute arbitrary code on the host system.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Red Hat:enterprise_linux:10 | libtree-sitter | All versions, no fix yet |
| Red Hat:enterprise_linux:10 | libtree-sitter-devel | All versions, no fix yet |
References
- https://access.redhat.com/security/cve/CVE-2026-115893
- https://bugzilla.redhat.com/show_bug.cgi?id=2560222
- https://www.cve.org/CVERecord?id=CVE-2026-115893
- https://nvd.nist.gov/vuln/detail/CVE-2026-115893
- https://github.com/bytecodealliance/wasmtime/commit/222ff3a65dab9aa7011f8c246937751a0bac5abd
- https://github.com/bytecodealliance/wasmtime/commit/994549891c8a706cb4f2809f9d17b9f67b31e618
- https://github.com/bytecodealliance/wasmtime/commit/e61df1b454be9313d61a5f8de07722a421139bbe
- https://github.com/bytecodealliance/wasmtime/commit/f517bd6e890c7c1291ab9fe05d8cc0c9f11e56aa
- https://github.com/bytecodealliance/wasmtime/pull/14818
- https://github.com/bytecodealliance/wasmtime/pull/14819
- https://github.com/bytecodealliance/wasmtime/pull/14820
- https://github.com/bytecodealliance/wasmtime/pull/14826
- https://github.com/bytecodealliance/wasmtime/releases/tag/v36.0.19
- https://github.com/bytecodealliance/wasmtime/releases/tag/v48.0.7
- https://github.com/bytecodealliance/wasmtime/releases/tag/v49.0.4
- https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-mghf-wjfp-p5xm