{"id":"CVE-2026-115505","revision":"c930fbb96d8d4473b74f89acacb26da8","records":[{"revision":"c930fbb96d8d4473b74f89acacb26da8","observedAt":"2026-10-29T14:12:12.538+00:00","statement":{"source":"cve-program","id":"CVE-2026-115505","aliases":[],"title":"libsmb2 before 6.3 Integer Overflow in DCE/RPC NDR Decoder via NetrShareEnum","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.","state":0,"publishedAt":"2026-10-22T19:14:05.297+00:00","modifiedAt":"2026-10-29T12:22:44.734+00:00","affected":[{"ecosystem":"https://github.com/sahlberg/libsmb2","name":"libsmb2","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"sahlberg\",\n                    \"product\": \"libsmb2\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"versions\": [\n                        {\n                            \"version\": \"0\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"custom\",\n                            \"lessThan\": \"6.3\"\n                        }\n                    ],\n                    \"collectionURL\": \"https://github.com/sahlberg/libsmb2\",\n                    \"repo\": \"https://github.com/sahlberg/libsmb2\"\n                }"}],"metrics":[{"system":"CVSS 4.0","vector":"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","score":7.2,"severity":"HIGH"},{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H","score":7.6,"severity":"HIGH"}],"references":["https://hackmd.io/@haindpwn/libsmb2-dcerpc-ndr-count-overflow-oob","https://github.com/sahlberg/libsmb2/issues/496","https://github.com/sahlberg/libsmb2/commit/a79f6914cb5ed3f74293d15cdea901261ce179ff","https://github.com/sahlberg/libsmb2/releases/tag/libsmb2-6.3","https://github.com/sahlberg/libsmb2","https://www.vulncheck.com/advisories/libsmb2-before-6.3-integer-overflow-in-dce-rpc-ndr-decoder-via-netrshareenum"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-115505","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-115505","identifiers":["CVE-2026-115505"]},"retained":false,"historicalAffected":[]}],"coverage":[]}