All vulnerabilities

crates.io

CVE-2026-140419

Wasmtime 50.0.0 before 50.0.2 Stale GC Heap Base Pointer Denial of Service

Severity
Medium 5.7
Published
1 Dec 2026
Last changed
1 Dec 2026
Added to UpHeron
1 Dec 2026
Fixed in
48.0.9, 49.0.6, 50.0.2
Weakness
Out-of-bounds read (CWE-125)
Attack
Needs local access · Only under certain conditions · Needs a user account · No user action needed
Attacker can
Take it down
CVSS vector
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
Sources
CVE Program

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.

From the CVE Program.

Affected software

SoftwareAffected versions
wasmtimecrates.io · osv:crates.io:wasmtime
  • From 47.0.0 before 48.0.9
  • From 49.0.0 before 49.0.6
  • From 50.0.0 before 50.0.2

About wasmtime

Downloads in the last 90 days (crates.io)
14,115,171crates.io, 30 Nov 2026
Total downloads (crates.io)
47,863,744crates.io, 30 Nov 2026

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-140419