CVEBrief

Home / bytecodealliance / wasmtime / CVE-2023-26489

CVE-2023-26489: is it exploited, and which versions of bytecodealliance wasmtime are affected and fixed?

CVE-2023-26489 is an out-of-bounds read 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 from 0.37.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-ff4p-7xrq-q5r8). Fixed in 4.0.1, 5.0.1, 6.0.1, 0.91.1 and 2 more (GitHub advisory GHSA-ff4p-7xrq-q5r8). Severity: Critical (10.0, 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:41 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 14:08 UTC
Affected
wasmtime from 0.37.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-ff4p-7xrq-q5r8
Fixed in
4.0.1, 5.0.1, 6.0.1, 0.91.1 and 2 more
GitHub advisory GHSA-ff4p-7xrq-q5r8
Severity
Critical 10.0
CVSS 3.1 from GitHub_M
Exploit odds (EPSS)
1.25% in 30 days
higher than 70% of CVEs; FIRST, December 2, 2026
Free for up to 3 items: a weekly email, and an alert the day CISA lists one as exploited. We email you once to confirm. More about the watch

What is CVE-2023-26489?

Guest-controlled out-of-bounds read/write on x86_64 in wasmtime

wasmtime is a fast and secure runtime for WebAssembly. In affected versions wasmtime's code generator, Cranelift, has a bug on x86_64 targets where address-mode computation mistakenly would calculate a 35-bit effective address instead of WebAssembly's defined 33-bit effective address. This bug means that, with default codegen settings, a wasm-controlled load/store operation could read/write addresses up to 35 bits away from the base of linear memory. Due to this bug, however, addresses up to `0xffffffff * 8 + 0x7ffffffc = 36507222004 = ~34G` bytes away from the base of linear memory are possible from guest code. This means that the virtual memory 6G away from the base of linear memory up to ~34G away can be read/written by a malicious module. A guest module can, without the knowledge of the embedder, read/write memory in this region. The memory may belong to other WebAssembly instances when using the pooling allocator, for example. Affected embedders are recommended to analyze preexisting wasm modules to see if they're affected by the incorrect codegen rules and possibly correlate that with an anomalous number of traps during historical execution to locate possibly suspicious modules. The specific bug in Cranelift's x86_64 backend is that a WebAssembly address which is left-shifted by a constant amount from 1 to 3 will get folded into x86_64's addressing modes which perform shifts. For example `(i32.load (i32.shl (local.get 0) (i32.const 3)))` loads from the WebAssembly address `$local0 << 3`. When translated to Cranelift the `$local0 << 3` computation, a 32-bit value, is zero-extended to a 64-bit value and then added to the base address of linear memory. Cranelift would generate an instruction of the form `movl (%base, %local0, 8), %dst` which calculates `%base + %local0 << 3`. The bug here, however, is that the address computation happens with 64-bit values, where the `$local0 << 3` computation was supposed to be truncated to a a 32-bit value. This means that `%local0`, which can use up to 32-bits for an address, gets 3 extra bits of address space to be accessible via this `movl` instruction. The fix in Cranelift is to remove the erroneous lowering rules in the backend which handle these zero-extended expression. The above example is then translated to `movl %local0, %temp; shl $3, %temp; movl (%base, %temp), %dst` which correctly truncates the intermediate computation of `%local0 << 3` to 32-bits inside the `%temp` register which is then added to the `%base` value. Wasmtime version 4.0.1, 5.0.1, and 6.0.1 have been released and have all been patched to no longer contain the erroneous lowering rules. While updating Wasmtime is recommended, there are a number of possible workarounds that embedders can employ to mitigate this issue if updating is not possible. Note that none of these workarounds are on-by-default and require explicit configuration: 1. The `Config::static_memory_maximum_size(0)` option can be used to force all accesses to linear memory to be explicitly bounds-checked. This will perform a bounds check separately from the address-mode computation which correctly calculates the effective address of a load/store. Note that this can have a large impact on the execution performance of WebAssembly modules. 2. The `Config::static_memory_guard_size(1 << 36)` option can be used to greatly increase the guard pages placed after linear memory. This will guarantee that memory accesses up-to-34G away are guaranteed to be semantically correct by reserving unmapped memory for the instance. Note that this reserves a very large amount of virtual memory per-instances and can greatly reduce the maximum number of concurrent instances being run. 3. If using a non-x86_64 host is possible, then that will also work around this bug. This bug does not affect Wasmtime's or Cranelift's AArch64 backend, for example.

From the CVE record by GitHub_M, last updated February 25, 2025, 14:59 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
bytecodealliancewasmtimecranelift-codegen: >= 0.84.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?

EcosystemPackageAffectedFixed inAdvisory
crates.iowasmtime>= 0.37.0, < 4.0.14.0.1GHSA-ff4p-7xrq-q5r8
crates.iowasmtime>= 5.0.0, < 5.0.15.0.1GHSA-ff4p-7xrq-q5r8
crates.iowasmtime>= 6.0.0, < 6.0.16.0.1GHSA-ff4p-7xrq-q5r8
crates.iocranelift-codegen>= 0.84.0, < 0.91.10.91.1GHSA-ff4p-7xrq-q5r8
crates.iocranelift-codegen>= 0.92.0, < 0.92.10.92.1GHSA-ff4p-7xrq-q5r8
crates.iocranelift-codegen>= 0.93.0, < 0.93.10.93.1GHSA-ff4p-7xrq-q5r8

GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated May 2, 2025. Summary: wasmtime vulnerable to guest-controlled out-of-bounds read/write on x86_64.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
bytecodealliancecranelift-codegenfrom 0.84.0 before 0.91.1application
bytecodealliancecranelift-codegen0.92.0application
bytecodealliancecranelift-codegen0.93.0application
bytecodealliancewasmtimefrom 0.37.0 before 4.0.1application
bytecodealliancewasmtime5.0.0application
bytecodealliancewasmtime6.0.0application

NVD analysis (status Modified), last modified June 17, 2026, 05:43 UTC.

How severe is CVE-2023-26489?

ScoreVersionVectorSource
Critical 10.0CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:HGitHub_M
Critical 9.9CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:HNVD

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-26489 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: none; automatable: no; technical impact: total (CISA ADP, February 25, 2025)
EPSS
1.25% probability of exploitation activity in the next 30 days, percentile 70.3 (FIRST EPSS, scores of December 2, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
February 23, 2023
Published
March 8, 2023, 19:59 UTC
CVE record updated
February 25, 2025, 14:59 UTC by GitHub_M
NVD
Modified, last modified June 17, 2026, 05:43 UTC
Last checked
CVE list November 19, 2026, 07:13 UTC; NVD November 19, 2026, 07:41 UTC; KEV December 3, 2026, 14:08 UTC; EPSS December 2, 2026
Official record
cve.org · NVD

What other CVEs affect wasmtime?

Every CVE in wasmtime

Questions about CVE-2023-26489

Is CVE-2023-26489 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 1.25% chance of exploitation activity in the next 30 days (scores of December 2, 2026).

Which versions of bytecodealliance wasmtime are affected by CVE-2023-26489?

wasmtime from 0.37.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.84.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-ff4p-7xrq-q5r8. The tables above give every range the sources list.

Which version fixes CVE-2023-26489?

4.0.1, 5.0.1, 6.0.1, 0.91.1, 0.92.1 and 0.93.1, per the GitHub advisory GHSA-ff4p-7xrq-q5r8. Check the vendor's advisory before you rely on it.

How severe is CVE-2023-26489?

Critical (10.0, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.

Where is the official record of CVE-2023-26489?

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.