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

- Severity: High 7.2 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 18% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-22T19:14:05.297Z
- Modified: 2026-10-29T13:17:06.293Z
- Weaknesses: CWE-190
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- sahlberg libsmb2: before 6.3

## Every score

- VulnCheck: CVSS:4.0 7.2 High `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`
- VulnCheck: CVSS:3.1 7.6 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H`

## References

- <https://hackmd.io/@haindpwn/libsmb2-dcerpc-ndr-count-overflow-oob> (exploit, technical-description)
- <https://github.com/sahlberg/libsmb2/issues/496> (issue-tracking)
- <https://github.com/sahlberg/libsmb2/commit/a79f6914cb5ed3f74293d15cdea901261ce179ff> (patch)
- <https://github.com/sahlberg/libsmb2/releases/tag/libsmb2-6.3> (release-notes)
- <https://github.com/sahlberg/libsmb2> (product)
- <https://www.vulncheck.com/advisories/libsmb2-before-6.3-integer-overflow-in-dce-rpc-ndr-decoder-via-netrshareenum> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-115505](https://www.cve.org/CVERecord?id=CVE-2026-115505), CVE Terms of Use, modified 2026-10-29
- NVD: [CVE-2026-115505](https://nvd.nist.gov/vuln/detail/CVE-2026-115505), Public domain, modified 2026-10-29

---

Page: https://cve.day/CVE-2026-115505 · Whole record: https://cve.day/CVE-2026-115505.json · Rebuilt by cve.day 2026-11-25T22:59:46.838Z
