CVE-2026-34987
Last modified
CVE-2026-34987 is a critical-severity vulnerability rated 9.9/10 on the CVSS scale. 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. EPSS estimates a 0.28% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Bytecodealliance | Wasmtime | >= 25.0.0, < 36.0.7 |
| Bytecodealliance | Wasmtime | >= 37.0.0, < 42.0.2 |
| Bytecodealliance | Wasmtime | 43.0.0 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-34987?
How severe is CVE-2026-34987?
How do I fix CVE-2026-34987?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-34981The whisperX API is a tool for enhancing and analyzing audio…5.8
- CVE-2026-34982Vim is an open source, command line text editor. Prior to ve…8.2
- CVE-2026-34983Wasmtime is a runtime for WebAssembly. In 43.0.0, cloning a …5
- CVE-2026-34984External Secrets Operator reads information from a third-par…6.5
- CVE-2026-34985LORIS (Longitudinal Online Research and Imaging System) is a…6.5
- CVE-2026-34986Go JOSE provides an implementation of the Javascript Object …7.5
- CVE-2026-34988Wasmtime is a runtime for WebAssembly. From 28.0.0 to before…6.3
- CVE-2026-34989CI4MS is a CodeIgniter 4-based CMS skeleton that delivers a …9
- CVE-2026-3499The Product Feed PRO for WooCommerce by AdTribes – Product F…8.8
- CVE-2026-34990OpenPrinting CUPS is an open source printing system for Linu…7.8
- CVE-2026-34992Antrea is a Kubernetes networking solution intended to be Ku…7.5
- CVE-2026-34993AIOHTTP is an asynchronous HTTP client/server framework for …7.3
Are you affected by CVE-2026-34987?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
