CVE-2026-115505
libsmb2 before 6.3 contains integer overflow vulnerabilities in the …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/sahlberg/libsmb2
- github.com/sahlberg/libsmb2/commit/a79f6914cb5ed3f74293d15cdea901261ce179ff
- github.com/sahlberg/libsmb2/issues/496
- github.com/sahlberg/libsmb2/releases/tag/libsmb2-6.3
- hackmd.io/@haindpwn/libsmb2-dcerpc-ndr-count-overflow-oob
- www.vulncheck.com/advisories/libsmb2-before-6.3-integer-overflow-in-dce-rpc-ndr-decoder-vi
- nvd.nist.gov/vuln/detail/CVE-2026-115505
- cve.org/CVERecord?id=CVE-2026-115505
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.