cvedb.io
CVE-2022-31104
MEDIUM · CVSS 4.8
EPSS exploitation probability: 0%
Published 2022-06-28T00:15:08.177 · Last modified 2026-06-17T04:44:48.360

Summary

Wasmtime is a standalone runtime for WebAssembly. In affected versions wasmtime's implementation of the SIMD proposal for WebAssembly on x86_64 contained two distinct bugs in the instruction lowerings implemented in Cranelift. The aarch64 implementation of the simd proposal is not affected. The bugs were presented in the `i8x16.swizzle` and `select` WebAssembly instructions. The `select` instruction is only affected when the inputs are of `v128` type. The correspondingly affected Cranelift instructions were `swizzle` and `select`. The `swizzle` instruction lowering in Cranelift erroneously overwrote the mask input register which could corrupt a constant value, for example. This means that future uses of the same constant may see a different value than the constant itself. The `select` inst

Affected products

bytecodealliance — cranelift-codegen

Does this affect you?

Add your gear to cvedb and we'll alert you only when bytecodealliance ships something exploited.

Check my exposure →

References

This product uses data from the NVD API but is not endorsed or certified by the NVD. Informational only; not professional security advice.