#VU127037 Time-of-check Time-of-use (TOCTOU) Race Condition in Wasmtime - CVE-2024-47813
Published: October 9, 2024 / Updated: April 23, 2026
Wasmtime
Bytecode Alliance
Description
The vulnerability allows a local privileged user to violate WebAssembly control-flow integrity and type safety, or cause a denial of service.
The vulnerability exists due to a time-of-check time-of-use race condition in Wasmtime's internal type registry when creating and dropping multiple type instances concurrently across multiple threads associated with the same wasmtime::Engine. A local privileged user can trigger concurrent type registration and unregistration operations to violate WebAssembly control-flow integrity and type safety, or cause a denial of service.
Wasm guests cannot trigger this bug. User interaction is required.