Home › CVE › Vulnerabilities
CVE-2026-140416 — bytecodealliance wasmtime
One of 8 bytecodealliance wasmtime vulnerabilities published together by NVD: our article covers all of them.
VulnerabilitiesSummary
Wasmtime 47.0.0 before 48.0.9, 49.0.0 before 49.0.6, and 50.0.0 before 50.0.2, when built without the gc Cargo feature, calls a panicking stub builtin from compiled code when checking a function subtype at runtime, and the panic cannot unwind. A malicious guest module can declare a non-final function type and perform call_indirect, ref.test, ref.cast, or br_on_cast against it to abort the host process.
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 | ≥ 50.0.0, < 50.0.2 | 50.0.2 |
| bytecodealliance wasmtime | ≥ 49.0.0, < 49.0.6 | 49.0.6 |
| bytecodealliance wasmtime | ≥ 47.0.0, < 48.0.9 | 48.0.9 |
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-140416?
Wasmtime 47.0.0 before 48.0.9, 49.0.0 before 49.0.6, and 50.0.0 before 50.0.2, when built without the gc Cargo feature, calls a panicking stub builtin from compiled code when checking a function subtype at runtime, and the panic cannot unwind. A malicious guest module can declare a non-final function type and perform callindirect, ref.test, ref.cast, or broncast against it to abort the host process. Weakness type: Reachable Assertion (CWE-617).
How severe is CVE-2026-140416?
CVE-2026-140416 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-140416 being exploited?
Not as far as is known: CVE-2026-140416 is not in CISA's Known Exploited Vulnerabilities catalog as of December 2, 2026.
Which versions are affected by CVE-2026-140416?
bytecodealliance wasmtime ≥ 50.0.0, < 50.0.2 (fixed in 50.0.2); bytecodealliance wasmtime ≥ 49.0.0, < 49.0.6 (fixed in 49.0.6); bytecodealliance wasmtime ≥ 47.0.0, < 48.0.9 (fixed in 48.0.9).
How do I fix CVE-2026-140416?
Update to a fixed release: bytecodealliance wasmtime 50.0.2; bytecodealliance wasmtime 49.0.6; bytecodealliance wasmtime 48.0.9.