Home / bytecodealliance / wasmtime / CVE-2026-34971
CVE-2026-34971: is it exploited, and which versions of bytecodealliance wasmtime are affected and fixed?
CVE-2026-34971 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, 12:38 UTC). Affected: wasmtime from 32.0.0 before 36.0.7, wasmtime from 37.0.0 before 42.0.2 and wasmtime from 43.0.0 before 43.0.1 (GitHub advisory GHSA-jhxm-h53p-jm7w). Fixed in 36.0.7, 42.0.2 and 43.0.1 (GitHub advisory GHSA-jhxm-h53p-jm7w). Severity: Critical (9.0, CVSS 4.0, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:38 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:12 UTC.
What is CVE-2026-34971?
Wasmtime miscompiled guest heap access enables sandbox escape on aarch64 Cranelift
Wasmtime is a runtime for WebAssembly. From 32.0.0 to before 36.0.7, 42.0.2, and 43.0.1, Wasmtime's Cranelift compilation backend contains a bug on aarch64 when performing a certain shape of heap accesses which means that the wrong address is accessed. When combined with explicit bounds checks a guest WebAssembly module this can create a situation where there are two diverging computations for the same address: one for the address to bounds-check and one for the address to load. This difference in address being operated on means that a guest module can pass a bounds check but then load a different address. Combined together this enables an arbitrary read/write primitive for guest WebAssembly when accesssing host memory. This is a sandbox escape as guests are able to read/write arbitrary host memory. This vulnerability has a few ingredients, all of which must be met, for this situation to occur and bypass the sandbox restrictions. This miscompiled shape of load only occurs on 64-bit WebAssembly linear memories, or when Config::wasm_memory64 is enabled. 32-bit WebAssembly is not affected. Spectre mitigations or signals-based-traps must be disabled. When spectre mitigations are enabled then the offending shape of load is not generated. When signals-based-traps are disabled then spectre mitigations are also automatically disabled. The specific bug in Cranelift is a miscompile of a load of the shape load(iadd(base, ishl(index, amt))) where amt is a constant. The amt value is masked incorrectly to test if it's a certain value, and this incorrect mask means that Cranelift can pattern-match this lowering rule during instruction selection erroneously, diverging from WebAssembly's and Cranelift's semantics. This incorrect lowering would, for example, load an address much further away than intended as the correct address's computation would have wrapped around to a smaller value insetad. This vulnerability is fixed in 36.0.7, 42.0.2, and 43.0.1.
From the CVE record by GitHub_M, last updated July 15, 2026, 01:03 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| bytecodealliance | wasmtime | >= 32.0.0, < 36.0.7 >= 37.0.0, < 42.0.2 >= 43.0.0, < 44.0.1 |
As the CVE record by GitHub_M states it, last updated July 15, 2026. 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 | >= 32.0.0, < 36.0.7 | 36.0.7 | GHSA-jhxm-h53p-jm7w |
| crates.io | wasmtime | >= 37.0.0, < 42.0.2 | 42.0.2 | GHSA-jhxm-h53p-jm7w |
| crates.io | wasmtime | >= 43.0.0, < 43.0.1 | 43.0.1 | GHSA-jhxm-h53p-jm7w |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated April 15, 2026. Summary: Wasmtime: Miscompiled guest heap access enables sandbox escape on aarch64 Cranelift.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| bytecodealliance | wasmtime | from 32.0.0 before 36.0.7 | application |
| bytecodealliance | wasmtime | from 37.0.0 before 42.0.2 | application |
| bytecodealliance | wasmtime | 43.0.0 | application |
NVD analysis (status Modified), last modified October 26, 2026, 22:10 UTC.
How severe is CVE-2026-34971?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.0 | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H | GitHub_M |
| High 7.8 | CVSS 3.1 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H | CISA-ADP |
| High 8.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H | redhat-SADP |
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-2026-34971 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: total (CISA ADP, April 13, 2026)
- EPSS
- 0.35% probability of exploitation activity in the next 30 days, percentile 30.8 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-jhxm-h53p-jm7w x_refsource_CONFIRM
- https://access.redhat.com/security/cve/CVE-2026-34971 vdb-entry, x_refsource_REDHAT
- RHBZ#2457008 issue-tracking, x_refsource_REDHAT
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-34971.json x_sadp-csaf-vex
When was it published, and where is the official record?
- Reserved
- March 31, 2026
- Published
- April 9, 2026, 18:45 UTC
- CVE record updated
- July 15, 2026, 01:03 UTC by GitHub_M
- NVD
- Modified, last modified October 26, 2026, 22:10 UTC
- Last checked
- CVE list November 19, 2026, 07:07 UTC; NVD November 19, 2026, 07:12 UTC; KEV December 3, 2026, 12:38 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-2026-34971
Is CVE-2026-34971 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 12:38 UTC. FIRST's EPSS gives it a 0.35% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of bytecodealliance wasmtime are affected by CVE-2026-34971?
wasmtime from 32.0.0 before 36.0.7, wasmtime from 37.0.0 before 42.0.2 and wasmtime from 43.0.0 before 43.0.1, per the GitHub advisory GHSA-jhxm-h53p-jm7w. The tables above give every range the sources list.
Which version fixes CVE-2026-34971?
36.0.7, 42.0.2 and 43.0.1, per the GitHub advisory GHSA-jhxm-h53p-jm7w. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-34971?
Critical (9.0, CVSS 4.0, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-34971?
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.