Type Confusion in Wasmtime - CVE-2024-30266
Published: April 2, 2024 / Updated: April 23, 2026
Wasmtime
Bytecode Alliance
Description
The vulnerability allows a local user to cause a denial of service.
The vulnerability exists due to improper handling of type mismatches in element segments in Wasmtime table instruction handling when executing a crafted WebAssembly module that issues a table.* instruction using a dropped element segment with an externref-typed table. A local user can execute a specially crafted WebAssembly module to cause a denial of service.
The issue requires the reference-types WebAssembly feature to be enabled, and toolchains are not known to generate the triggering pattern by default.