---
title: "bytecodealliance cranelift-codegen vulnerabilities and CVEs"
url: https://radicalnotion.ai/vendor/bytecodealliance/cranelift-codegen
type: product
description: "bytecodealliance cranelift-codegen has 6 published CVEs, 0 in CISA KEV and 1 with public exploits."
updated: 2023-03-08
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# bytecodealliance cranelift-codegen vulnerabilities

Vendor: [bytecodealliance](https://radicalnotion.ai/vendor/bytecodealliance)

- **Published CVEs:** 6
- **In CISA KEV:** 0
- **With a public exploit:** 1
- **With a patch:** 6
- **Average CVSS:** 7.5
- **First CVE:** 2021-05-24
- **Latest CVE:** 2023-03-08
- **Ecosystems:** cargo

## Severity breakdown

| Severity | CVEs |
| --- | --- |
| Critical | 1 |
| High | 3 |
| Medium | 2 |
| Low | 0 |
| Unscored | 0 |

## Most common weakness types

| CWE | Name | CVEs |
| --- | --- | --- |
| [CWE-682](https://radicalnotion.ai/cwe/cwe-682) | Incorrect Calculation | 2 |
| [CWE-125](https://radicalnotion.ai/cwe/cwe-125) | Out-of-bounds Read | 1 |
| [CWE-193](https://radicalnotion.ai/cwe/cwe-193) | Off-by-one Error | 1 |
| [CWE-416](https://radicalnotion.ai/cwe/cwe-416) | Use After Free | 1 |
| [CWE-788](https://radicalnotion.ai/cwe/cwe-788) | Access of Memory Location After End of Buffer | 1 |

## CVEs by year

| Year | CVEs published |
| --- | --- |
| 2021 | 1 |
| 2022 | 3 |
| 2023 | 2 |

## Affected versions

| Version | Kind | CVEs |
| --- | --- | --- |
| \< 0.85.1 | range | 2 |
| 0.84.0 \<= v \< 0.91.1 | range | 2 |
| 0.92.0 | range | 2 |
| 0.92.0 \<= v \< 0.92.1 | range | 2 |
| 0.93.0 | range | 2 |
| 0.93.0 \<= v \< 0.93.1 | range | 2 |
| \< 0.73.1 | range | 1 |
| \< 0.85.0 | range | 1 |
| \< 0.85.2 | range | 1 |
| 0.84.0 \<= v \< 0.85.2 | range | 1 |
| 0.88.0 \<= v \< 0.91.1 | range | 1 |

## Fixed in

| Version | CVEs |
| --- | --- |
| 0.85.1 | 2 |
| 0.85.2 | 2 |
| 0.91.1 | 2 |
| 0.92.1 | 2 |
| 0.93.1 | 2 |
| 0.73.1 | 1 |
| 0.85.0 | 1 |

## CVEs

| CVE | Title | Severity | CVSS | CISA KEV | Public exploit | Patch |
| --- | --- | --- | --- | --- | --- | --- |
| CVE-2023-26489 | Guest-controlled out-of-bounds read/write on x86\_64 in wasmtime | critical | 10.0 | No | No | Yes |
| CVE-2023-27477 | wasmtime vulnerable to miscompilation of \`i8x16.select\` with the same inputs on x86\_64 | medium | 4.3 | No | No | Yes |
| CVE-2022-31169 | Cranelift vulnerable to miscompilation of constant values in division on AArch64 | high | 7.5 | No | No | Yes |
| CVE-2022-31146 | Use After Free in Wasmtime | high | 8.8 | No | No | Yes |
| CVE-2022-31104 | Miscompilation of \`i8x16.swizzle\` and \`select\` with v128 inputs in Wasmtime | medium | 5.6 | No | No | Yes |
| CVE-2021-32629 | Memory access due to code generation flaw in Cranelift module | high | 8.8 | No | Yes | Yes |

## Frequently asked questions

### How many CVEs does bytecodealliance cranelift-codegen have?

bytecodealliance cranelift-codegen has 6 published CVE records since 2021.

### How many bytecodealliance cranelift-codegen CVEs are in CISA KEV?

None of bytecodealliance cranelift-codegen's CVEs are currently listed in CISA's Known Exploited Vulnerabilities catalog.

### Are there public exploits for bytecodealliance cranelift-codegen vulnerabilities?

Yes — 1 of bytecodealliance cranelift-codegen's CVEs have a known public exploit.

### Which versions of bytecodealliance cranelift-codegen are affected?

18 distinct bytecodealliance cranelift-codegen versions are named across its CVEs. Use the version filter above to see the CVEs affecting a specific version.

### What are the most common weakness types in bytecodealliance cranelift-codegen CVEs?

bytecodealliance cranelift-codegen's CVEs most often map to these CWE weakness types: CWE-682 (Incorrect Calculation), CWE-125 (Out-of-bounds Read), CWE-193 (Off-by-one Error), CWE-416 (Use After Free).

### How many critical bytecodealliance cranelift-codegen vulnerabilities are there?

bytecodealliance cranelift-codegen has 1 critical and 3 high-severity CVEs.

### What is the average severity of bytecodealliance cranelift-codegen CVEs?

The average CVSS base score across bytecodealliance cranelift-codegen's scored CVEs is 7.5.

## Other products from this vendor

- [Wasmtime](https://radicalnotion.ai/vendor/bytecodealliance/wasmtime) (86 CVEs)
- [wasm-micro-runtime](https://radicalnotion.ai/vendor/bytecodealliance/wasm-micro-runtime) (12 CVEs)
- [webassembly micro runtime](https://radicalnotion.ai/vendor/bytecodealliance/webassembly-micro-runtime) (11 CVEs)
- [wasmtime-wasi](https://radicalnotion.ai/vendor/bytecodealliance/wasmtime-wasi) (4 CVEs)
- [cap-std](https://radicalnotion.ai/vendor/bytecodealliance/cap-std) (2 CVEs)
- [lucet](https://radicalnotion.ai/vendor/bytecodealliance/lucet) (2 CVEs)
- [wasm\_micro\_runtime](https://radicalnotion.ai/vendor/bytecodealliance/wasm-micro-runtime) (2 CVEs)
- [cap-async-std](https://radicalnotion.ai/vendor/bytecodealliance/cap-async-std) (1 CVEs)

---

Source: [RadicalNotion.AI](https://radicalnotion.ai/vendor/bytecodealliance/cranelift-codegen). Licensed CC BY-NC 4.0; attribute RadicalNotion.AI and link the source page when you reuse this data.
