CVE-2026-126408
Wasmtime 47.0.0 before 48.0.8 Denial of Service via TypedFunc Type-Check Panic
1.0
Description
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.
Affected products and versions
| Product / package | Ecosystem / vendor | Versions | Fixed in | Source |
|---|---|---|---|---|
| wasmtime | bytecodealliance | 47.0.0 → <48.0.8 | 48.0.8 | CVE.org |
| wasmtime | bytecodealliance | 49.0.0 → <49.0.5 | 49.0.5 | CVE.org |
| wasmtime | bytecodealliance | 50.0.0 → <50.0.1 | 50.0.1 | CVE.org |