Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-34987

CRITICAL 9.0EPSS 38%

Wasmtime with Winch compiler backend on aarch64 may allow a sandbox-escaping memory access

Also known as GHSA-xx5w-cvp6-jv83, RUSTSEC-2026-0095

Mitigation

  • Upgrade wasmtime to one of 36.0.7, 42.0.2, 43.0.1 (or later in the same release line).

Who should check

  • Projects that depend on crates.io package wasmtime (>= 25.0.0, < 36.0.7)
  • Anyone running bytecodealliance wasmtime >= 25.0.0, < 36.0.7; >= 37.0.0, < 42.0.2; >= 43.0.0, < 44.0.1

Vulnerability facts

Affected
wasmtime >= 25.0.0, < 36.0.7
Fixed in
36.0.7, 42.0.2, 43.0.1
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, login needed
CVSS
9.0 (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:HOpen in CVSS calculator
Show all 11 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Attack requirements: Present
  • Privileges required: Low
  • User interaction: None
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
  • Confidentiality impact on other systems: High
  • Integrity impact on other systems: High
  • Availability impact on other systems: High
EPSS
0.52% chance of exploitation in 30 days (percentile 38, 2026-11-26)
CWE
CWE-125, CWE-787
Published
Modified

Description

Wasmtime is a runtime for WebAssembly. From 25.0.0 to before 36.0.7, 42.0.2, and 43.0.1, Wasmtime with its Winch (baseline) non-default compiler backend may allow properly constructed guest Wasm to access host memory outside of its linear-memory sandbox. This vulnerability requires use of the Winch compiler (-Ccompiler=winch). By default, Wasmtime uses its Cranelift backend, not Winch. With Winch, the same incorrect assumption is present in theory on both aarch64 and x86-64. The aarch64 case has an observed-working proof of concept, while the x86-64 case is theoretical and may not be reachable in practice. This Winch compiler bug can allow the Wasm guest to access memory before or after the linear-memory region, independently of whether pre- or post-guard regions are configured. The accessible range in the initial bug proof-of-concept is up to 32KiB before the start of memory, or ~4GiB after the start of memory, independently of the size of pre- or post-guard regions or the use of explicit or guard-region-based bounds checking. However, the underlying bug assumes a 32-bit memory offset stored in a 64-bit register has its upper bits cleared when it may not, and so closely related variants of the initial proof-of-concept may be able to access truly arbitrary memory in-process. This could result in a host process segmentation fault (DoS), an arbitrary data leak from the host process, or with a write, potentially an arbitrary RCE. This vulnerability is fixed in 36.0.7, 42.0.2, and 43.0.1.

Affected and fixed versions

Package / productAffectedFixedSource
crates.io wasmtime>= 25.0.0, < 36.0.736.0.7, 42.0.2, 43.0.1osv
bytecodealliance wasmtime>= 25.0.0, < 36.0.7; >= 37.0.0, < 42.0.2; >= 43.0.0, < 44.0.1—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-34987. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-34987.md
Affected: wasmtime >= 25.0.0, < 36.0.7
Fixed in: 36.0.7, 42.0.2, 43.0.1

Steps:
1. Search this machine and project for wasmtime (crates.io), bytecodealliance wasmtime: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2026-34987 being exploited?

There is no confirmed exploitation: CVE-2026-34987 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.52% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2026-34987?

Critical: CVSS 9.0 (v4.0, scored by CNA). Remote, login needed.

Which versions are affected by CVE-2026-34987?

wasmtime >= 25.0.0, < 36.0.7.

Is there a fix for CVE-2026-34987?

Yes. Fixed in 36.0.7, 42.0.2, 43.0.1. Upgrade wasmtime to one of 36.0.7, 42.0.2, 43.0.1 (or later in the same release line).

How do I check if I'm affected by CVE-2026-34987?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors