CVE-2026-119137

Wasmtime 42.0.0 before 48.0.6 and 49.0.0 before 49.0.3 Stack Overflow via Type Registry

Published Oct 29, 2026 CVSS 4.0 · 6.9 Medium EPSS < 1% KEV · Not listed
Description
Wasmtime 42.0.0 before 48.0.6 and 49.0.0 before 49.0.3 contains a stack overflow vulnerability that allows guests to crash the host through recursive type drops. Guests can define a long chain of recursive types so that removing the top-level type triggers unbounded recursive drops, exhausting the host stack.

Analysis

AI-generated

Technical impact

Wasmtime versions 42.0.0 through 48.0.5 and 49.0.0 through 49.0.2 allow a guest environment to trigger unbounded recursive type drops, causing a stack overflow that crashes the host process. The vulnerability is catalogued as CWE‑674 and CWE‑770, indicating that recursive operations lack proper boundary checks and that a potential out‑of‑bounds write could result from stack exhaustion. An attacker who can influence the guest's type definitions can thus force the host to exhaust its stack and terminate, resulting in a denial‑of‑service condition for processes relying on the Wasmtime runtime.

Affected Systems

Bytecode Alliance’s Wasmtime component is affected. The vulnerability exists in all releases from 42.0.0 up to but not including 48.0.6, and from 49.0.0 up to but not including 49.0.3. Systems running the listed versions with untrusted guest code access are susceptible.

Risk and Exploitability

The CVSS score of 6.9 indicates a moderate severity impact. Although the EPSS score is not available, the absence of a listed KEV entry suggests that no widespread exploitation has been reported to CISA. The attack vector is inferred to be local to the Wasmtime guest environment; an adversary capable of crafting or modifying guest code can exercise the vulnerable recursive type logic. Because the crash occurs at the host level, the exploit can terminate critical services or interrupt user sessions, but it does not provide broader remote code execution.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest Wasmtime release – upgrade to version 48.0.6 or later, or to version 49.0.3 or later, to eliminate the stack‑overflow flaw.
  • If an upgrade is not immediately possible, enforce a maximum recursion depth in type definitions or disable the recursive type registry feature for untrusted guests to prevent exhausting the host stack.
  • Configure the host process to monitor for crash events and trigger an automatic restart or cleanup routine to maintain service availability after an accidental stack overflow.

Generated by OpenCVE AI on October 30, 2026 at 13:57 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Wasmtime 42.0.0 before 48.0.6 and 49.0.0 before 49.0.3 contains a stack overflow vulnerability that allows guests to crash the host through recursive type drops. Guests can define a long chain of recursive types so that removing the top-level type triggers unbounded recursive drops, exhausting the host stack.
Title Wasmtime 42.0.0 before 48.0.6 and 49.0.0 before 49.0.3 Stack Overflow via Type Registry
First Time appeared Bytecodealliance
Bytecodealliance wasmtime
Weaknesses CWE-674
CPEs cpe:2.3:a:bytecodealliance:wasmtime:*:*:*:*:*:*:*:*
Vendors & Products Bytecodealliance
Bytecodealliance wasmtime
References
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L'}

cvssV4_0

{'score': 6.9, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-674

    Uncontrolled Recursion

  • CWE-770

    Allocation of Resources Without Limits or Throttling

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 29, 2026, 5:14 PM
Reserved
Oct 29, 2026, 2:26 PM
Status
Deferred
Published
Oct 29, 2026, 4:18 PM
Modified
Oct 29, 2026, 5:18 PM
Severity
Moderate
Public date
Oct 29, 2026, 3:58 PM