Wasmtime 50.0.0 before 50.0.2 Stale GC Heap Base Pointer Denial of Service
- CVE-2026-140419
- GHSA-43j2-gcp4-m22g
- GHSA-h97j-mmm9-r4rx
- RUSTSEC-2026-0568
- EUVD-2026-140224
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.
Text from the CVE.org record.
Recommendation
bytecodealliance wasmtime
- If you run 50.0.xupdate to 50.0.2 or laterPatch update: breaking changes are unlikely
- If you run 49.0.xupdate to 49.0.6 or laterPatch update: breaking changes are unlikely
- If you run a version from 47.0.0 to before 48.0.9update to 48.0.9 or laterMajor version change: expect breaking changes
wasmtime
- If you run 50.0.xupdate to 50.0.2 or laterPatch update: breaking changes are unlikelywasmtime 50.0.2 on its registry (opens in a new tab)
- If you run 49.0.xupdate to 49.0.6 or laterPatch update: breaking changes are unlikelywasmtime 49.0.6 on its registry (opens in a new tab)
- If you run a version from 47.0.0 to before 48.0.9update to 48.0.9 or laterMajor version change: expect breaking changeswasmtime 48.0.9 on its registry (opens in a new tab)
Taken from the version ranges the sources state. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
bytecodealliance wasmtime
Affected versions Fixed in from 50.0.0 to before 50.0.2 50.0.2 from 49.0.0 to before 49.0.6 49.0.6 from 47.0.0 to before 48.0.9 48.0.9 wasmtimecrates.io
Affected versions Fixed in from 50.0.0 to before 50.0.2 50.0.2 from 49.0.0 to before 49.0.6 49.0.6 from 47.0.0 to before 48.0.9 48.0.9
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.