01 Record
CVE-2022-31104
Miscompilation of `i8x16.swizzle` and `select` with v128 inputs in Wasmtime
MediumPUBLISHEDCNA: GitHub_M
CNA base score4.8 CVSS v3.xCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L
02 Description
Miscompilation of `i8x16.swizzle` and `select` with v128 inputs in Wasmtime
03 Exploitation and scoring
- Exploitation
- Assessed, none found. CISA's assessment recorded neither public exploit code nor evidence of exploitation when it was made.
- SSVC decision
- ExploitationnoneCISA recorded no public exploit code and no evidence of exploitation.
- AutomatablenoAt least one step from reconnaissance to exploitation cannot be reliably automated.
- Technical ImpactpartialSuccessful exploitation gives limited control of the vulnerable component.
- EPSS probability
- 1.78% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 78.1% of scored records. A rank, not a probability.
- NVD base score
- 5.6 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-17.
- Red Hat severity
- No Red Hat rating. Red Hat rates the CVEs that affect its products.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2022-06-27 23:20Z4 YR AGO
- Last updated
- 2025-04-23 18:06Z1 YR AGO
- Reserved
- 2022-05-18
- Assigning CNA
- GitHub_M
- Record state
- PUBLISHED
- Severity
- Medium (CVSS 4.8)
- CNA CVSS vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L
- Weaknesses
- CWE-682Incorrect CalculationPillar
- Data version
- 5.1
- Document digest
- 85dbce5c2f014c6758839f1e98f6757dd2a1f9bb212ddfbd1e85ab344eb79ea7
05 Affected products
VendorProductVersionsPlatforms
06 References
- github.comhttps://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-jqwc-c49r-4w2x
- github.comhttps://github.com/bytecodealliance/wasmtime/pull/4317
- github.comhttps://github.com/bytecodealliance/wasmtime/pull/4318
- docs.rshttps://docs.rs/wasmtime/latest/wasmtime/struct.Config.html#method.wasm_simd
- github.comhttps://github.com/webassembly/simd
- webassembly.github.iohttps://webassembly.github.io/spec/