Home / bytecodealliance / wasmtime / CVE-2023-30624
CVE-2023-30624: is it exploited, and which versions of bytecodealliance wasmtime are affected and fixed?
CVE-2023-30624 is a reliance on Undefined, Unspecified, or Implementation-Defined Behavior 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, 14:08 UTC). Affected: wasmtime before 6.0.2, wasmtime from 7.0.0 before 7.0.1 and wasmtime from 8.0.0 before 8.0.1 (GitHub advisory GHSA-ch89-5g45-qwc7). Fixed in 6.0.2, 7.0.1 and 8.0.1 (GitHub advisory GHSA-ch89-5g45-qwc7). Severity: Low (3.9, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:08 UTC, CVE record November 19, 2026, 07:13 UTC and NVD November 19, 2026, 07:39 UTC.
What is CVE-2023-30624?
Wasmtime has Undefined Behavior in Rust runtime functions
Wasmtime is a standalone runtime for WebAssembly. Prior to versions 6.0.2, 7.0.1, and 8.0.1, Wasmtime's implementation of managing per-instance state, such as tables and memories, contains LLVM-level undefined behavior. This undefined behavior was found to cause runtime-level issues when compiled with LLVM 16 which causes some writes, which are critical for correctness, to be optimized away. Vulnerable versions of Wasmtime compiled with Rust 1.70, which is currently in beta, or later are known to have incorrectly compiled functions. Versions of Wasmtime compiled with the current Rust stable release, 1.69, and prior are not known at this time to have any issues, but can theoretically exhibit potential issues. The underlying problem is that Wasmtime's runtime state for an instance involves a Rust-defined structure called `Instance` which has a trailing `VMContext` structure after it. This `VMContext` structure has a runtime-defined layout that is unique per-module. This representation cannot be expressed with safe code in Rust so `unsafe` code is required to maintain this state. The code doing this, however, has methods which take `&self` as an argument but modify data in the `VMContext` part of the allocation. This means that pointers derived from `&self` are mutated. This is typically not allowed, except in the presence of `UnsafeCell`, in Rust. When compiled to LLVM these functions have `noalias readonly` parameters which means it's UB to write through the pointers. Wasmtime's internal representation and management of `VMContext` has been updated to use `&mut self` methods where appropriate. Additionally verification tools for `unsafe` code in Rust, such as `cargo miri`, are planned to be executed on the `main` branch soon to fix any Rust-level issues that may be exploited in future compiler versions. Precomplied binaries available for Wasmtime from GitHub releases have been compiled with at most LLVM 15 so are not known to be vulnerable. As mentioned above, however, it's still recommended to update. Wasmtime version 6.0.2, 7.0.1, and 8.0.1 have been issued which contain the patch necessary to work correctly on LLVM 16 and have no known UB on LLVM 15 and earlier. If Wasmtime is compiled with Rust 1.69 and prior, which use LLVM 15, then there are no known issues. There is a theoretical possibility for undefined behavior to exploited, however, so it's recommended that users upgrade to a patched version of Wasmtime. Users using beta Rust (1.70 at this time) or nightly Rust (1.71 at this time) must update to a patched version to work correctly.
From the CVE record by GitHub_M, last updated January 30, 2025, 19:33 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| bytecodealliance | wasmtime | < 6.0.2 = 7.0.0 = 8.0.0 |
As the CVE record by GitHub_M states it, last updated January 30, 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 | < 6.0.2 | 6.0.2 | GHSA-ch89-5g45-qwc7 |
| crates.io | wasmtime | >= 7.0.0, < 7.0.1 | 7.0.1 | GHSA-ch89-5g45-qwc7 |
| crates.io | wasmtime | >= 8.0.0, < 8.0.1 | 8.0.1 | GHSA-ch89-5g45-qwc7 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated May 2, 2025. Summary: Undefined Behavior in Rust runtime functions.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| bytecodealliance | wasmtime | before 6.0.2 | application |
| bytecodealliance | wasmtime | 7.0.0 | application |
| bytecodealliance | wasmtime | 8.0.0 | application |
NVD analysis (status Modified), last modified June 17, 2026, 05:55 UTC.
How severe is CVE-2023-30624?
| Score | Version | Vector | Source |
|---|---|---|---|
| Low 3.9 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:L | GitHub_M |
| High 8.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | 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-30624 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, January 30, 2025)
- EPSS
- 0.45% probability of exploitation activity in the next 30 days, percentile 40.8 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-758 Reliance on Undefined, Unspecified, or Implementation-Defined Behavior
Where are the vendor advisories and references?
- https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-ch89-5g45-qwc7 x_refsource_CONFIRM
- https://github.com/bytecodealliance/wasmtime/commit/0977952dcd9d482bff7c288868ccb52769b3a92e x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- April 13, 2023
- Published
- April 27, 2023, 16:56 UTC
- CVE record updated
- January 30, 2025, 19:33 UTC by GitHub_M
- NVD
- Modified, last modified June 17, 2026, 05:55 UTC
- Last checked
- CVE list November 19, 2026, 07:13 UTC; NVD November 19, 2026, 07:39 UTC; KEV December 3, 2026, 14: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-30624
Is CVE-2023-30624 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 14:08 UTC. FIRST's EPSS gives it a 0.45% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of bytecodealliance wasmtime are affected by CVE-2023-30624?
wasmtime before 6.0.2, wasmtime from 7.0.0 before 7.0.1 and wasmtime from 8.0.0 before 8.0.1, per the GitHub advisory GHSA-ch89-5g45-qwc7. The tables above give every range the sources list.
Which version fixes CVE-2023-30624?
6.0.2, 7.0.1 and 8.0.1, per the GitHub advisory GHSA-ch89-5g45-qwc7. Check the vendor's advisory before you rely on it.
How severe is CVE-2023-30624?
Low (3.9, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2023-30624?
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.