Type Confusion in Wasmtime - CVE-2024-30266

 

Type Confusion in Wasmtime - CVE-2024-30266

Published: April 2, 2024 / Updated: April 23, 2026


Vulnerability identifier: #VU127036
CSH Severity: Low
CVSSv4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2024-30266
CWE-ID: CWE-843
Exploitation vector: Local access
Exploit availability: No public exploit available
Vulnerable software:
Wasmtime
Software vendor:
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.


Remediation

Install security update from vendor's website.

External links