Description
Wasmtime before 36.0.17, 37.0.0 before 48.0.4, and 49.0.0 before 49.0.2 contains an information disclosure vulnerability in the WASIp1 fd_readdir implementation that copies uninitialized struct padding into guest memory. Guests with a preopened directory can list entries to receive three bytes of leftover host stack or heap memory per directory entry.
Published: 2026-10-22
Score: 2.1 Low
EPSS: < 1% Very Low
KEV: No
Impact: Information Disclosure
Action: Apply Patch
AI Analysis

Impact

This vulnerability arises from the WASIp1 fd_readdir implementation in Wasmtime copies uninitialized padding into guest memory. When a guest with a preopened directory calls fd_readdir, the system can reveal three bytes of leftover host stack or heap memory for each directory entry. The exposure results in small amounts of kernel or host data becoming visible to the guest, potentially aiding information gathering or further exploitation. It is an information disclosure flaw classified as CWE-908.

Affected Systems

Bytecodealliance Wasmtime versions prior to 36.0.17, 37.0.0 before 48.0.4, and 49.0.0 before 49.0.2 are impacted. These versions are distributed under the designations 36.x, 37.x, and 49.x respectively.

Risk and Exploitability

The CVSS score of 2.1 indicates low severity, and no EPSS score is available, suggesting low likelihood of active exploitation. The vulnerability is not listed in the CISA KEV catalog. The attack vector is inferred as local guest interaction; an attacker would need to control a Wasmtime guest with a preopened directory to trigger the fence. While the data leakage per entry is minimal, correlated entries could reveal larger data sets, but overall risk remains low for typical deployments.

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

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Wasmtime to version 36.0.17, 48.0.4, 49.0.2 or newer.
  • If upgrading is not feasible, remove or restrict preopened directories for untrusted guests to prevent triggers.
  • Monitor your Wasmtime deployments for evidence of unauthorized memory reads and apply any vendor releases that fix related memory handling issues.

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

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 23 Oct 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Fri, 23 Oct 2026 12:30:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Low


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

Type Values Removed Values Added
Description Wasmtime before 36.0.17, 37.0.0 before 48.0.4, and 49.0.0 before 49.0.2 contains an information disclosure vulnerability in the WASIp1 fd_readdir implementation that copies uninitialized struct padding into guest memory. Guests with a preopened directory can list entries to receive three bytes of leftover host stack or heap memory per directory entry.
Title Wasmtime before 36.0.17, 37.0.0 before 48.0.4, and 49.0.0 before 49.0.2 Memory Disclosure via fd_readdir
First Time appeared Bytecodealliance
Bytecodealliance wasmtime
Weaknesses CWE-908
CPEs cpe:2.3:a:bytecodealliance:wasmtime:*:*:*:*:*:*:*:*
Vendors & Products Bytecodealliance
Bytecodealliance wasmtime
References
Metrics cvssV3_1

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

cvssV4_0

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


Subscriptions

Bytecodealliance Wasmtime
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-23T15:00:52.816Z

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

Link: CVE-2026-115386

cve-icon Vulnrichment

Updated: 2026-10-23T14:48:31.173Z

cve-icon NVD

Status : Deferred

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

Modified: 2026-10-23T15:17:29.220

Link: CVE-2026-115386

cve-icon Redhat

Severity : Low

Publid Date: 2026-10-22T19:13:52Z

Links: CVE-2026-115386 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-23T04:00:11Z

Weaknesses
  • CWE-908

    Use of Uninitialized Resource