JLSEC-2026-2435: Wasmtime 39.0.0 before 48.0.4 and 49.0.0 before 49.0.2 contains a stack buffer overflow...
Wasmtime 39.0.0 before 48.0.4 and 49.0.0 before 49.0.2 contains a stack buffer overflow vulnerability that allows malicious guests to write ~16KB to the native stack via unvalidated async callback result types. Attackers can supply components with mistyped component-model-async callback functions to overwrite return addresses, crashing the host or escaping the sandbox.
Affected Software
Event History
Child vulnerabilities
Contains the following vulnerabilities.
Frequently Asked Questions
Who is exposed to this issue?
Hosts using the affected Wasmtime versions are exposed when they execute malicious WebAssembly components that use mistyped component-model async callback functions. The issue affects julia/wasmtime_jll where it includes Wasmtime 39.0.0 through before 48.0.4, or 49.0.0 through before 49.0.2.
What does an attacker need to exploit it?
An attacker needs to supply a malicious guest component containing component-model async callback functions with unvalidated result types. No user interaction is required, but the vulnerable host must execute the attacker-controlled component.
What can happen if exploitation succeeds?
A malicious guest can write approximately 16 KB to the native stack, potentially overwriting return addresses. This can crash the host or allow the guest to escape the Wasmtime sandbox.
Which versions should be used to remediate the issue?
Upgrade to Wasmtime 48.0.4 or later on the 48.x line, or 49.0.2 or later on the 49.x line. Versions earlier than 39.0.0 are not identified as affected by the provided advisory data.