CVE-2026-140416: Abort in Wasmtime builds without the `gc` cargo feature

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-rc4p-x33f-vpr2. 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, when built without the gc Cargo feature, calls a panicking stub builtin from compiled code when checking a function subtype at runtime, and the panic cannot unwind. A malicious guest module can declare a non-final function type and perform callindirect, ref.test, ref.cast, or broncast against it to abort 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?

Deployments using Wasmtime 47.0.0 before 48.0.9, 49.0.0 before 49.0.6, or 50.0.0 before 50.0.2 are affected when Wasmtime is built without the gc Cargo feature.

2

What does an attacker need to trigger the issue?

An attacker needs to supply or execute a malicious guest WebAssembly module. The module must declare a non-final function type and use call_indirect, ref.test, ref.cast, or br_on_cast against that type.

3

What is the practical impact of successful exploitation?

The malicious guest module can cause the Wasmtime host process to abort. The provided data describes an availability impact only, with no confidentiality or integrity impact.

4

What should be done if patching cannot happen immediately?

Avoid executing untrusted guest modules that can declare non-final function types and invoke the listed runtime subtype-checking operations. Building with the gc Cargo feature is outside the affected build condition described in the advisory.

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