{"id":"UBUNTU-CVE-2026-115505","details":"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.","modified":"2026-10-27T04:17:48.480563566Z","published":"2026-10-26T00:00:00Z","upstream":["CVE-2026-115505"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-115505"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-115505"},{"type":"REPORT","url":"https://github.com/sahlberg/libsmb2"},{"type":"REPORT","url":"https://github.com/sahlberg/libsmb2/commit/a79f6914cb5ed3f74293d15cdea901261ce179ff"},{"type":"REPORT","url":"https://github.com/sahlberg/libsmb2/issues/496"},{"type":"REPORT","url":"https://github.com/sahlberg/libsmb2/releases/tag/libsmb2-6.3"},{"type":"REPORT","url":"https://hackmd.io/@haindpwn/libsmb2-dcerpc-ndr-count-overflow-oob"},{"type":"REPORT","url":"https://www.vulncheck.com/advisories/libsmb2-before-6.3-integer-overflow-in-dce-rpc-ndr-decoder-via-netrshareenum"}],"affected":[{"package":{"name":"libsmb2","ecosystem":"Ubuntu:26.10","purl":"pkg:deb/ubuntu/libsmb2?arch=source&distro=stonking"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.2+dfsg-3","6.2+dfsg-4"],"ecosystem_specific":{"binaries":[{"binary_version":"6.2+dfsg-4","binary_name":"libsmb2-6"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-115505.json"}},{"package":{"name":"libsmb2","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/libsmb2?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.2+dfsg-2","6.2+dfsg-3"],"ecosystem_specific":{"binaries":[{"binary_name":"libsmb2-6","binary_version":"6.2+dfsg-3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-115505.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H"},{"type":"CVSS_V4","score":"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"},{"type":"Ubuntu","score":"medium"}]}