CVE-2026-115505
libsmb2 before 6.3 Integer Overflow in DCE/RPC NDR Decoder via NetrShareEnum
CVSS Score
7.6
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-190 |
| Vendor | sahlberg |
| Product | libsmb2 |
| Published | Oct 22, 2026 |
Stay Ahead of the Next One
Get instant alerts for sahlberg libsmb2
Be the first to know when new high vulnerabilities affecting sahlberg libsmb2 are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
High
Affected Versions
sahlberg / libsmb2
0 < 6.3
References
hackmd.io: https://hackmd.io/@haindpwn/libsmb2-dcerpc-ndr-count-overflow-oob github.com: https://github.com/sahlberg/libsmb2/issues/496 github.com: https://github.com/sahlberg/libsmb2/commit/a79f6914cb5ed3f74293d15cdea901261ce179ff github.com: https://github.com/sahlberg/libsmb2/releases/tag/libsmb2-6.3 github.com: https://github.com/sahlberg/libsmb2 vulncheck.com: https://www.vulncheck.com/advisories/libsmb2-before-6.3-integer-overflow-in-dce-rpc-ndr-decoder-via-netrshareenum
Credits
HaiND from the Post and Telecommunication Institute of Technology