CVE-2026-115505
libsmb2 before 6.3 Integer Overflow in DCE/RPC NDR Decoder via NetrShareEnum
- State
- Published
- Severity
- 7.2 High
- Published
- Oct 22, 2026
- Updated
- Oct 29, 2026
- Reserved
- Oct 22, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 7.2 High | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N | VulnCheck |
| 3.1 | 7.6 High | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H | VulnCheck |
Weaknesses
- CWE-190 Integer Overflow or Wraparound
Affected Products
| Product | Versions |
|---|---|
libsmb2sahlberg |
|
References
- https://hackmd.io/@haindpwn/libsmb2-dcerpc-ndr-count-overflow-oobtechnical-descriptionexploit
- https://github.com/sahlberg/libsmb2/issues/496issue-tracking
- https://github.com/sahlberg/libsmb2/commit/a79f6914cb5ed3f74293d15cdea901261ce179ffpatch
- libsmb2 libsmb2-6.3 Release Notesrelease-notes
- https://github.com/sahlberg/libsmb2product
- VulnCheck Advisory: libsmb2 before 6.3 Integer Overflow in DCE/RPC NDR Decoder via NetrShareEnumthird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.