CVE-2026-34987 Wasmtime with Winch compiler backend on aarch64 may allow a sandbox-escaping memory access
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- UbuntuDebianRed Hat
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.
Upgrade path
6 packages: 3 fixed, 3 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/rust-wasmtime(Debian 13) | = 26.0.1+dfsg-3; = 26.0.1+dfsg-4; = 26.0.1+dfsg-5; = 26.0.1+dfsg-6 +40 more | No fix listed | No fix yet |
| ubuntu/rust-wasmtime(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/rust-wasmtime(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| bytecodealliance wasmtime | = 43.0.0; = >= 25.0.0, < 36.0.7; = >= 37.0.0, < 42.0.2; = >= 43.0.0, < 44.0.1 +2 more | 36.0.7, 42.0.2 | Fixed |
| crates.io wasmtime(crates.io) | = 43.0.0; >= 0.0.0-0, < 36.0.7; >= 25.0.0, < 36.0.7; >= 37.0.0, < 42.0.2 +1 more | 36.0.7, 42.0.2, 43.0.1 | Fixed |
| debian/rust-wasmtime(Debian 14) | < 36.0.7+dfsg-1; = 26.0.1+dfsg-3; = 26.0.1+dfsg-4; = 26.0.1+dfsg-5 +31 more | 36.0.7+dfsg-1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| bytecodealliance wasmtime | = >= 25.0.0, < 36.0.7 | No fix listed |
| bytecodealliance wasmtime | = >= 37.0.0, < 42.0.2 | No fix listed |
| bytecodealliance wasmtime | = >= 43.0.0, < 44.0.1 | No fix listed |
| crates.io wasmtime(crates.io) | >= 25.0.0, < 36.0.7 | 36.0.7 |
| crates.io wasmtime(crates.io) | >= 37.0.0, < 42.0.2 | 42.0.2 |
| crates.io wasmtime(crates.io) | >= 43.0.0, < 43.0.1 | 43.0.1 |
| crates.io wasmtime(crates.io) | = 43.0.0 | No fix listed |
| crates.io wasmtime(crates.io) | >= 0.0.0-0, < 36.0.7 | 36.0.7 |
| debian/rust-wasmtime(Debian:13) | All versions | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 26.0.1+dfsg-10 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 26.0.1+dfsg-3 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 26.0.1+dfsg-4 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 26.0.1+dfsg-5 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 26.0.1+dfsg-6 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 26.0.1+dfsg-7 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 26.0.1+dfsg-8 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 26.0.1+dfsg-9 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 27.0.0+dfsg-2 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 27.0.0+dfsg-3 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 27.0.0+dfsg-4 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 28.0.1+dfsg-1 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 28.0.1+dfsg-2 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 28.0.1+dfsg-3 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 29.0.1+dfsg-1 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 29.0.1+dfsg-2 | No fix listed |
Show 67 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/rust-wasmtime(Debian:13) | = 29.0.1+dfsg-3 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 29.0.1+dfsg-4 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 29.0.1+dfsg-5 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 29.0.1+dfsg-6 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 29.0.1+dfsg-7 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 29.0.1+dfsg-8 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 36.0.11+dfsg-1 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 36.0.12+dfsg-1 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 36.0.12+dfsg-2 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 36.0.12+dfsg-3 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 36.0.13+dfsg-1 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 36.0.5+dfsg-1 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 36.0.5+dfsg-2 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 36.0.5+dfsg-3 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 36.0.5+dfsg-4 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 36.0.5+dfsg-5 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 36.0.6+dfsg-1 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 36.0.6+dfsg-2 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 36.0.6+dfsg-3 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 36.0.6+dfsg-4 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 36.0.6+dfsg-5 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 36.0.6+dfsg-6 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 36.0.6+dfsg-7 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 36.0.7+dfsg-1 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 36.0.8+dfsg-1 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 36.0.9+dfsg-1 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 36.0.9+dfsg-2 | No fix listed |
| debian/rust-wasmtime(Debian:14) | < 36.0.7+dfsg-1 | 36.0.7+dfsg-1 |
| debian/rust-wasmtime(Debian:14) | = 26.0.1+dfsg-10 | No fix listed |
| debian/rust-wasmtime(Debian:14) | = 26.0.1+dfsg-3 | No fix listed |
| debian/rust-wasmtime(Debian:14) | = 26.0.1+dfsg-4 | No fix listed |
| debian/rust-wasmtime(Debian:14) | = 26.0.1+dfsg-5 | No fix listed |
| debian/rust-wasmtime(Debian:14) | = 26.0.1+dfsg-6 | No fix listed |
| debian/rust-wasmtime(Debian:14) | = 26.0.1+dfsg-7 | No fix listed |
| debian/rust-wasmtime(Debian:14) | = 26.0.1+dfsg-8 | No fix listed |
| debian/rust-wasmtime(Debian:14) | = 26.0.1+dfsg-9 | No fix listed |
| debian/rust-wasmtime(Debian:14) | = 27.0.0+dfsg-2 | No fix listed |
| debian/rust-wasmtime(Debian:14) | = 27.0.0+dfsg-3 | No fix listed |
| debian/rust-wasmtime(Debian:14) | = 27.0.0+dfsg-4 | No fix listed |
| debian/rust-wasmtime(Debian:14) | = 28.0.1+dfsg-1 | No fix listed |
| debian/rust-wasmtime(Debian:14) | = 28.0.1+dfsg-2 | No fix listed |
| debian/rust-wasmtime(Debian:14) | = 28.0.1+dfsg-3 | No fix listed |
| debian/rust-wasmtime(Debian:14) | = 29.0.1+dfsg-1 | No fix listed |
| debian/rust-wasmtime(Debian:14) | = 29.0.1+dfsg-2 | No fix listed |
| debian/rust-wasmtime(Debian:14) | = 29.0.1+dfsg-3 | No fix listed |
| debian/rust-wasmtime(Debian:14) | = 29.0.1+dfsg-4 | No fix listed |
| debian/rust-wasmtime(Debian:14) | = 29.0.1+dfsg-5 | No fix listed |
| debian/rust-wasmtime(Debian:14) | = 29.0.1+dfsg-6 | No fix listed |
| debian/rust-wasmtime(Debian:14) | = 29.0.1+dfsg-7 | No fix listed |
| debian/rust-wasmtime(Debian:14) | = 29.0.1+dfsg-8 | No fix listed |
| debian/rust-wasmtime(Debian:14) | = 36.0.5+dfsg-1 | No fix listed |
| debian/rust-wasmtime(Debian:14) | = 36.0.5+dfsg-2 | No fix listed |
| debian/rust-wasmtime(Debian:14) | = 36.0.5+dfsg-3 | No fix listed |
| debian/rust-wasmtime(Debian:14) | = 36.0.5+dfsg-4 | No fix listed |
| debian/rust-wasmtime(Debian:14) | = 36.0.5+dfsg-5 | No fix listed |
| debian/rust-wasmtime(Debian:14) | = 36.0.6+dfsg-1 | No fix listed |
| debian/rust-wasmtime(Debian:14) | = 36.0.6+dfsg-2 | No fix listed |
| debian/rust-wasmtime(Debian:14) | = 36.0.6+dfsg-3 | No fix listed |
| debian/rust-wasmtime(Debian:14) | = 36.0.6+dfsg-4 | No fix listed |
| debian/rust-wasmtime(Debian:14) | = 36.0.6+dfsg-5 | No fix listed |
| debian/rust-wasmtime(Debian:14) | = 36.0.6+dfsg-6 | No fix listed |
| debian/rust-wasmtime(Debian:14) | = 36.0.6+dfsg-7 | No fix listed |
| ubuntu/rust-wasmtime(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/rust-wasmtime(Ubuntu:26.10) | All versions | No fix listed |
| bytecodealliance wasmtime | >= 25.0.0, < 36.0.7 | 36.0.7 |
| bytecodealliance wasmtime | >= 37.0.0, < 42.0.2 | 42.0.2 |
| bytecodealliance wasmtime | = 43.0.0 | No fix listed |
References
- https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-xx5w-cvp6-jv83 vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com product
- rustsec.org vendor-advisory
- crates.io product
- github.com
- github.com
- Debian Security Tracker CVE-2026-34987 vendor-advisory
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2457003 issue-tracking
- www.cve.org
- Ubuntu CVE tracker vendor-advisory
- bugs.debian.org issue-tracking