JLSEC-2026-2433: Wasmtime before 36.0.17, 37.0.0 before 48.0.4, and 49.0.0 before 49.0.2 contains an unbounded...
Wasmtime before 36.0.17, 37.0.0 before 48.0.4, and 49.0.0 before 49.0.2 contains an unbounded memory allocation in the wasmtime-wasi WASIp2 write-zeroes method of SinkOutputStream, the default stream used when stdout/stderr are not configured. A malicious WebAssembly guest can request huge zero-filled writes, exhausting host memory and causing denial of service.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 36.0.17 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 48.0.4 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 49.0.2
Event History
Child vulnerabilities
Contains the following vulnerabilities.
Frequently Asked Questions
Who is exposed to this denial-of-service issue?
Hosts that run untrusted or malicious WebAssembly guests through the affected Wasmtime component are exposed when the guest can use WASIp2 output and stdout or stderr is not configured. The affected default output stream is SinkOutputStream.
What must an attacker do to trigger the issue?
The attacker needs to run a malicious WebAssembly guest and cause it to request very large zero-filled writes through the WASIp2 write-zeroes method. Exploitation can exhaust host memory and make the host unavailable.
Which Wasmtime versions need remediation?
Affected versions are releases before 36.0.17, versions from 37.0.0 through before 48.0.4, and versions from 49.0.0 through before 49.0.2. Upgrade to 36.0.17, 48.0.4, 49.0.2, or a later applicable release.