Skip to content

CVE-2026-140419 Wasmtime 50.0.0 before 50.0.2 Stale GC Heap Base Pointer Denial of Service

MediumCVSS 5.7 EPSS 0.16%
Published
Updated
Exploit status
No public exploit known
Technology
Debian

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
crates.io wasmtime >= 47.0.0, < 48.0.9; >= 49.0.0, < 49.0.6; >= 50.0.0, < 50.0.2 48.0.9, 49.0.6, 50.0.2 Fixed
crates.io wasmtime(crates.io) >= 47.0.0, < 48.0.9; >= 49.0.0, < 49.0.6; >= 50.0.0, < 50.0.2 48.0.9, 49.0.6, 50.0.2 Fixed

Affected products

ProductAffected versionsFixed in
crates.io wasmtime >= 50.0.0, < 50.0.2 50.0.2
crates.io wasmtime >= 49.0.0, < 49.0.6 49.0.6
crates.io wasmtime >= 47.0.0, < 48.0.9 48.0.9
crates.io wasmtime(crates.io) >= 47.0.0, < 48.0.9 48.0.9
crates.io wasmtime(crates.io) >= 49.0.0, < 49.0.6 49.0.6
crates.io wasmtime(crates.io) >= 50.0.0, < 50.0.2 50.0.2

References