CVE-2026-126408
Wasmtime 47.0.0 before 48.0.8, 49.0.0 before 49.0.5, and 50.0.0 before 50.0.1 contains an insufficient type-check in the TypedFunc embedder API for I31, Option…
Impact
Wasmtime 47.0.0 before 48.0.8, 49.0.0 before 49.0.5, and 50.0.0 before 50.0.1 contains an insufficient type-check in the TypedFunc embedder API for I31, Option<I31>, and Option<NoneRef> parameter or result types, reaching an unreachable!() path. A malicious guest module exporting a function that uses another anyref-hierarchy type can panic the host embedding, causing denial of service.
An attacker can exploit this from the same local network, with an administrator account, but a user has to be involved, for example by viewing content. Specific conditions have to be met, which makes an attack harder. If it succeeds: low risk of outages.
Affected products · Bytecodealliance
| Product | Affected versions |
|---|---|
| Wasmtime | from 47.0.0 before 48.0.8 from 49.0.0 before 49.0.5 from 50.0.0 before 50.0.1 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-3982-jqvv-277m
- https://www.vulncheck.com/advisories/wasmtime-47.0.0-before-48.0.8-denial-of-service-via-typedfunc-type-check-panic
- https://github.com/advisories/GHSA-h5ch-mmp3-rm7x
- https://nvd.nist.gov/vuln/detail/CVE-2026-126408