CVE-2016-2123: Samba
High severity, CVSS 8.8. EPSS: 6.2% chance of exploitation in the next 30 days.
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.
Affected products
- Samba Samba: from 4.0.0, up to and including 4.0.26; from 4.1.0, up to and including 4.1.23; from 4.2.0, up to and including 4.2.14; from 4.3.0, before 4.3.13 (fixed in 4.3.13); from 4.4.0, before 4.4.8 (fixed in 4.4.8); from 4.5.0, before 4.5.3 (fixed in 4.5.3)
Published 2018-11-01. Last modified 2026-06-17.