JLSEC-2026-2440: Wasmtime before 36.0.16, 37.0.0 before 48.0.3, and 49.0.0 before 49.0.1 does not adequately...
Wasmtime before 36.0.16, 37.0.0 before 48.0.3, and 49.0.0 before 49.0.1 does not adequately account for host allocations when lifting guest values through the dynamically-typed Val API, bypassing the hostcall fuel limit. A malicious WebAssembly guest can return crafted values that allocate at least ~100x more host memory than tracked, causing denial of service.
Affected Software
Event History
Child vulnerabilities
Contains the following vulnerabilities.
Frequently Asked Questions
What conditions are required for exploitation?
An attacker needs to provide or control a malicious WebAssembly guest and induce it to return crafted values through Wasmtime's dynamically typed Val API. Exploitation also requires a host configuration that relies on the hostcall fuel limit to constrain resource use.
What is the practical impact?
A malicious guest can cause host memory allocations of at least approximately 100 times the amount tracked by the fuel limit. This can exhaust host memory and result in denial of service; no confidentiality or integrity impact is stated.
Which Wasmtime releases are affected?
Affected releases are versions before 36.0.16, versions from 37.0.0 before 48.0.3, and versions from 49.0.0 before 49.0.1. The provided data identifies julia/wasmtime_jll as the affected software.