libsmb2 before 6.3 Integer Overflow in DCE/RPC NDR Decoder via NetrShareEnum
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.3
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- 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
- CVE published
- First seen by cve.now
- CISA SSVC assessment
Exploitation: poc · Automatable: yes · Technical impact: partial
- Record last updated
Affected versions
- sahlberg libsmb2
fixed in 6.3