CVE-2016-2123

Summary

CVECVE-2016-2123
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2018-11-01 13:29:00 UTC
Updated2023-02-12 23:17:00 UTC
DescriptionA 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.

Risk And Classification

Problem Types: CWE-122

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Samba Samba All All All All
Application Samba Samba All All All All
Application Samba Samba All All All All
Application Samba Samba All All All All
Application Samba Samba All All All All

References

ReferenceSourceLinkTags
Samba CVE-2016-2123 Heap Based Buffer Overflow Vulnerability BID www.securityfocus.com Third Party Advisory, VDB Entry
Samba - Security Announcement Archive CONFIRM www.samba.org Patch, Vendor Advisory
Samba Buffer Overflow in ndr_pull_dnsp_name() Lets Remote Authenticated Users Execute Arbitrary Code - SecurityTracker SECTRACK www.securitytracker.com Third Party Advisory, VDB Entry
1392702 – (CVE-2016-2123) CVE-2016-2123 samba: NDR Parsing ndr_pull_dnsp_name Heap-based Buffer Overflow Remote Code Execution Vulnerability (ZDI-CAN-3995) CONFIRM bugzilla.redhat.com Issue Tracking
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report