CVE-2026-115505
libsmb2 before 6.3 Integer Overflow in DCE/RPC NDR Decoder via NetrShareEnum
sahlberg libsmb2
CVSS
7.2HighExploitationNo known exploitationNot in CISA KEV, which does not prove it is unexploitedCISA KEV
Exploit odds (EPSS)0.21%Chance of exploitation activity in the next 30 days, higher than 10% of CVEs. Scored 23 Oct 2026FIRST EPSS
What fixes it
- 6.3libsmb2CVE List
A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.
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.
Text from CVE List
Affected versions 1
- libsmb2affected: all versions before 6.3CVE List
References 6
- github.com/sahlberg/libsmb2/commit/a79f6914cb5ed3f74293d15cdea901261ce179ffFixvia CVE List
- github.com/sahlberg/libsmb2/releases/tag/libsmb2-6.3Fixvia CVE List
- vulncheck.com/advisories/libsmb2-before-6.3-integer-overflow-in-dce-rpc-ndr-decoder-via-netrshareenumAdvisoryvia CVE List
- hackmd.io/@haindpwn/libsmb2-dcerpc-ndr-count-overflow-oobExploitvia CVE List
- github.com/sahlberg/libsmb2/issues/496Referencevia CVE List
- github.com/sahlberg/libsmb2Referencevia CVE List