SB2026041012 - Use-after-free in Wasmtime
Published: April 10, 2026
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 1 security vulnerability.
1) Use-after-free (CVE-ID: CVE-2022-31146)
The vulnerability allows a remote user to trigger a use-after-free.
The vulnerability exists due to use-after-free in Cranelift code generator when processing WebAssembly modules using reference types and garbage collection occurs during active Wasm stack frames. A remote user can supply a WebAssembly module that uses non-null externref values and triggers garbage collection to trigger a use-after-free.
Exploitation requires a Wasmtime host to pass a non-null externref value to a WebAssembly module.
Remediation
Install update from vendor's website.