CVE-2016-2123
Reported by redhat · Published November 1, 2018
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| samba | Alpine | 4.4.5-r2, 4.2.14-r1 |
| samba | Ubuntu:16.04:LTS | 2:4.3.11+dfsg-0ubuntu0.16.04.3 |
| samba | samba | 4.5.3, 4.4.8, 4.3.13, 4.2.14, 4.1.23, 4.0.26 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| [UNKNOWN] | samba | versions 4.0.0 to 4.5.2 |
| alpine | samba | 0, 0 |
| [UNKNOWN] | samba | 4.0.0 |
| arch | samba | 0 |
Timeline
- Dec 19, 2016 CVE Published
- Feb 4, 2022 EPSS Score (30 in total, the first dated here)
- Mar 5, 2026 Distribution Patch
- Mar 5, 2026 Security Advisory (2 in total, the first dated here)
- Jun 17, 2026 CVE Updated
- Oct 9, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2016-2123
vulnetix vdb fixes CVE-2016-2123
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2016-2123/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart