CVE-2026-34987: Vulnerability in Bytecodealliance Wasmtime

Critical. 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...

crates.io, CWE-125, CWE-787

Exploitation
None confirmed
Severity
9.9 of 10
Attack likelihood
0.3 % in 30 days
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-xx5w-cvp6-jv83
EU ID
EUVD-2026-21031
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Weakness
CWE-125, CWE-787
Published
9 Apr 2026
Last change
26 Oct 2026
Likelihood rank
Higher than 26 % of all rated vulnerabilities
Analysis status
Analyzed
Ecosystem
crates.io

Affected products

Affected versions and the first fixed release

  • Bytecodealliance Wasmtime From 25.0.0 before 36.0.7; From 37.0.0 before 42.0.2; Version 43.0.0. Fixed in 36.0.7, 42.0.2

Affected packages

Vulnerable version ranges and fixed releases

  • wasmtime crates.io, Affected from 25.0.0 before 36.0.7. Fixed in 36.0.7

Advisories

Vendor and security advisories

Related