SB2022062842 - Incorrect calculation in Wasmtime



SB2022062842 - Incorrect calculation in Wasmtime

Published: June 28, 2022 Updated: April 23, 2026

Security Bulletin ID SB2022062842
CSH Severity
Medium
Patch available
YES
Number of vulnerabilities 1
Exploitation vector Remote access
Highest impact Data manipulation

Breakdown by Severity

Medium 100%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 1 vulnerability.


1) Incorrect calculation (CVE-ID: CVE-2022-31104)

CWE-ID: CWE-682 - Incorrect Calculation

CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Green


The vulnerability allows a remote attacker to cause incorrect program execution within a guest program.

The vulnerability exists due to improper instruction lowering in Cranelift swizzle lowering when executing the i8x16.swizzle WebAssembly instruction on x86_64 hosts. A remote attacker can execute a specially crafted WebAssembly program to cause incorrect program execution within a guest program.

Only x86_64 hosts with WebAssembly SIMD support are affected.


Remediation

Install update from vendor's website.