Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-34971

published critical CVSS 4.0 · 9.0

Wasmtime miscompiled guest heap access enables sandbox escape on aarch64 Cranelift

Published
09 Apr 2026, 18:45:44 UTC
Updated
15 Jul 2026, 01:03:31 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
bytecodealliance — wasmtime>= 32.0.0, < 36.0.7 · >= 37.0.0, < 42.0.2 · >= 43.0.0, < 44.0.1 Affected Not stated GitHub_M
Red Hat — redhat-user-workloads/rhcl-1-3-wasm-shimRed Hat Connectivity Link 1 Affected Not stated redhat-SADP
Red Hat Enterprise Linux 10 virt-firmware-rs Unaffected Not required redhat-SADP

Description

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.

en · GitHub_M · cna

en · redhat-SADP · adp

A flaw was found in Wasmtime, a runtime for WebAssembly. On aarch64 systems, a miscompilation bug in Wasmtime's Cranelift backend can be exploited by a guest WebAssembly module. This vulnerability allows the module to bypass memory bounds checks, enabling arbitrary read and write operations on the host system's memory. This ultimately leads to a sandbox escape, where the guest module can access resources beyond its intended isolated environment.

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
4.0
Base score
9.0 / 10
Severity
critical
Provider
GitHub_M · cna
Vector string
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

Additional Assessments

Additional normalized CVSS assessments
VersionScoreSeverityProviderVectorScenarios
3.1 8.5 high redhat-SADP · adp CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H —
3.1 7.8 high CISA-ADP · adp CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H —

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
bytecodealliance wasmtime >= 32.0.0, < 36.0.7 (affected)>= 37.0.0, < 42.0.2 (affected)>= 43.0.0, < 44.0.1 (affected) GitHub_M · cna
Red Hat Red Hat Connectivity Link 1 Default: affected redhat-SADP · adp
Red Hat Red Hat Enterprise Linux 10 Default: unaffected redhat-SADP · adp

Weaknesses

3
  • CWE-125 CWE-125: Out-of-bounds Read (GitHub_M · cna)
  • CWE-787 CWE-787: Out-of-bounds Write (GitHub_M · cna)
  • CWE-125 Out-of-bounds Read (redhat-SADP · adp)

References

4

Provider assertions

3

GitHub_M · cna

Wasmtime miscompiled guest heap access enables sandbox escape on aarch64 Cranelift

redhat-SADP · adp

wasmtime: cranelift: Wasmtime: Sandbox escape due to miscompiled heap access on aarch64

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
ce576ce5784308fd13c60cc80c4bafe6e282a5d3cb25d63bdbbb629c0f85c058
Ingested
23 Sep 2026, 09:11:31 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected