CVE-2026-119141: Panic on erroneous call-to-host from guest realloc call
This is an entry in the RustSec database for the Wasmtime security advisory located at https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-7v24-42x9-pxf7 For more information see the GitHub-hosted security advisory.
Other sources
Wasmtime 46.0.0 before 48.0.6 and 49.0.0 before 49.0.3 contains a denial of service vulnerability that allows malicious Wasm modules to panic the host because the mayleave flag is not cleared during realloc. Attackers can call into the host from realloc while lowering stream or future results, such as cancelling the active read or re-waiting a waitable-set, crashing the host.
— MITRE
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
rust/wasmtimeto a version that resolves this vulnerability.Fixed in 48.0.6 - Upgrade
Upgrade
rust/wasmtimeto a version that resolves this vulnerability.Fixed in 49.0.3
Event History
Frequently Asked Questions
Which deployments are exposed to this issue?
Hosts using Wasmtime versions 46.0.0 through before 48.0.6, or versions 49.0.0 through before 49.0.3, are affected when they execute malicious Wasm modules capable of triggering the affected realloc path.
What does an attacker need to do to trigger the crash?
An attacker needs to provide a malicious Wasm module that calls into the host from realloc while stream or future results are being lowered. Examples include cancelling an active read or re-waiting a waitable-set.
How can I determine whether an installation needs remediation?
Check the installed Wasmtime version. Versions earlier than 48.0.6 in the 46.x-to-48.x line, and versions earlier than 49.0.3 in the 49.x line, need to be updated.