Skip to content
OpenAdvisories
High · 7.6 CVE-2026-115505 EUVD-2026-108337GHSA-jfx5-c9g5-vf27

libsmb2 before 6.3 Integer Overflow in DCE/RPC NDR Decoder via NetrShareEnum

Published Oct 22, 2026 · Updated Oct 29, 2026 · Assigned by VulnCheck

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.

Affected products

VendorProductAffectedFixed
sahlberg libsmb2 < 6.3 6.3

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libsmb2 No fix yet —
Debian 13 libsmb2 No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 libsmb2 No fix yet —
Ubuntu 26.04 LTS libsmb2 No fix yet —

References