Use of Uninitialized Resource Affecting wasmtime-wasi package, versions <36.0.17>=37.0.0 <48.0.4>=49.0.0 <49.0.2


Severity

Recommended
0.0
low
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.2% (10th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RUST-WASMTIMEWASI-21708532
  • published25 Oct 2026
  • disclosed22 Oct 2026
  • creditUnknown

Introduced: 22 Oct 2026

NewCVE-2026-115386  (opens in a new tab)
CWE-908  (opens in a new tab)

How to fix?

Upgrade wasmtime-wasi to version 36.0.17, 48.0.4, 49.0.2 or higher.

Overview

wasmtime-wasi is a Crate defining the Wasi type for Wasmtime, which represents a WASI instance which may be added to a linker.

Affected versions of this package are vulnerable to Use of Uninitialized Resource via the fd_readdir process. An attacker can access unintended memory contents by listing directory entries in a preopened directory, resulting in exposure of leftover host stack or heap memory.

References

CVSS Base Scores

version 4.0
version 3.1