7.6High

CVE-2026-115505libsmb2 before 6.3 Integer Overflow in DCE/RPC NDR Decoder via NetrShareEnum

sahlberg libsmb2 Published: (28 days ago)

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.

Weakness (CWE): CWE-190

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
sahlberg libsmb2 < 6.3

References and patches