CVE-2026-115393

Wasmtime before 24.0.12, 25.0.0 before 36.0.13, 37.0.0 before 46.0.2, and 47.0.0 before 47.0.3 Cross-Engine Type Confusion

Published Oct 22, 2026 CVSS 4.0 · 1 Low EPSS < 1% KEV · Not listed
Description
Wasmtime before 24.0.12, 25.0.0 before 36.0.13, 37.0.0 before 46.0.2, and 47.0.0 before 47.0.3 contains a type confusion vulnerability because several Store APIs fail to validate that objects belong to the Store's Engine. Embedders mixing objects between Engines via Instance::new, StructRefPre::new, or Tag::new can trigger trampoline signature mismatches causing out-of-bounds stack writes, GC heap corruption, or panics.

Analysis

AI-generated

Technical impact

wasmtime suffers a type‑confusion flaw where several Store APIs do not confirm that objects belong to the same Engine. An embedder that mixes objects from different Engines—via Instance::new, StructRefPre::new, or Tag::new—can cause trampoline signature mismatches that trigger out‑of‑bounds stack writes, garbage‑collector heap corruption, or abrupt panics. These memory corruptions could lead to arbitrary code execution or denial‑of‑service conditions within the host process that runs wasmtime. The description does not state a confirmed exploitation path, but the severity of the memory corruption is significant if the embedding application is compromised.

Affected Systems

Bytecode Alliance’s wasmtime engine. The vulnerability affects wasmtime versions before 24.0.12, before 36.0.13 of 25.0.0, before 46.0.2 of 37.0.0, and before 47.0.3 of 47.0.0.

Risk and Exploitability

The CVSS score of 1.0 is low and no EPSS data is available, and the vulnerability is not listed in CISA’s KEV catalog. This suggests limited exploitation activity observed so far. However, exploitation requires ability to execute wasmtime code or influence its API calls, which is typically a local privilege or embedded‑system scenario. The attack vector is inferred to be local; an attacker who can control input to the embedding application would need to orchestrate Engine mixing to trigger the type confusion. Given the low public exploitation metrics, the immediate risk to externally exposed services appears modest, yet the impact of a successful exploitation would be severe due to memory corruption.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade wasmtime to a fixed release: 24.0.12 or later, 36.0.13 or later for 25.0.0 series, 46.0.2 or later for 37.0.0 series, and 47.0.3 or later for 47.0.0 series.
  • Ensure that objects belonging to a Store are not mixed across different Engine instances when calling Instance::new, StructRefPre::new, or Tag::new; follow the API guidelines for Engine ownership of Store objects.
  • If upgrade is not immediately feasible, isolate wasmtime executions in separate processes or containers to contain potential memory corruption effects.

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

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
Description Wasmtime before 24.0.12, 25.0.0 before 36.0.13, 37.0.0 before 46.0.2, and 47.0.0 before 47.0.3 contains a type confusion vulnerability because several Store APIs fail to validate that objects belong to the Store's Engine. Embedders mixing objects between Engines via Instance::new, StructRefPre::new, or Tag::new can trigger trampoline signature mismatches causing out-of-bounds stack writes, GC heap corruption, or panics.
Title Wasmtime before 24.0.12, 25.0.0 before 36.0.13, 37.0.0 before 46.0.2, and 47.0.0 before 47.0.3 Cross-Engine Type Confusion
First Time appeared Bytecodealliance
Bytecodealliance wasmtime
Weaknesses CWE-787
CWE-843
CPEs cpe:2.3:a:bytecodealliance:wasmtime:*:*:*:*:*:*:*:*
Vendors & Products Bytecodealliance
Bytecodealliance wasmtime
References
Metrics threat_severity

None

cvssV3_1

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

cvssV4_0

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

threat_severity

Low

Weaknesses
  • CWE-787

    Out-of-bounds Write

  • CWE-843

    Access of Resource Using Incompatible Type ('Type Confusion')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 29, 2026, 12:16 PM
Reserved
Oct 22, 2026, 11:27 AM
Status
Deferred
Published
Oct 22, 2026, 7:17 PM
Modified
Oct 29, 2026, 1:17 PM
Severity
Low
Public date
Oct 22, 2026, 7:13 PM