Skip to main content
← All vulnerabilities
CVE-2026-115505EUVD-2026-108337GHSA-JFX5-C9G5-VF27

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.3
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

Summary

libsmb2, a user-space SMB2/SMB3 client library, is affected, and an attacker posing as a malicious SMB server or sitting in the network path of an unsigned connection could send specially crafted share enumeration replies. This could corrupt heap memory in applications that use the library's share enumeration function, potentially leading to crashes or other unintended behavior.

Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.

Read the original 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.

Timeline

  1. CVE published
  2. First seen by cve.now
  3. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  4. Record last updated

Affected versions

  • sahlberg libsmb2

    fixed in 6.3

References 6

hackmd.io

GitHub · sahlberg/libsmb2

vulncheck.com