CVE-2026-115386: Use of Uninitialized Resource in bytecodealliance wasmtime
Description
CVE-2026-115386 is an information disclosure vulnerability in the bytecodealliance wasmtime product affecting certain versions before 36.0.17, 48.0.4, and 49.0.2. The flaw exists in the WASIp1 fd_readdir implementation, where uninitialized struct padding is copied into guest memory. This allows guests with a preopened directory to receive three bytes of leftover host stack or heap memory per directory entry. The vulnerability has a low severity rating and a CVSS 4.0 score of 2.1.
CVSS v4.0
Score 2.1low
Affected software
bytecodealliance
wasmtime
pkg:cargo/bytecodealliance/wasmtimeRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in wasmtime affects versions >=0 <36.0.17, >=37.0.0 <48.0.4, and >=49.0.0 <49.0.2. It involves the WASIp1 fd_readdir function copying uninitialized struct padding into guest memory, leading to potential information disclosure. Specifically, guests with a preopened directory can list directory entries and receive three bytes of residual host memory per entry, which could leak sensitive data. The CVSS 4.0 vector indicates network attack vector, low complexity, partial attack complexity, low privileges required, partial user interaction, and low confidentiality impact.
Potential Impact
The impact is limited to information disclosure of small amounts (three bytes per directory entry) of leftover host memory from stack or heap. This could potentially expose sensitive host memory contents to guest processes with preopened directories. The overall severity is low, reflecting the limited scope and difficulty of exploitation.
Mitigation Recommendations
A fix is available in versions 36.0.17, 48.0.4, and 49.0.2 and later. Users should upgrade to these or later versions to remediate the vulnerability. No additional mitigation steps are indicated.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-10-22T11:25:27.610Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6ada64a34d27ba8daa756578
Added to database: 10/22/2026, 19:31:47 UTC
Last enriched: 10/22/2026, 20:31:13 UTC
Last updated: 10/22/2026, 21:15:23 UTC
Views: 9
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.