
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-34987 is a memory sandbox escape vulnerability in Wasmtime's Winch (baseline) non-default compiler backend that allows properly constructed guest WebAssembly modules to access host memory outside of the linear-memory sandbox. It affects Wasmtime versions 25.0.0 through before 36.0.7, 37.0.0 through before 42.0.2, and version 43.0.0 (patched in 43.0.1). The vulnerability was disclosed on April 9, 2026, with fixes released the same day. It carries a CVSS v3.1 base score of 9.9 (Critical) and a CVSS v4.0 base score of 9.0 (Critical) (Github Advisory, Red Hat Bugzilla).
The root cause is an incorrect numeric type conversion (CWE-681) in the Winch compiler backend: a 32-bit memory offset stored in a 64-bit register is assumed to have its upper bits cleared, but this assumption does not always hold. This leads to out-of-bounds read (CWE-125) and potentially out-of-bounds write (CWE-787) conditions, allowing a guest Wasm module to access memory before or after its designated linear-memory region. The bug is confirmed exploitable on aarch64 with an observed working proof-of-concept; the x86-64 case is considered theoretical and may not be reachable in practice. The accessible range in the initial PoC is up to 32KiB before the start of linear memory or approximately 4GiB after it, independently of guard region configuration or bounds-checking mechanisms, and closely related exploit variants may reach truly arbitrary in-process memory (Github Advisory).
Successful exploitation can result in three distinct outcomes: an arbitrary data leak from the host process (confidentiality breach), a host process segmentation fault causing denial of service (availability breach), or — via a write primitive — potentially arbitrary remote code execution within the host process (integrity breach). The scope is changed, meaning a compromised Wasm guest can affect the broader host system beyond its sandbox. Environments running untrusted WebAssembly modules with the Winch compiler backend enabled are at highest risk, as an attacker with low privileges could leverage this to escalate access or exfiltrate sensitive in-process data (Github Advisory, Red Hat Bugzilla).
A working proof-of-concept exists for the aarch64 architecture, as acknowledged in the official advisory, though no public PoC code has been released. There is no evidence of in-the-wild exploitation or threat actor attribution at this time. The vulnerability is not currently listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. The EPSS score is approximately 0.042%, indicating a low near-term exploitation probability (Github Advisory, Feedly).
-Ccompiler=winch) on an aarch64 host, as the default Cranelift backend is not affected and x86-64 exploitation is theoretical..wasm file to the target Wasmtime runtime — for example, via a web service, plugin system, or API that accepts and executes user-supplied Wasm modules.dmesg) recording segfault events attributed to the Wasmtime process..wasm files submitted to the service, especially those with unusual memory instruction patterns or large offset values in load/store operations.Bytecode Alliance has released patched versions: 36.0.7, 42.0.2, and 43.0.1. Users should upgrade to the appropriate patched version based on their current branch (25.x–36.x → 36.0.7; 37.x–42.x → 42.0.2; 43.0.0 → 43.0.1). There are no in-backend workarounds for affected Winch versions; the only alternative mitigation is to switch to the default Cranelift compiler backend by removing the -Ccompiler=winch flag. Restricting execution of untrusted WebAssembly modules until patching is complete is also advised (Github Advisory).
The Bytecode Alliance published a security advisory blog post covering this and related Wasmtime vulnerabilities shortly after disclosure. The vulnerability was credited to reporter shumbo with additional acknowledgment to bholley and deian. The issue was tracked by Red Hat's Product Security team via Bugzilla and has been picked up by Linux distribution security mailing lists, including openSUSE. No significant broader media coverage or notable social media discussion beyond automated CVE tracking accounts has been observed (Bytecode Alliance Blog, Red Hat Bugzilla).
Fix availability across major Linux distributions and their releases.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."