#VU127037 Time-of-check Time-of-use (TOCTOU) Race Condition in Wasmtime - CVE-2024-47813

 

#VU127037 Time-of-check Time-of-use (TOCTOU) Race Condition in Wasmtime - CVE-2024-47813

Published: October 9, 2024 / Updated: April 23, 2026


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


Remediation

Install security update from vendor's website.

External links