Home / bytecodealliance / wasmtime / CVE-2023-27477
CVE-2023-27477: is it exploited, and which versions of bytecodealliance wasmtime are affected and fixed?
CVE-2023-27477 is an off-by-one Error vulnerability in bytecodealliance wasmtime. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 12:08 UTC). Affected: wasmtime from 1.0.0 before 4.0.1, wasmtime from 5.0.0 before 5.0.1, wasmtime from 6.0.0 before 6.0.1 and 3 more (GitHub advisory GHSA-xm67-587q-r2vw). Fixed in 4.0.1, 5.0.1, 6.0.1, 0.91.1 and 2 more (GitHub advisory GHSA-xm67-587q-r2vw). Severity: Low (3.1, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:08 UTC, CVE record November 19, 2026, 07:13 UTC and NVD November 19, 2026, 07:41 UTC.
What is CVE-2023-27477?
wasmtime is a fast and secure runtime for WebAssembly. Wasmtime's code generation backend, Cranelift, has a bug on x86_64 platforms for the WebAssembly `i8x16.select` instruction which will produce the wrong results when the same operand is provided to the instruction and some of the selected indices are greater than 16. There is an off-by-one error in the calculation of the mask to the `pshufb` instruction which causes incorrect results to be returned if lanes are selected from the second vector. This codegen bug has been fixed in Wasmtiem 6.0.1, 5.0.1, and 4.0.1. Users are recommended to upgrade to these updated versions. If upgrading is not an option for you at this time, you can avoid this miscompilation by disabling the Wasm simd proposal. Additionally the bug is only present on x86_64 hosts. Other platforms such as AArch64 and s390x are not affected.
From the CVE record by GitHub_M, last updated February 25, 2025, 14:59 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| bytecodealliance | wasmtime | cranelift-codegen: >= 0.88.0, < 0.91.1 cranelift-codegen: >= 0.92.0, < 0.92.1 cranelift-codegen: >= 0.93.0, < 0.93.1 wasmtime: >= 0.37.0, < 4.0.1 wasmtime: >= 5.0.0, < 5.0.1 wasmtime: >= 6.0.0, < 6.0.1 |
As the CVE record by GitHub_M states it, last updated February 25, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| crates.io | wasmtime | >= 1.0.0, < 4.0.1 | 4.0.1 | GHSA-xm67-587q-r2vw |
| crates.io | wasmtime | >= 5.0.0, < 5.0.1 | 5.0.1 | GHSA-xm67-587q-r2vw |
| crates.io | wasmtime | >= 6.0.0, < 6.0.1 | 6.0.1 | GHSA-xm67-587q-r2vw |
| crates.io | cranelift-codegen | >= 0.88.0, < 0.91.1 | 0.91.1 | GHSA-xm67-587q-r2vw |
| crates.io | cranelift-codegen | >= 0.92.0, < 0.92.1 | 0.92.1 | GHSA-xm67-587q-r2vw |
| crates.io | cranelift-codegen | >= 0.93.0, < 0.93.1 | 0.93.1 | GHSA-xm67-587q-r2vw |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated May 2, 2025. Summary: wasmtime vulnerable to miscompilation of `i8x16.select` with the same inputs on x86_64.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| bytecodealliance | cranelift-codegen | from 0.84.0 before 0.91.1 | application |
| bytecodealliance | cranelift-codegen | 0.92.0 | application |
| bytecodealliance | cranelift-codegen | 0.93.0 | application |
| bytecodealliance | wasmtime | from 0.37.0 before 4.0.1 | application |
| bytecodealliance | wasmtime | 5.0.0 | application |
| bytecodealliance | wasmtime | 6.0.0 | application |
NVD analysis (status Modified), last modified June 17, 2026, 05:45 UTC.
How severe is CVE-2023-27477?
| Score | Version | Vector | Source |
|---|---|---|---|
| Low 3.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N | GitHub_M |
| Medium 4.3 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2023-27477 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, February 25, 2025)
- EPSS
- 0.62% probability of exploitation activity in the next 30 days, percentile 51.3 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-193 Off-by-one Error
Where are the vendor advisories and references?
- https://docs.rs/wasmtime/latest/wasmtime/struct.Config.html#method.wasm_simd
- https://github.com/webassembly/simd
- https://groups.google.com/a/bytecodealliance.org/g/sec-announce/c/Mov-ItrNJsQ
- https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-xm67-587q-r2vw
- https://github.com/bytecodealliance/wasmtime/commit/5dc2bbccbb363e474d2c9a1b8e38a89a43bbd5d1
When was it published, and where is the official record?
- Reserved
- March 1, 2023
- Published
- March 8, 2023, 00:00 UTC
- CVE record updated
- February 25, 2025, 14:59 UTC by GitHub_M
- NVD
- Modified, last modified June 17, 2026, 05:45 UTC
- Last checked
- CVE list November 19, 2026, 07:13 UTC; NVD November 19, 2026, 07:41 UTC; KEV December 3, 2026, 12:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect wasmtime?
- Dec 1, 2026CVE-2026-140414 bytecodealliance wasmtime: reachable assertion (crash)
- Dec 1, 2026CVE-2026-140415 bytecodealliance wasmtime: denial of service (uncontrolled resource consumption)
- Dec 1, 2026CVE-2026-140416 bytecodealliance wasmtime: reachable assertion (crash)
- Dec 1, 2026CVE-2026-140417 bytecodealliance wasmtime: reachable assertion (crash)
- Dec 1, 2026CVE-2026-140418 bytecodealliance wasmtime: reachable assertion (crash)
- Dec 1, 2026CVE-2026-140419 bytecodealliance wasmtime: out-of-bounds read
- Dec 1, 2026CVE-2026-140420 bytecodealliance wasmtime: denial of service (resources allocated without limits)
- Dec 1, 2026CVE-2026-140421 bytecodealliance wasmtime: improper Validation of Specified Type of Input
Questions about CVE-2023-27477
Is CVE-2023-27477 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 12:08 UTC. FIRST's EPSS gives it a 0.62% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of bytecodealliance wasmtime are affected by CVE-2023-27477?
wasmtime from 1.0.0 before 4.0.1, wasmtime from 5.0.0 before 5.0.1, wasmtime from 6.0.0 before 6.0.1, cranelift-codegen from 0.88.0 before 0.91.1, cranelift-codegen from 0.92.0 before 0.92.1 and cranelift-codegen from 0.93.0 before 0.93.1, per the GitHub advisory GHSA-xm67-587q-r2vw. The tables above give every range the sources list.
Which version fixes CVE-2023-27477?
4.0.1, 5.0.1, 6.0.1, 0.91.1, 0.92.1 and 0.93.1, per the GitHub advisory GHSA-xm67-587q-r2vw. Check the vendor's advisory before you rely on it.
How severe is CVE-2023-27477?
Low (3.1, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2023-27477?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.