Description
Wasmtime 46.0.0 before 48.0.6 and 49.0.0 before 49.0.3 panics when the host reads a component model stream as a different Rust item type than it was created with, because the host-to-host read path asserts matching TypeIds instead of returning an error. Guest code can return a host-created StreamReader that the embedder reads as StreamReader, where both types map to the same component model type, crashing the embedding process.
Severity (CVSS)
| Base score | 5.9 |
|---|---|
| Severity | Medium |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N |
| Provided by | CNA |
Weaknesses
- CWE-617 — Reachable Assertion
Affected products
| Vendor | Product | Versions |
|---|---|---|
| bytecodealliance | wasmtime | 46.0.0 to <48.0.6 [affected]; 48.0.6 [unaffected]; 49.0.0 to <49.0.3 [affected]; 49.0.3 [unaffected] |
References
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 30 Oct 2026 07:06 UTC.