Home › CVE › Vulnerabilities
CVE-2026-140417 — bytecodealliance wasmtime
One of 8 bytecodealliance wasmtime vulnerabilities published together by NVD: our article covers all of them.
VulnerabilitiesSummary
Wasmtime before 36.0.21, 37.0.0 before 48.0.9, 49.0.0 before 49.0.6, and 50.0.0 before 50.0.2 panics in Caller::get_module_export when a host function is invoked by the embedder rather than from WebAssembly, because Caller then refers to a placeholder instance with no module. A malicious core WebAssembly module can import a host function that uses this API and re-export it to the embedder, crashing the host when the embedder calls it.
Severity breakdown
Low · 2.1
An attacker with administrator rights can exploit this over the network, without any user action, but only under specific conditions.
- Attack from
- the network (remotely)
- Attack complexity
- high (only works under specific conditions)
- Special conditions
- only in some setups or conditions
- Login needed
- yes, an administrator account
- User action needed
- no
- Impact
- low on availability, none on confidentiality and integrity
- Impact on other systems
- none
Weakness
- CWE-617: Reachable Assertion
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| bytecodealliance wasmtime | < 36.0.21 | 36.0.21 |
| bytecodealliance wasmtime | ≥ 37.0.0, < 48.0.9 | 48.0.9 |
| bytecodealliance wasmtime | ≥ 49.0.0, < 49.0.6 | 49.0.6 |
| bytecodealliance wasmtime | ≥ 50.0.0, < 50.0.2 | 50.0.2 |
References by type
Vendor advisories
Other references
Affected
- bytecodealliance wasmtime
What to do
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-140417?
Wasmtime before 36.0.21, 37.0.0 before 48.0.9, 49.0.0 before 49.0.6, and 50.0.0 before 50.0.2 panics in Caller::getmoduleexport when a host function is invoked by the embedder rather than from WebAssembly, because Caller then refers to a placeholder instance with no module. Weakness type: Reachable Assertion (CWE-617).
How severe is CVE-2026-140417?
CVE-2026-140417 has a CVSS 4.0 base score of 2.1 (low), from the CNA (vulncheck.com). An attacker with administrator rights can exploit this over the network, without any user action, but only under specific conditions.
Is CVE-2026-140417 being exploited?
Not as far as is known: CVE-2026-140417 is not in CISA's Known Exploited Vulnerabilities catalog as of December 2, 2026.
Which versions are affected by CVE-2026-140417?
bytecodealliance wasmtime < 36.0.21 (fixed in 36.0.21); bytecodealliance wasmtime ≥ 37.0.0, < 48.0.9 (fixed in 48.0.9); bytecodealliance wasmtime ≥ 49.0.0, < 49.0.6 (fixed in 49.0.6); bytecodealliance wasmtime ≥ 50.0.0, < 50.0.2 (fixed in 50.0.2).
How do I fix CVE-2026-140417?
Update to a fixed release: bytecodealliance wasmtime 36.0.21; bytecodealliance wasmtime 48.0.9; bytecodealliance wasmtime 49.0.6.