What’s Vulnerable › Vulnerabilities

CVE-2026-115386: 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

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.

Affected products

How to fix

Upgrade to a fixed version: bytecodealliance wasmtime 36.0.17, 48.0.4, 49.0.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-115386 or the next vulnerability affects your stack