Description
Wasmtime 39.0.0 before 48.0.4 and 49.0.0 before 49.0.2 contains a stack buffer overflow vulnerability that allows malicious guests to write ~16KB to the native stack via unvalidated async callback result types. Attackers can supply components with mistyped component-model-async callback functions to overwrite return addresses, crashing the host or escaping the sandbox.
Published: 2026-10-22
Score: 9.4 Critical
EPSS: < 1% Very Low
KEV: No
Impact: Remote Code Execution via Stack Buffer Overflow
Action: Immediate Patch
AI Analysis

Impact

Wasmtime releases up to 47.x, 48.0.0 to 48.0.3, and 49.0.0 to 49.0.1 contain a stack buffer overflow that is triggered by passing malformed async callback result types from a guest module. This vulnerability is a CWE-20: Improper Input Validation (Buffer Overflow). An attacker can craft an async callback with an incorrect type signature, causing the host to write roughly 16 KB of data onto its native stack. This corrupts return addresses, which an attacker can use to cause a host crash or to redirect execution flow, thereby potentially escaping the sandbox or executing arbitrary native code on the host system.

Affected Systems

All bytecodealliance Wasmtime releases 39.0.0 through 47.x, 48.0.0 through 48.0.3, and 49.0.0 through 49.0.1 are vulnerable. The vulnerability is mitigated in Wasmtime 48.0.4, 49.0.2, and later releases.

Risk and Exploitability

The CVSS v3.1 score of 9.4 indicates a high‑severity flaw. No EPSS data is available, but the lack of attribution in the KEV list suggests it is not yet confirmed as widely exploited. The attack vector requires a malicious guest component; therefore it is most relevant in deployments that run untrusted WebAssembly code. Once the overflow is triggered, the attacker can crash the host or execute arbitrary native code, giving full control over the host process.

Generated by OpenCVE AI on October 23, 2026 at 03:58 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to Wasmtime version 48.0.4 or later, which contains the stack buffer overflow fix.
  • If an immediate upgrade is not feasible, run all untrusted WebAssembly modules in an isolated sandbox or container to limit potential escape of the host process.
  • Implement strict validation of component‑model‑async callback type signatures before execution, rejecting or correcting any mismatched types to prevent overflow triggers.

Generated by OpenCVE AI on October 23, 2026 at 03:58 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 23 Oct 2026 00:45:00 +0000

Type Values Removed Values Added
Description Wasmtime 39.0.0 before 48.0.4 and 49.0.0 before 49.0.2 contains a stack buffer overflow vulnerability that allows malicious guests to write ~16KB to the native stack via unvalidated async callback result types. Attackers can supply components with mistyped component-model-async callback functions to overwrite return addresses, crashing the host or escaping the sandbox.
Title Wasmtime 39.0.0 before 48.0.4 and 49.0.0 before 49.0.2 Stack Buffer Overflow
First Time appeared Bytecodealliance
Bytecodealliance wasmtime
Weaknesses CWE-20
CPEs cpe:2.3:a:bytecodealliance:wasmtime:*:*:*:*:*:*:*:*
Vendors & Products Bytecodealliance
Bytecodealliance wasmtime
References
Metrics cvssV3_1

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

cvssV4_0

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


Subscriptions

Bytecodealliance Wasmtime
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-22T19:13:51.422Z

Reserved: 2026-10-22T11:25:27.610Z

Link: CVE-2026-115384

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-10-22T19:17:45.543

Modified: 2026-10-22T19:17:45.653

Link: CVE-2026-115384

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-23T06:15:12Z

Weaknesses
  • CWE-20

    Improper Input Validation