Time-of-check Time-of-use (TOCTOU) Race Condition in Wasmtime - #VU168908

 

Time-of-check Time-of-use (TOCTOU) Race Condition in Wasmtime - #VU168908

Published: November 21, 2026


Vulnerability identifier: #VU168908
CSH Severity: Low
CVSS v4: 5.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-367
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to send UDP datagrams to destinations that the embedder's policy permits only for receiving.

The vulnerability exists due to a time-of-check/time-of-use race condition in the wasip3 UDP socket host implementation when the peer checked by the send policy differs from the peer used for delivery. A remote user can use the guest UDP socket API to bypass the embedder's per-address send restrictions.


Affected software

Wasmtime

Remediation

Install security update from vendor's website.

Wasmtime - addressed in versions 48.0.8, 49.0.5, 50.0.1

External References

Related Security Bulletins