CVE-2026-35186: CWE-789: Memory Allocation with Excessive Size Value in bytecodealliance wasmtime
CVE-2026-35186 is a medium severity vulnerability in the Winch compiler backend of Wasmtime, a WebAssembly runtime by bytecodealliance. It affects versions from 25. 0. 0 up to but not including 36. 0. 7, 42. 0. 2, and 43. 0. 1.
AI Analysis
Technical Summary
Wasmtime's Winch compiler backend incorrectly types the result of the table.grow operator for 32-bit tables, tagging it as a 64-bit value instead of 32-bit. This internal state corruption can cause bytes in the host's address space immediately preceding linear memory to be read or written. Since these bytes are typically unmapped memory, Wasmtime aborts the process upon access, resulting in a denial of service. If guard pages before linear memory are disabled, an attacker may leak up to 16 bytes of host memory. The default Cranelift compiler and default guard page settings prevent exploitation under normal configurations. The issue affects Wasmtime versions >= 25.0.0 and < 36.0.7, >= 37.0.0 and < 42.0.2, and >= 43.0.0 and < 44.0.1, and is resolved in versions 36.0.7, 42.0.2, and 43.0.1.
Potential Impact
This vulnerability can cause denial of service by crashing the host process when the Winch compiler backend is used with default guard page settings. Additionally, if guard pages are disabled, it may lead to a limited information leak of up to 16 bytes of host memory preceding linear memory. The default Wasmtime configuration using the Cranelift compiler and guard pages is not affected, limiting the practical impact unless the Winch backend is explicitly selected and guard pages disabled.
Mitigation Recommendations
A fix for this vulnerability is available in Wasmtime versions 36.0.7, 42.0.2, and 43.0.1. Users should upgrade to one of these versions or later to remediate the issue. If upgrading is not immediately possible, ensure that the default Cranelift compiler backend and guard pages before linear memory remain enabled, as these default settings prevent exploitation. Disabling guard pages before linear memory should be avoided to prevent potential information leakage.
CVE-2026-35186: CWE-789: Memory Allocation with Excessive Size Value in bytecodealliance wasmtime
Description
CVE-2026-35186 is a medium severity vulnerability in the Winch compiler backend of Wasmtime, a WebAssembly runtime by bytecodealliance. It affects versions from 25. 0. 0 up to but not including 36. 0. 7, 42. 0. 2, and 43. 0. 1.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Wasmtime's Winch compiler backend incorrectly types the result of the table.grow operator for 32-bit tables, tagging it as a 64-bit value instead of 32-bit. This internal state corruption can cause bytes in the host's address space immediately preceding linear memory to be read or written. Since these bytes are typically unmapped memory, Wasmtime aborts the process upon access, resulting in a denial of service. If guard pages before linear memory are disabled, an attacker may leak up to 16 bytes of host memory. The default Cranelift compiler and default guard page settings prevent exploitation under normal configurations. The issue affects Wasmtime versions >= 25.0.0 and < 36.0.7, >= 37.0.0 and < 42.0.2, and >= 43.0.0 and < 44.0.1, and is resolved in versions 36.0.7, 42.0.2, and 43.0.1.
Potential Impact
This vulnerability can cause denial of service by crashing the host process when the Winch compiler backend is used with default guard page settings. Additionally, if guard pages are disabled, it may lead to a limited information leak of up to 16 bytes of host memory preceding linear memory. The default Wasmtime configuration using the Cranelift compiler and guard pages is not affected, limiting the practical impact unless the Winch backend is explicitly selected and guard pages disabled.
Mitigation Recommendations
A fix for this vulnerability is available in Wasmtime versions 36.0.7, 42.0.2, and 43.0.1. Users should upgrade to one of these versions or later to remediate the issue. If upgrading is not immediately possible, ensure that the default Cranelift compiler backend and guard pages before linear memory remain enabled, as these default settings prevent exploitation. Disabling guard pages before linear memory should be avoided to prevent potential information leakage.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-04-01T17:26:21.134Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69d7f88c1cc7ad14da0c170c
Added to database: 4/9/2026, 7:05:48 PM
Last enriched: 4/9/2026, 7:21:30 PM
Last updated: 4/9/2026, 8:40:28 PM
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.