{"id":"CVE-2026-115386","summary":"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","details":"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.","aliases":["GHSA-96f6-r43r-8c24","RUSTSEC-2026-0323"],"modified":"2026-10-28T02:30:46.706628748Z","published":"2026-10-22T19:13:52.931Z","database_specific":{"cwe_ids":["CWE-908"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/115xxx/CVE-2026-115386.json","cna_assigner":"VulnCheck"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/115xxx/CVE-2026-115386.json"},{"type":"ADVISORY","url":"https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-96f6-r43r-8c24"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-115386"},{"type":"ADVISORY","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"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/bytecodealliance/wasmtime","events":[{"introduced":"0"},{"fixed":"5cbcb3944d300349cdb1d9da268dc142d8227ff4"},{"introduced":"7b3d6ae79e9153a2477668062f5622c10333925f"},{"fixed":"d02ffd202850007ea953224f589a569e8830eb6c"},{"introduced":"17830bd3c0331d920a8aa38846eebc4d46d98c23"},{"fixed":"3c8a3e79aa3188a1a12b3aebbaa097abccceac92"}],"database_specific":{"extracted_events":[{"strategy":"StandardRange","range":[{"introduced":"0"},{"fixed":"36.0.17"}],"source":"AFFECTED_FIELD"},{"range":[{"introduced":"37.0.0"},{"fixed":"48.0.4"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"},{"range":[{"introduced":"49.0.0"},{"fixed":"49.0.2"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"}]}}],"versions":["v48.0.3","v49.0.1","v36.0.16","v49.0.0","v48.0.2","v36.0.15","v48.0.1","v36.0.14","v48.0.0","v36.0.13","v36.0.12","v36.0.11","v36.0.10","v36.0.9","v36.0.8","v36.0.7","v36.0.6","v36.0.5","dev","v36.0.4","v36.0.3","v36.0.2","v36.0.1","v36.0.0","v0.35.0","v0.33.0","v0.34.0","v0.32.0","v0.31.0","v0.30.0","v0.29.0","v0.28.0","v0.27.0","v0.26.0","v0.25.0","v0.24.0","v0.23.0","v0.22.0","cranelift-v0.69.0","v0.21.0","v0.20.0","v0.19.0","v0.18.0","v0.17.0","v0.16.0","cranelift-v0.61.0","cranelift-v0.60.0","v0.12.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-115386.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}