CVE-2026-140419: Stale GC heap base pointer in compiled code lets a Wasm guest abort the host process

Published Nov 16, 2026
·
Updated

This is an entry in the RustSec database for the Wasmtime security advisory located at https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-43j2-gcp4-m22g. For more information see the GitHub-hosted security advisory.

Other sources

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.

— MITRE

Affected Software

4 affected componentsFixes available
Bytecode Alliance Wasmtime>=47.0.0<48.0.9, >=49.0.0<49.0.6, >=50.0.0<50.0.2
rust/wasmtime>=47.0.0<48.0.9
48.0.9
rust/wasmtime>=49.0.0<49.0.6
49.0.6
rust/wasmtime>=50.0.0<50.0.2
50.0.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade rust/wasmtime to a version that resolves this vulnerability.

    Fixed in 48.0.9
  2. Upgrade

    Upgrade rust/wasmtime to a version that resolves this vulnerability.

    Fixed in 49.0.6
  3. Upgrade

    Upgrade rust/wasmtime to a version that resolves this vulnerability.

    Fixed in 50.0.2

Event History

Nov 16, 2026
Advisory Published
via OSV·12:00 PM
Data Sourced
via OSV·12:00 PM
DescriptionSeverityAffected Software
Dec 1, 2026
CVE Published
via MITRE·02:28 PM
Data Sourced
via MITRE·02:28 PM
DescriptionSeverityWeakness
Data Sourced
via OSV·02:28 PM
Weakness
Data Sourced
via NVD·03:18 PM
DescriptionSeverityWeakness
Event
via NVD·03:18 PM

Frequently Asked Questions

1

Which deployments are exposed to this issue?

Deployments using Wasmtime versions 47.0.0 through 48.0.8, 49.0.0 through 49.0.5, or 50.0.0 through 50.0.1 are affected. Exploitation requires execution of a Wasm guest that uses GC reference tests or downcasts on references returned by an imported host function.

2

What does an attacker need to cause an impact?

An attacker needs the ability to run a crafted Wasm guest in the host process. The guest must be able to invoke an imported host function that returns GC references, then test or downcast those references.

3

What is the practical impact of successful exploitation?

The crafted guest can cause compiled code to load from low host memory using a stale null GC heap base pointer. This aborts the host process, resulting in denial of service.

4

How can I determine whether my environment is at risk?

Check the deployed Wasmtime version and whether untrusted or attacker-controlled Wasm guests can run. Risk is relevant where guests can receive GC references from imported host functions and perform GC reference tests or downcasts.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203