Heap-based buffer overflow in [UNKNOWN] samba
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-122 and the CVSS impact.
Summary
A flaw was found in samba versions 4.0.0 to 4.5.2. The Samba routine ndr_pull_dnsp_name contains an integer wrap problem, leading to an attacker-controlled memory overwrite. ndr_pull_dnsp_name parses data from the Samba Active Directory ldb database. Any user who can write to the dnsRecord attribute over LDAP can trigger this memory corruption. By default, all authenticated LDAP users can write to the dnsRecord attribute on new DNS objects. This makes the defect a remote privilege escalation.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| [UNKNOWN] | samba | versions 4.0.0 to 4.5.2 | — | No fix listed | CNA |
- samba Vendor[UNKNOWN] Affected versions 4.0.0 to 4.5.2 Fixed in — No fix listed CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:* | 4.0.0 – 4.0.26; 4.1.0 – 4.1.23; 4.2.0 – 4.2.14; 4.3.0 to before 4.3.13; 4.4.0 to before 4.4.8; 4.5.0 to before 4.5.3 | Vulnerable | Samba |
- cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:* Versions 4.0.0 – 4.0.26; 4.1.0 – 4.1.23; 4.2.0 – 4.2.14; 4.3.0 to before 4.3.13; 4.4.0 to before 4.4.8; 4.5.0 to before 4.5.3 Vulnerable ·Samba
Remediation
No fixed version listed by the sources yet.
Vendor assessments
Red Hat
Red Hat rating: Critical. Red Hat's page for this CVE →
Not affected: 4 products
- Red Hat Enterprise Linux 5
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Storage 3
Timeline
- 2026-10-02 Threatist record created from CVE-2016-2123
- 2026-10-03 Alias added: GHSA-m2v2-w4f9-rmq6
References
More Samba vulnerabilities
- TI-2020-01431 Netlogon Elevation of Privilege Vulnerability KEVCVSS 3.1CRITICAL 10.0
- TI-2017-05139 Code injection in samba KEVCVSS 3.1CRITICAL 9.8
- TI-2015-00210 The Netlogon server implementation in smbd in Samba 3.5.x and 3.6.x before 3.6.25, 4.0.x… CVSS 2.0HIGH 10.0
- TI-2003-00081 Buffer overflow in the SMB/CIFS packet fragment re-assembly code for SMB daemon (smbd) in… CVSS 2.0HIGH 10.0
- TI-2003-00185 Buffer overflow in the call_trans2open function in trans2.c for Samba 2.2.x before… CVSS 2.0HIGH 10.0
- TI-2007-02362 Multiple heap-based buffer overflows in the NDR parsing in smbd in Samba 3.0.0 through… CVSS 2.0HIGH 10.0
Sources
- CVE-2016-2123 · CVE Program
- CVE-2016-2123 · NVD
- FIRST EPSS
- GHSA-m2v2-w4f9-rmq6 · GitHub Advisory Database · CC BY 4.0
- CVE-2016-2123 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences