CVE-2026-140419 PUBLISHED

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

Assigner: VulnCheck
Reserved: 01.12.2026 Published: 01.12.2026 Updated: 01.12.2026

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.

Metrics

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
CVSS Score: 5.7

Product Status

Vendor bytecodealliance
Product wasmtime
Versions Default: unaffected
  • affected from 50.0.0 to 50.0.2 (excl.)
  • Version 50.0.2 is unaffected
Vendor bytecodealliance
Product wasmtime
Versions Default: unaffected
  • affected from 49.0.0 to 49.0.6 (excl.)
  • Version 49.0.6 is unaffected
Vendor bytecodealliance
Product wasmtime
Versions Default: unaffected
  • affected from 47.0.0 to 48.0.9 (excl.)
  • Version 48.0.9 is unaffected

Credits

  • khagankhan reporter
  • fitzgen remediation developer

References

Problem Types

  • Out-of-bounds Read CWE