Incorrect calculation in Wasmtime - CVE-2022-31169
Published: July 20, 2022 / Updated: April 23, 2026
Wasmtime
Bytecode Alliance
Description
The vulnerability allows a remote attacker to cause incorrect computation results within the WebAssembly sandbox.
The vulnerability exists due to improper handling of sign and zero extension in Cranelift code generation for division operations when compiling WebAssembly programs for AArch64 targets. A remote attacker can execute a specially crafted WebAssembly program to cause incorrect computation results within the WebAssembly sandbox.
Only AArch64 targets are affected.