CVE-2026-115505 Details
Description
libsmb2 before 6.3 contains integer overflow vulnerabilities in the DCE/RPC NDR decoder in lib/dcerpc.c that allow heap out-of-bounds reads and writes. A malicious SMB server or machine-in-the-middle on unsigned connections can send crafted NetrShareEnum replies with wrapping actual_count or max_count values when clients call smb2_share_enum_async(), corrupting heap memory.
A vulnerability exists in libsmb2 versions prior to 6.3, specifically within the DCE/RPC NDR decoder in lib/dcerpc.c. This vulnerability arises from integer overflow issues that can be exploited by a malicious SMB server or a man-in-the-middle on unsigned connections. When clients invoke smb2_share_enum_async(), crafted NetrShareEnum replies can be sent with wrapping actual_count or max_count values, leading to heap out-of-bounds reads and writes. The vulnerability allows for memory corruption, with the potential for a denial-of-service condition as the client crashes while processing the erroneous server response.
Users can update to libsmb2 version 6.3, which addresses the vulnerability by fixing the integer overflow issues in the NDR decoder. The 6.3 release notes indicate that this version is a drop-in update that resolves crashes and memory errors caused by hostile server replies.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 22, 2026CISA-ADP
Assessed Oct 29, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/sahlberg/libsmb2 | [email protected] | Vendor |
| https://github.com/sahlberg/libsmb2/commit/a79f6914cb5ed3f74293d15cdea901261ce179ff | [email protected] | Source CodeVendor |
| https://github.com/sahlberg/libsmb2/issues/496 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
| https://github.com/sahlberg/libsmb2/releases/tag/libsmb2-6.3 | [email protected] | Release NotesVendor |
| https://hackmd.io/@haindpwn/libsmb2-dcerpc-ndr-count-overflow-oob | [email protected] | ExploitTechnical Analysis |
| https://www.vulncheck.com/advisories/libsmb2-before-6.3-integer-overflow-in-dce-rpc-ndr-decoder-via-netrshareenum | [email protected] | Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-190 | Integer Overflow or Wraparound | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| libsmb2 | >= 0, < 6.3 |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 29, 2026 | CVE Modified | CISA-ADP |
| Oct 22, 2026 | New CVE Received | [email protected] |
Volerion