Wasmtime 47.0.0 before 48.0.9, 49.0.0 before 49.0.6, and 50.0.0 before 50.0.2 does not set needs_gc_heap for
Source GCVE Database
Not known to be exploited · CVSS 5.7 Medium : upgrade to 50.0.2 when convenient.
Data as of 1 Dec 2026, 16:17 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 5.7 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 4.7 |
- Patch
- Available – fixed in 50.0.2, 49.0.6, 48.0.9
CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 1 Dec 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 1 Dec 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| bytecodealliancewasmtime | Affected
| Fixed in
|
| bytecodealliancewasmtime | Affected
| Fixed in
|
| bytecodealliancewasmtime | Affected
| Fixed in
|
crates.iowasmtimepkg:cargo/wasmtimeOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
No explicit patch links or vendor advisory are provided in the data. Given the fixed versions indicated (48.0.9, 49.0.6, and 50.0.2), upgrading to these or later versions will remediate the vulnerability. Until then, avoid running untrusted Wasm guests that perform GC reference tests or downcasts from imported host functions in environments with constrained host memory.
Description
Wasmtime versions 47.0.0 before 48.0.9, 49.0.0 before 49.0.6, and 50.0.0 before 50.0.2 contain a vulnerability where the needs_gc_heap flag is not set for collector-agnostic garbage collection operations such as ref.test. This causes compiled code to reuse a stale null GC heap base pointer. A WebAssembly guest that tests or downcasts GC references returned by an imported host function can trigger invalid memory loads under low host memory conditions, potentially aborting the host process.