CVE-2026-115505: Integer Overflow or Wraparound in sahlberg libsmb2
Description
libsmb2 versions before 6.3 contain integer overflow vulnerabilities in the DCE/RPC NDR decoder. These flaws allow heap out-of-bounds reads and writes when processing crafted NetrShareEnum replies, potentially leading to heap memory corruption. The issue can be triggered by a malicious SMB server or a man-in-the-middle on unsigned connections during smb2_share_enum_async() calls.
CVSS v4.0
Score 7.2high
Affected software
sahlberg
libsmb2
Run 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
CVE-2026-115505 describes integer overflow or wraparound vulnerabilities in libsmb2 prior to version 6.3. The flaws exist in the DCE/RPC NDR decoder within lib/dcerpc.c, where crafted NetrShareEnum replies with wrapping actual_count or max_count values cause heap out-of-bounds reads and writes. This memory corruption occurs when clients invoke smb2_share_enum_async(), enabling a remote attacker controlling an SMB server or positioned as a man-in-the-middle on unsigned connections to exploit the vulnerability.
Potential Impact
Successful exploitation allows a remote attacker to corrupt heap memory on the client by sending maliciously crafted NetrShareEnum responses. This can lead to potential denial of service or other memory corruption consequences. The attack requires no privileges and no user interaction but depends on unsigned SMB connections.
Mitigation Recommendations
A fix is available in libsmb2 version 6.3 and later. Users should upgrade to version 6.3 or above to remediate this vulnerability. No vendor advisory content is provided to indicate alternative mitigations or temporary fixes.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-10-22T16:14:59.116Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6ada649d4d27ba8daa755e34
Added to database: 10/22/2026, 19:31:41 UTC
Last enriched: 10/22/2026, 21:00:21 UTC
Last updated: 10/22/2026, 21:00:21 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.