---
id: CVE-2026-115386
aliases:
  - RUSTSEC-2026-0323
  - GHSA-96f6-r43r-8c24
title: fd_readdir copies uninitialized struct padding into guest memory
summary: fd_readdir copies uninitialized struct padding into guest memory
severity: low
cvss: 2.6
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:N/A:N'
vendor: wasmtime-wasi
product: wasmtime-wasi
ecosystem: rust
affected:
  - 'wasmtime-wasi >= 49.0.0, < 49.0.2'
patched:
  - wasmtime-wasi 49.0.2
published: '2026-10-02'
updated: '2026-10-24'
sourceUpdated: '2026-10-24T06:25:41Z'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/RUSTSEC-2026-0323'
references:
  - url: 'https://crates.io/crates/wasmtime-wasi'
  - url: 'https://rustsec.org/advisories/RUSTSEC-2026-0323.html'
  - url: 'https://github.com/bytecodealliance/wasmtime/pull/14487'
  - url: >-
      https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-96f6-r43r-8c24
    label: GitHub Security Advisory (GHSA-96f6-r43r-8c24)
  - url: >-
      https://www.vulncheck.com/advisories/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
    label: >-
      VulnCheck Advisory: 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
tags:
  - osv
  - rust
  - cve.org
epss: 0.00197
epssPercentile: 0.0959
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-10-23T14:48:30.373491Z'
cvssSource: cna
cwe:
  - CWE-908
ingestedAt: '2026-10-22T22:00:50.405Z'
---

## Overview

This is an entry in the RustSec database for the Wasmtime security advisory
located at
https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-96f6-r43r-8c24
For more information see the GitHub-hosted security advisory.

## Affected packages

- `wasmtime-wasi >= 49.0.0, < 49.0.2`

## Remediation

Upgrade to a patched release:

- `wasmtime-wasi 49.0.2`
