---
id: CVE-2022-31104
aliases:
  - RUSTSEC-2022-0095
  - GHSA-jqwc-c49r-4w2x
title: Miscompilation of `i8x16.swizzle` and `select` with v128 inputs
summary: Miscompilation of `i8x16.swizzle` and `select` with v128 inputs
severity: none
vendor: wasmtime
product: wasmtime
ecosystem: rust
affected:
  - 'wasmtime >= 0.0.0-0, < 0.38.1'
patched:
  - wasmtime 0.38.1
published: '2022-06-27'
updated: '2026-10-12'
sourceUpdated: '2026-10-12T18:00:06.109610707Z'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/RUSTSEC-2022-0095'
references:
  - url: 'https://crates.io/crates/wasmtime'
  - url: 'https://rustsec.org/advisories/RUSTSEC-2022-0095.html'
  - url: 'https://github.com/bytecodealliance/wasmtime/pull/4317'
tags:
  - osv
  - rust
epss: 0.01785
epssPercentile: 0.78188
ingestedAt: '2026-10-13T11:45:30.159Z'
---

## Overview

This is an entry in the RustSec database for the Wasmtime security advisory
located at
https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-jqwc-c49r-4w2x.
For more information see the GitHub-hosted security advisory.

## Affected packages

- `wasmtime >= 0.0.0-0, < 0.38.1`

## Remediation

Upgrade to a patched release:

- `wasmtime 0.38.1`
