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.
https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-96f6-r43r-8c24
Published: 2026-10-22
Updated: 2026-10-22
Base Score: 2.1
Vector: CVSS2#AV:N/AC:H/Au:S/C:P/I:N/A:N
Severity: Low
Base Score: 2.6
Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:N/A:N
Severity: Low
Base 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
Severity: Low