vciy

CVE-2022-31104

INDEX BUILT · 2026-09-20

No source can show you its own past. This one can.

Print this page to keep the view as it stands on this date. Everything hidden behind a disclosure opens, and every receipt prints with its value.

Miscompilation of `i8x16.swizzle` and `select` with v128 inputs in Wasmtime

CVE-2022-311044 of 4 sources documented this
18

rank 18 = 0 + 14 + 0 + 4 + 0

rank@v1 · backlog

Someone is already using it

CISA KEV catalog · public proof-of-concept · FIRST EPSS

EPSS 0.01785  ·  without this subject the record ranks 18

What it costs you if it fires

NVD CVSS base score, then the CNA's own

CVSS 5.6, from NVD  ·  without this subject the record ranks 4

It is getting worse, not staying still

FIRST EPSS series, rescorings and bad loads removed

no persisting rise in 365 days  ·  without this subject the record ranks 18

How much of the world it touches

NVD CPE configurations

2 products in the CPE ranges  ·  without this subject the record ranks 14

Someone else already set the date

CISA KEV remediation due date

no CISA due date  ·  without this subject the record ranks 18

Unaudited dollar value2 of 3 inputs carry a receipt
Exposure$38,100over the next 30 days, if this record is yours
Movementno material movementthe record holds only daily drift and scoring model releases
Basisassumeda published average, not your estate

$38,100 = $4.99M incident cost x 0.42806422275080447 exposure x 0.01785 likelihood

udv@v1 · unaudited · wrong for you until you say what you run

$4.99M is the cost of a breach that happened, from IBM Cost of a Data Breach Report 2026, global average. It is not the value of any asset of yours. That average already covers breaches of every severity, so scaling it by exposure understates a partial-impact record. That is an assumption, not a measurement. Your own asset value goes in the decision record.

Hindsight · the state

0.01785EPSSNOT IN KEVas of 2026-09-20
Severity4.8 MEDIUMreceipt
Harmunauthenticated · networkreceipt
Exploitationnone in held sources
Defenseunaffected versions publishedreceipt
Movementsteadyreceipt
PLATEAU10Minimal movement since 2022-06-28, 1539 days at 0.02, as of 2026-09-14. arc-rules@v1

Foresight · where to check next

No weakness class or product neighbourhood is held for this record, so this index cannot name anywhere to check next. That is an absence in the record, not a finding about the software.

Color is a claim, not decoration:the hostile worldthe defenseno signal

Sources disagree here.

Severity score
GitHub_M4.8 MEDIUMreceipt
NVD5.6 MEDIUMreceipt
What it costs
GitHub_MPartial integrity and availability lossreceipt
NVDPartial confidentiality, integrity and availability lossreceipt

Both shown, dated. We don't pick winners. disagreement-rules@v1

Running bytecodealliance wasmtime? Check your version

A deterministic range check against the ranges this record publishes. It tells you where a version sits in the record, not whether your deployment is exploitable. No account needed.

Watch this record

Matches your own product list against every record this index holds, and tells you when one of them moves.

What counts as a move

Set up a watchlist (needs a Practitioner account)

Record your call

Keep your verdict, your reason and the evidence together. The record takes its date when you save it.

AcceptDeferPatch by…Not affectedMitigated

Choose your verdict, then sign in or use an email link. Your first 100 records are free. Evidence is frozen when the record is created.

Private to your organization unless you share it. Put the proof link in your ticket so a reviewer can inspect the basis for your call. See how decision records work.

Harm, if it fires from the vector and the weakness

Written for the ticket you're about to file.

Reachnetwork-reachable · no privileges required · no user interaction · high attack complexityreceipt
ImpactPartial integrity and availability lossreceipt
Scored fromCVSS v3.1 · the CNA's vectorreceipt
Weakness classCWE-682 Incorrect Calculationreceipt
Published consequencesCWE-682: Availability: DoS: Crash, Exit, or Restart; Integrity, Confidentiality, Availability: DoS: Crash, Exit, or Restart, DoS: Resource Consumption (Other), Execute Unauthorized Code or Commands…[email protected]

CISA KEV & Federal Remediation Deadline from the record and CISA

The fix, and how long it's been waiting.

First unaffected version, by branchcranelift-codegen 0.85.0; wasmtime 0.38.1receipt
Patch available sinceNo dated patch-availability record in held sources. The index holds reference URLs without dates and only the current revision of the CVE record, so the day a fix first existed cannot be derived. Only the versions it landed in.

Exploit Status & Known PoCs a ladder, not a score

Current rung: Nothing observed in held sources.

  • RUNG 1Nothing observed in held sources
  • RUNG 2Proof-of-concept published
  • RUNG 3Exploited in the wild · CISA KEV listed
  • RUNG 4Ransomware campaign use known

Authority who says so

