Home / bytecodealliance / wasmtime / CVE-2026-35186
CVE-2026-35186: is it exploited, and which versions of bytecodealliance wasmtime are affected and fixed?
CVE-2026-35186 is a memory Allocation with Excessive Size Value vulnerability in bytecodealliance wasmtime. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 14:08 UTC). Affected: wasmtime from 25.0.0 before 36.0.7, wasmtime from 37.0.0 before 42.0.2 and wasmtime from 43.0.0 before 43.0.1 (GitHub advisory GHSA-f984-pcp8-v2p7). Fixed in 36.0.7, 42.0.2 and 43.0.1 (GitHub advisory GHSA-f984-pcp8-v2p7). Severity: Medium (6.1, CVSS 4.0, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:08 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:12 UTC.
What is CVE-2026-35186?
Wasmtime has an improperly masked return value from `table.grow` with Winch compiler backend
Wasmtime is a runtime for WebAssembly. From 25.0.0 to before 36.0.7, 42.0.2, and 43.0.1, Wasmtime's Winch compiler backend contains a bug where translating the table.grow operator causes the result to be incorrectly typed. For 32-bit tables this means that the result of the operator, internally in Winch, is tagged as a 64-bit value instead of a 32-bit value. This invalid internal representation of Winch's compiler state compounds into further issues depending on how the value is consumed. The primary consequence of this bug is that bytes in the host's address space can be stored/read from. This is only applicable to the 16 bytes before linear memory, however, as the only significant return value of table.grow that can be misinterpreted is -1. The bytes before linear memory are, by default, unmapped memory. Wasmtime will detect this fault and abort the process, however, because wasm should not be able to access these bytes. Overall this this bug in Winch represents a DoS vector by crashing the host process, a correctness issue within Winch, and a possible leak of up to 16-bytes before linear memory. Wasmtime's default compiler is Cranelift, not Winch, and Wasmtime's default settings are to place guard pages before linear memory. This means that Wasmtime's default configuration is not affected by this issue, and when explicitly choosing Winch Wasmtime's otherwise default configuration leads to a DoS. Disabling guard pages before linear memory is required to possibly leak up to 16-bytes of host data. This vulnerability is fixed in 36.0.7, 42.0.2, and 43.0.1.
From the CVE record by GitHub_M, last updated April 13, 2026, 20:18 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| bytecodealliance | wasmtime | >= 25.0.0, < 36.0.7 >= 37.0.0, < 42.0.2 >= 43.0.0, < 44.0.1 |
As the CVE record by GitHub_M states it, last updated April 13, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| crates.io | wasmtime | >= 25.0.0, < 36.0.7 | 36.0.7 | GHSA-f984-pcp8-v2p7 |
| crates.io | wasmtime | >= 37.0.0, < 42.0.2 | 42.0.2 | GHSA-f984-pcp8-v2p7 |
| crates.io | wasmtime | >= 43.0.0, < 43.0.1 | 43.0.1 | GHSA-f984-pcp8-v2p7 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated April 10, 2026. Summary: Wasmtime has improperly masked return value from `table.grow` with Winch compiler backend.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| bytecodealliance | wasmtime | from 25.0.0 before 36.0.7 | application |
| bytecodealliance | wasmtime | from 37.0.0 before 42.0.2 | application |
| bytecodealliance | wasmtime | 43.0.0 | application |
NVD analysis (status Analyzed), last modified October 26, 2026, 22:10 UTC.
How severe is CVE-2026-35186?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.1 | CVSS 4.0 | CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N | GitHub_M |
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | CISA-ADP |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-35186 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, April 13, 2026)
- EPSS
- 0.23% probability of exploitation activity in the next 30 days, percentile 14.3 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-789 Memory Allocation with Excessive Size Value
Where are the vendor advisories and references?
- https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-f984-pcp8-v2p7 x_refsource_CONFIRM
When was it published, and where is the official record?
- Reserved
- April 1, 2026
- Published
- April 9, 2026, 18:54 UTC
- CVE record updated
- April 13, 2026, 20:18 UTC by GitHub_M
- NVD
- Analyzed, last modified October 26, 2026, 22:10 UTC
- Last checked
- CVE list November 19, 2026, 07:07 UTC; NVD November 19, 2026, 07:12 UTC; KEV December 3, 2026, 14:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect wasmtime?
- Dec 1, 2026CVE-2026-140414 bytecodealliance wasmtime: reachable assertion (crash)
- Dec 1, 2026CVE-2026-140415 bytecodealliance wasmtime: denial of service (uncontrolled resource consumption)
- Dec 1, 2026CVE-2026-140416 bytecodealliance wasmtime: reachable assertion (crash)
- Dec 1, 2026CVE-2026-140417 bytecodealliance wasmtime: reachable assertion (crash)
- Dec 1, 2026CVE-2026-140418 bytecodealliance wasmtime: reachable assertion (crash)
- Dec 1, 2026CVE-2026-140419 bytecodealliance wasmtime: out-of-bounds read
- Dec 1, 2026CVE-2026-140420 bytecodealliance wasmtime: denial of service (resources allocated without limits)
- Dec 1, 2026CVE-2026-140421 bytecodealliance wasmtime: improper Validation of Specified Type of Input
Questions about CVE-2026-35186
Is CVE-2026-35186 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 14:08 UTC. FIRST's EPSS gives it a 0.23% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of bytecodealliance wasmtime are affected by CVE-2026-35186?
wasmtime from 25.0.0 before 36.0.7, wasmtime from 37.0.0 before 42.0.2 and wasmtime from 43.0.0 before 43.0.1, per the GitHub advisory GHSA-f984-pcp8-v2p7. The tables above give every range the sources list.
Which version fixes CVE-2026-35186?
36.0.7, 42.0.2 and 43.0.1, per the GitHub advisory GHSA-f984-pcp8-v2p7. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-35186?
Medium (6.1, CVSS 4.0, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-35186?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.