Description (CNA)
Wasmtime before 24.0.12, 25.0.0 before 36.0.13, 37.0.0 before 46.0.2, and 47.0.0 before 47.0.3 contains a type confusion vulnerability because several Store APIs fail to validate that objects belong to the Store's Engine. Embedders mixing objects between Engines via Instance::new, StructRefPre::new, or Tag::new can trigger trampoline signature mismatches causing out-of-bounds stack writes, GC heap corruption, or panics.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| bytecodealliance / wasmtime | affected 0 before 24.0.12; unaffected 24.0.12; affected 25.0.0 before 36.0.13; unaffected 36.0.13; affected 37.0.0 before 46.0.2; unaffected 46.0.2; affected 47.0.0 before 47.0.3; unaffected 47.0.3 |
CWE
CWE-787