5.7medium
Wasmtime 50.0.0 before 50.0.2 Stale GC Heap Base Pointer Denial of Service
- Severity
- 5.7medium CVSS:4.0 by VulnCheck
- Published
- Last changed
- Assigned by
- VulnCheck
- Also known as
- RUSTSEC-2026-0568GHSA-43j2-gcp4-m22g
Description
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 collector-agnostic GC operations such as ref.test, so compiled code can reuse a stale null GC heap base pointer. A Wasm guest that tests or downcasts GC references returned by an imported host function can trigger loads in low host memory, aborting the host process.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| bytecodealliance wasmtime | from 50.0.0 before 50.0.2, from 49.0.0 before 49.0.6, from 47.0.0 before 48.0.9 Not affected: 50.0.2, 49.0.6, 48.0.9 | CVE List |
| wasmtime (crates.io) | from 47.0.0 before 48.0.9, from 49.0.0 before 49.0.6, from 50.0.0 before 50.0.2 | RustSec Advisory Database |
All scores
| VulnCheck | 5.7medium CVSS:4.0 | CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N |
| VulnCheck | 4.7medium CVSS:3.1 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H |
| RustSec Advisory Database | 4.7medium CVSS:3.1 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H |
Classification
What each source says
CVE List
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 collector-agnostic GC operations such as ref.test, so compiled code can reuse a stale null GC heap base pointer. A Wasm guest that tests or downcasts GC references returned by an imported host function can trigger loads in low host memory, aborting the host process.
RustSec Advisory Database
This is an entry in the RustSec database for the Wasmtime security advisory located at https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-43j2-gcp4-m22g. For more information see the GitHub-hosted security advisory.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-140419 changed 2026-12-01 | CVE Terms of Use |
| RustSec Advisory Database | RUSTSEC-2026-0568 changed 2026-12-01 | CC0-1.0 |
| NVD | CVE-2026-140419 changed 2026-12-01 | Public domain |