Vulnerability record · CVE-2016-2123 · published 1 November 2018
CVE-2016-2123: Samba heap-based buffer overflow vulnerability
Samba · Samba
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.
Description
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.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| http://www.securityfocus.com/bid/94970 | Third Party AdvisoryVDB Entry |
| http://www.securitytracker.com/id/1037493 | Third Party AdvisoryVDB Entry |
| https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2016-2123 | Issue Tracking |
| https://www.samba.org/samba/security/CVE-2016-2123.html | PatchVendor Advisory |
| http://www.securityfocus.com/bid/94970 | Third Party AdvisoryVDB Entry |
| http://www.securitytracker.com/id/1037493 | Third Party AdvisoryVDB Entry |
| https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2016-2123 | Issue Tracking |
| https://www.samba.org/samba/security/CVE-2016-2123.html | PatchVendor Advisory |
Track CVE-2016-2123 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2016-2123), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.