CVSS, the CNA4.8 MEDIUMreceipt
CVSS, NVD5.6 MEDIUMreceipt
Exploit probability0.01785 · top 23% of all CVEsreceipt
Blast breadth2 products across 1 vendorderived
Assigned byGitHub_Mreceipt
Recorded changes40 · last 19 Sep 2026derived

Affected & Fixed Versions as published

Affected productbytecodealliance wasmtimereceipt
Published rangesbytecodealliance cranelift-codegen < 0.85.0; bytecodealliance wasmtime < 0.38.1receipt

A rung lights from a row in the index, never from an assessment. "Held sources" is the true scope of the claim: this index reads the CVE record, NVD, CISA KEV, FIRST's EPSS and public proof-of-concept repositories, and it does not observe attacks.

Did this affect your environment?Answering needs an account.

What it is stated by the CNA

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. receipt

Read the rest of the CNA's description

This means that future uses of the same constant may see a different value than the constant itself. The `select` instruction lowering in Cranelift wasn't correctly implemented for vector types that are 128-bits wide. When the condition was 0 the wrong instruction was used to move the correct input to the output of the instruction meaning that only the low 32 bits were moved and the upper 96 bits of the result were left as whatever the register previously contained (instead of the input being moved from). The `select` instruction worked correctly if the condition was nonzero, however. This bug in Wasmtime's implementation of these instructions on x86_64 represents an incorrect implementation of the specified semantics of these instructions according to the WebAssembly specification. The impact of this is benign for hosts running WebAssembly but represents possible vulnerabilities within the execution of a guest program. For example a WebAssembly program could take unintended branches or materialize incorrect values internally which runs the risk of exposing the program itself to other related vulnerabilities which can occur from miscompilations. We have released Wasmtime 0.38.1 and cranelift-codegen (and other associated cranelift crates) 0.85.1 which contain the corrected implementations of these two instructions in Cranelift. If upgrading is not an option for you at this time, you can avoid the vulnerability by disabling the Wasm simd proposal. Additionally the bug is only present on x86_64 hosts. Other aarch64 hosts are not affected. Note that s390x hosts don't yet implement the simd proposal and are not affected.

NVD's analysis a second authority

severity
5.6 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
weakness
CWE-682
affected versions
bytecodealliance cranelift-codegen < 0.85.0; bytecodealliance wasmtime < 0.38.1
also scored by
[email protected] 4.8 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L

The CNA scored it 4.8 and NVD 5.6. Both are shown because both were published; we do not pick one.

check it yourself github.com github.com github.com docs.rs github.com webassembly.github.io receipt

Movement the material steps

28 Jun 20220.01707
7 Mar 20238.2e-4 · scoring model v2023.03.01
17 Mar 20250.00381 · scoring model v2025.03.14
15 Jun 20260.01283 · scoring model v2026.06.15
14 Sep 20260.01785
Show all 40 observations
28 Jun 20220.01707
9 Jul 20220.02762
7 Mar 20238.2e-4
8 Mar 20230.00082
28 May 20230.00098
4 Jul 20230.00142
30 Jul 20230.00170
2 Oct 20230.00182
8 Dec 20230.00217
18 Jan 20240.00194
16 Feb 20240.00278
16 Mar 20240.00284
15 Apr 20240.00299
17 Dec 20240.00248
23 Dec 20240.00249
5 Jan 20250.00297
31 Jan 20250.00353
12 Mar 20250.00422
17 Mar 20250.00381
22 Mar 20250.00508
29 Mar 20250.01254
30 Mar 20250.00508
23 Apr 20250.00399
15 May 20250.004
23 May 20250.00399
29 Jun 20250.00292
30 Jun 20250.00384
8 Jul 20250.00645
12 Jul 20250.00641
28 Sep 20250.00868
18 Nov 20250.00842
21 Nov 20250.00868
21 Dec 20250.00915
11 Apr 20260.01674
26 May 20260.02098
10 Jun 20260.02431
15 Jun 20260.01283
24 Jun 20260.01625
21 Aug 20260.01734
14 Sep 20260.01785

40 observations held. A highlighted step crossed a promotion threshold. A step marked with a scoring model moved because the instrument was replaced, not because the vulnerability changed. receipt

The full biography

EPSS 0.01785Published2022-06-27Index as of2026-09-14

The record had been public for 4 years, 2 months when this index was last written.

Published 2022-06-27 receipt · Index as of 2026-09-14 derived

Siblings and hubs

Records related to this one

Its defect family

bytecodealliance wasmtime

Of the 2 records in this family, this is the only one whose title names i8x16.swizzle select v128.

Grouped by shared product and weakness, not by shared vulnerability. Each record's own state is on its own page.

Family membership: held values

This record is one of a group, and the group's page describes all of them. This page is kept and dated, and the defect family's own page is the one we offer for indexing: the whole group.

Browse the index from here

These are index-wide views, not findings about CVE-2022-31104.

What usually comes next

Everything above needs no account. What is below is work: assembling it, scoping it to your estate, watching it, and handing it to someone else.

Everything on this page is free. Public data. Withholding it protects nothing.