Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSupply crafted guest module with mismatched anyref type
-
ExploitHost resolves function via TypedFunc I31/NoneRef
-
ExecutionType-check hits unreachable!() path
-
ImpactHost embedding panics (denial of service)
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V16 - Security Logging and Error Handling Reachable assertion handling
|
| Exploitation Conditions | Exploitation requires that the host embedding specifically uses the I31, Option<I31>, or Option<NoneRef> types as a parameter or result in a Wasmtime TypedFunc (e.g. via get_typed_func::<I31, ()>), AND that the attacker can supply or influence the guest module that the host resolves against. The trigger is a guest-exported function declared with a different type in the anyref hierarchy (such as (ref $struct) or anyref) than the host expects, which drives the internal type-check into an unreachable!() path and panics the host. LIMITING FACTORS explicitly stated by the vendor: embeddings that do not use I31 or NoneRef are unaffected, and embeddings using only the component model are unaffected; only Wasmtime 47.0.0-48.0.7, 49.0.0-49.0.4, and 50.0.0 are vulnerable. The only complete fix per the advisory is updating to 48.0.8, 49.0.5, or 50.0.1. |
| Impact | This is a low-priority, high-confidence availability-only issue, not a genuine emergency. The vuln.today decision label is 'monitor', and the input supplies no KEV listing and no EPSS score, so there is no evidence of active or probable widespread exploitation - exploitation status is 'no public exploit identified as actively used; a public PoC reference exists in the vendor advisory but is not verified by the input as confirmed working exploit code'. The vendor CVSS 4.0 vector (AV:A/AC:H/AT:P/PR:H/UI:P, VA:L, all other impacts N) yields a score of 1.0 and signals severe exploitation friction, though several of those metric choices are debatable for this bug class. The GHSA advisory confirms the mechanism precisely: the impact is a host panic (denial of service) with no confidentiality or integrity impact, and it only affects embeddings that actually use the I31, Option<I31>, or Option<NoneRef> types in a TypedFunc - component-model users and embeddings not using these types are explicitly unaffected. The real-world risk is therefore sharply gated by whether a given embedding uses the affected API shape AND loads attacker-influenced guest modules; where both hold, the panic is deterministic rather than probabilistic, but the blast radius is limited to a crash of that embedding. |
| Exploit ScenarioDerived | A host application embeds Wasmtime and uses get_typed_func with an I31 or NoneRef parameter/result type to call into an untrusted guest. An attacker supplies a crafted guest module that exports a function using a different anyref-hierarchy type (e.g. (ref $struct)); when the host resolves the typed function, Wasmtime's type-check reaches an unreachable!() path and the host process panics, denying service. A full proof-of-concept in Rust is published in the vendor GHSA advisory, but the input does not confirm it as verified working exploit code. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 13, 2026
Host panic and denial of service in Wasmtime 47.0.0 through 48.0.7, 49.0.0 through 49.0.4, and 50.0.0 occurs when an embedder uses TypedFunc with I31, Option<I31>, or Option<NoneRef> parameters or results and an attacker-supplied or attacker-influenced guest module exports a function with a different anyref-hierarchy type. The guest-triggered type mismatch drives an internal type-check into an unreachable!() path, panicking the host process. The vendor advisory includes a proof-of-concept demonstrating the panic; no active exploitation is reported and the priority is monitor. Embeddings not using I31 or NoneRef, and those using only the component model, are unaffected.
RemediationAI
Upgrade to Wasmtime 48.0.8, 49.0.5, or 50.0.1; the vendor states that updating is the only complete fix. The advisory notes that embeddings which do not use I31 or NoneRef are unaffected, and embeddings using only the component model are unaffected, so those deployments carry no exposure. No other workaround is documented in the supplied sources; the fix addresses the internal type-check that reached unreachable!(). See GHSA-3982-jqvv-277m for the patched versions and the proof-of-concept.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in cargo
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Wasmtime's TypedFunc API provides statically typed calls between a host embedding and core WebAssembly guests. The I31 wrapper maps to (ref i31), Option<I31> maps to i31ref, and Option<NoneRef> maps to nullref. When a host resolves a guest export via get_typed_func with one of these types, Wasmtime performs an internal type-check. If the guest declares the function with any other type in the anyref hierarchy - such as anyref or (ref $struct) - that check reaches a code path marked unreachable!(), which is actually reachable and triggers a panic. The issue is classified as CWE-617 (Reachable Assertion). Only Wasmtime 47.0.0-48.0.7, 49.0.0-49.0.4, and 50.0.0 are affected; the root cause is the insufficient type-check in the embedder API, not a memory-safety flaw. The trigger is a guest-exported function whose declared parameter or result type differs from the host's expected I31/NoneRef type.
Know when Wasmtime gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:A/AC:H/AT:P/PR:H/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
A supplied guest module deterministically triggers the host panic (AC:L) with no attacker privilege on the host; impact is availability-only (A:L, no C/I); AV:L reflects that module provisioning is typically a local/trusted channel, though AV:N is defensible where untrusted remote modules are accepted.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
1DescriptionCVE.org
Wasmtime 47.0.0 before 48.0.8, 49.0.0 before 49.0.5, and 50.0.0 before 50.0.1 contains an insufficient type-check in the TypedFunc embedder API for I31, Option<I31>, and Option<NoneRef> parameter or result types, reaching an unreachable!() path. A malicious guest module exporting a function that uses another anyref-hierarchy type can panic the host embedding, causing denial of service.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Sandbox escape in Wasmtime on aarch64 lets a user-supplied WebAssembly module redirect an oversized br_table branch to a
Wasmtime versions before 36.0.19, and the 37.0.0 through 42.x line, can silently miscompile attacker-supplied WebAssembl
wasmtime is a fast and secure runtime for WebAssembly. Rated critical severity (CVSS 9.9), this vulnerability is remotel
Wasmtime is a standalone runtime for WebAssembly. Rated critical severity (CVSS 9.8), this vulnerability is remotely exp
Wasmtime is a standalone JIT-style runtime for WebAssembly, using Cranelift. Rated critical severity (CVSS 9.8), this vu
wasmtime is a runtime for WebAssembly. Rated medium severity (CVSS 5.5), this vulnerability is low attack complexity. Pu
Memory sandbox escape in Wasmtime's Winch compiler (versions 25.0.0 to before 36.0.7, 42.0.2, 43.0.1) enables authentica
Arbitrary memory read/write vulnerability in Bytecode Alliance Wasmtime versions 32.0.0 through 36.0.6, 42.0.0-42.0.1, a
Wasmtime is a standalone runtime for WebAssembly. Rated high severity (CVSS 8.8), this vulnerability is remotely exploit
Wasmtime is a standalone runtime for WebAssembly. Rated high severity (CVSS 8.8), this vulnerability is remotely exploit
Wasmtime is a standalone runtime for WebAssembly. Rated high severity (CVSS 8.6), this vulnerability is remotely exploit
Wasmtime's HTTP header handling in the wasmtime-wasi-http crate crashes when processing excessive header fields, allowin
EUVD-2026-125035
GHSA-h5ch-mmp3-rm7x
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB