Home › CVE › Vulnerabilities
CVE-2026-140419 — bytecodealliance wasmtime
One of 8 bytecodealliance wasmtime vulnerabilities published together by NVD: our article covers all of them.
VulnerabilitiesSummary
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.
Severity breakdown
Medium · 5.7
An attacker with a normal user account can exploit this with local access, without any user action, but only under specific conditions.
- Attack from
- local access (a logged-in user, or a malicious file opened on the device)
- Attack complexity
- high (only works under specific conditions)
- Special conditions
- only in some setups or conditions
- Login needed
- yes, a normal user account
- User action needed
- no
- Impact
- high on availability, none on confidentiality and integrity
- Impact on other systems
- none
Weakness
- CWE-125: Out-of-bounds Read
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| bytecodealliance wasmtime | ≥ 50.0.0, < 50.0.2 | 50.0.2 |
| bytecodealliance wasmtime | ≥ 49.0.0, < 49.0.6 | 49.0.6 |
| bytecodealliance wasmtime | ≥ 47.0.0, < 48.0.9 | 48.0.9 |
References by type
Vendor advisories
Other references
Affected
- bytecodealliance wasmtime
What to do
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-140419?
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 needsgcheap 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. Weakness type: Out-of-bounds Read (CWE-125).
How severe is CVE-2026-140419?
CVE-2026-140419 has a CVSS 4.0 base score of 5.7 (medium), from the CNA (vulncheck.com). An attacker with a normal user account can exploit this with local access, without any user action, but only under specific conditions.
Is CVE-2026-140419 being exploited?
Not as far as is known: CVE-2026-140419 is not in CISA's Known Exploited Vulnerabilities catalog as of December 2, 2026.
Which versions are affected by CVE-2026-140419?
bytecodealliance wasmtime ≥ 50.0.0, < 50.0.2 (fixed in 50.0.2); bytecodealliance wasmtime ≥ 49.0.0, < 49.0.6 (fixed in 49.0.6); bytecodealliance wasmtime ≥ 47.0.0, < 48.0.9 (fixed in 48.0.9).
How do I fix CVE-2026-140419?
Update to a fixed release: bytecodealliance wasmtime 50.0.2; bytecodealliance wasmtime 49.0.6; bytecodealliance wasmtime 48.0.9.