{"id":"CVE-2026-115505","title":"libsmb2 before 6.3 Integer Overflow in DCE/RPC NDR Decoder via NetrShareEnum","summary":"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 craf…","severity":"high","cvss":7.6,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H","cvssSource":"cna","cwe":["CWE-190"],"vendor":"sahlberg","product":"libsmb2","affected":["libsmb2 < 6.3"],"published":"2026-10-22","updated":"2026-10-22","sourceUpdated":"2026-10-22T19:14:05.297Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-115505","references":[{"url":"https://hackmd.io/@haindpwn/libsmb2-dcerpc-ndr-count-overflow-oob"},{"url":"https://github.com/sahlberg/libsmb2/issues/496"},{"url":"https://github.com/sahlberg/libsmb2/commit/a79f6914cb5ed3f74293d15cdea901261ce179ff"},{"url":"https://github.com/sahlberg/libsmb2/releases/tag/libsmb2-6.3","label":"libsmb2 libsmb2-6.3 Release Notes"},{"url":"https://github.com/sahlberg/libsmb2"},{"url":"https://www.vulncheck.com/advisories/libsmb2-before-6.3-integer-overflow-in-dce-rpc-ndr-decoder-via-netrshareenum","label":"VulnCheck Advisory: libsmb2 before 6.3 Integer Overflow in DCE/RPC NDR Decoder via NetrShareEnum"}],"tags":["cve.org"],"ingestedAt":"2026-10-22T22:00:50.413Z","slug":"CVE-2026-115505","body":"## Overview\n\nlibsmb2 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.\n\n## Affected\n\n- `libsmb2 < 6.3`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"twilight","depthScore":42,"depthScoreParts":{"impact":41.8,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}