Every CVE Search/ Get API key

CVE-2016-2123

A flaw was found in samba versions 4.0.0 to 4.5.2. The Samba routine ndr_pull_dnsp_name contains...

8.1 HighFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
High
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

6.23%Up 5.1 points since Feb 4, 2022
90%50%10%1%

What each source reports

CVE List Score used 8.1

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.

Record
CVE-2016-2123
CVSS 3.0
8.1 HighCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-122
Updated
2026-11-02
EUVDEUVD-2016-3226 8.1

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.

Record
EUVD-2016-3226
CVSS 3.0
8.1 HighCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-03
GitHub AdvisoriesGHSA-m2v2-w4f9-rmq6 8.8

A flaw was found in samba versions 4.0.0 to 4.5.2. The Samba routine ndr_pull_dnsp_name contains...

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.

Record
GHSA-m2v2-w4f9-rmq6
CVSS 3.0
8.8 HighCVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-119, CWE-122
Updated
2026-11-02
NVD 8.8

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.

Record
CVE-2016-2123
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 3.0
8.1 HighCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
6.5 MediumAV:N/AC:L/Au:S/C:P/I:P/A:P
Weakness
CWE-122, CWE-119
Updated
2026-11-02
OSVALPINE-CVE-2016-2123 8.8

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.

Record
ALPINE-CVE-2016-2123
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSV 8.8

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.

Record
CVE-2016-2123
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
Show 7 moreShow less
OSVDEBIAN-CVE-2016-2123 8.8

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.

Record
DEBIAN-CVE-2016-2123
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2016-2123 8.8

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.

Record
UBUNTU-CVE-2016-2123
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 3.0
8.1 HighCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 3.0
8.8 HighCVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVopenSUSE-SU-2024:11365-1 No score

ctdb-4.14.6+git.182.2205d5224e3-1.1 on GA media

These are all security issues fixed in the ctdb-4.14.6+git.182.2205d5224e3-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:11365-1
Updated
2026-11-02
OSVSUSE-SU-2016:3271-1 No score

Security update for samba

This update for samba fixes the following issues:

Security issues fixed:

  • CVE-2016-2125: Don't send delegated credentials to all servers. (bsc#1014441).
  • CVE-2016-2126: Denial of service due to a client triggered crash in the winbindd parent process. (bsc#1014442).
  • CVE-2016-2123: Heap-based Buffer Overflow Remote Code Execution Vulnerability. (bsc#1014437). This component is not built into our packages, so we are not affected.

Non security issues fixed:

  • s3/client: obey 'disable netbios' smb.conf param, don't connect via NBT port; (bsc#1009085)
Record
SUSE-SU-2016:3271-1
Updated
2026-11-02
OSVSUSE-SU-2016:3272-1 No score

Security update for samba

This update for samba fixes the following issues:

Security issues fixed:

  • CVE-2016-2125: Don't send delegated credentials to all servers. (bsc#1014441).
  • CVE-2016-2126: Denial of service due to a client triggered crash in the winbindd parent process. (bsc#1014442).
  • CVE-2016-2123: Heap-based Buffer Overflow Remote Code Execution Vulnerability. (bsc#1014437). The component affected is not built in our packages.

Non security issues fixed:

  • s3/client: obey 'disable netbios' smb.conf param, don't connect via NBT port; (bsc#1009085)
  • Add doc changes for net ads --no-dns-updates switch; (bsc#991564)
  • Include vfstest in samba-test; (bsc#1001203).
  • s3/winbindd: using default domain with [email protected] format fails (bsc#997833).
  • Fix illegal memory access after memory has been deleted (bsc#975299).
  • Fix bug in tevent poll backend causing winbind to loop tightly (bsc#994500).
  • Various fixes for spnego/ntlm (bsc#986675).
Record
SUSE-SU-2016:3272-1
Updated
2026-11-02
OSVSUSE-SU-2016:3299-1 No score

Security update for samba

This update for samba fixes the following issues:

Security issues fixed:

  • CVE-2016-2125: Don't send delegated credentials to all servers. (bsc#1014441).
  • CVE-2016-2126: Denial of service due to a client triggered crash in the winbindd parent process. (bsc#1014442).
  • CVE-2016-2123: Heap-based Buffer Overflow Remote Code Execution Vulnerability. (bsc#1014437). This issue does not affect our packages, as the component is not built.

Non security issues fixed:

  • s3/client: obey 'disable netbios' smb.conf param, don't connect via NBT port (bsc#1009085)
  • Add doc changes for net ads --no-dns-updates switch (bsc#991564)
  • Include vfstest in samba-test (bsc#1001203).
  • s3/winbindd: using default domain with [email protected] format fails (bsc#997833).
  • Fix illegal memory access after memory has been deleted (bsc#975299).
  • Fix bug in tevent poll backend causing winbind to loop tightly (bsc#994500).
  • Various fixes for spnego/ntlm (bsc#986675).
Record
SUSE-SU-2016:3299-1
Updated
2026-11-02
OSVUSN-3158-1 No score

samba vulnerabilities

Frederic Besler and others discovered that the ndr_pull_dnsp_nam function in Samba contained an integer overflow. An authenticated attacker could use this to gain administrative privileges. This issue only affected Ubuntu 14.04 LTS, Ubuntu 16.04 LTS, and Ubuntu 16.10. (CVE-2016-2123)

Simo Sorce discovered that that Samba clients always requested a forwardable ticket when using Kerberos authentication. An attacker could use this to impersonate an authenticated user or service. (CVE-2016-2125)

Volker Lendecke discovered that Kerberos PAC validation implementation in Samba contained multiple vulnerabilities. An authenticated attacker could use this to cause a denial of service or gain administrative privileges. This issue only affected Ubuntu 14.04 LTS, Ubuntu 16.04 LTS, and Ubuntu 16.10. (CVE-2016-2126)

Record
USN-3158-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
samba
Alpine:v3.2
4.0.0 up to 4.2.14-r1
4.2.14-r1
samba
Alpine:v3.3
4.0.0 up to 4.2.14-r1
4.2.14-r1
samba
Alpine:v3.4
4.0.0 up to 4.4.5-r2
4.4.5-r2
samba
Debian:12
before 2:4.5.2+dfsg-2
2:4.5.2+dfsg-2
samba
Debian:13
before 2:4.5.2+dfsg-2
2:4.5.2+dfsg-2
samba
Debian:14
before 2:4.5.2+dfsg-2
2:4.5.2+dfsg-2
samba
Debian:8
From an advisory covering 4 CVEs
before 2:4.2.14+dfsg-0+deb8u2, plus listed versions
2:4.1.17+dfsg-22:4.1.17+dfsg-2+deb8u12:4.1.17+dfsg-2+deb8u22:4.1.17+dfsg-32:4.1.17+dfsg-4
Show 10 moreShow less
2:4.1.17+dfsg-52:4.1.20+dfsg-12:4.1.21+dfsg-12:4.1.21+dfsg-22:4.1.22+dfsg-12:4.2.1+dfsg-12:4.2.10+dfsg-0+deb8u12:4.2.10+dfsg-0+deb8u22:4.2.10+dfsg-0+deb8u32:4.2.14+dfsg-0+deb8u1
2:4.2.14+dfsg-0+deb8u2
samba
SUSE:Linux Enterprise Desktop 12 SP2
From an advisory covering 3 CVEs
before 4.4.2-31.1
4.4.2-31.1
samba
SUSE:Linux Enterprise High Availability Extension 12 SP2
From an advisory covering 3 CVEs
before 4.4.2-31.1
4.4.2-31.1
samba
SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2
From an advisory covering 3 CVEs
before 4.4.2-31.1
4.4.2-31.1
Show 21 moreShow less
Affected packages
PackageAffectedFixed
samba
SUSE:Linux Enterprise Software Development Kit 12 SP2
From an advisory covering 3 CVEs
before 4.4.2-31.1
4.4.2-31.1
samba
SUSE:Linux Enterprise Server 12 SP2
From an advisory covering 3 CVEs
before 4.4.2-31.1
4.4.2-31.1
samba
SUSE:Linux Enterprise Server for SAP Applications 12 SP2
From an advisory covering 3 CVEs
before 4.4.2-31.1
4.4.2-31.1
samba
SUSE:Linux Enterprise Desktop 12 SP1
From an advisory covering 3 CVEs
before 4.2.4-28.3.1
4.2.4-28.3.1
samba
SUSE:Linux Enterprise Desktop 12 SP2
From an advisory covering 3 CVEs
before 4.2.4-28.3.1
4.2.4-28.3.1
samba
SUSE:Linux Enterprise High Availability Extension 12 SP1
From an advisory covering 3 CVEs
before 4.2.4-28.3.1
4.2.4-28.3.1
samba
SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2
From an advisory covering 3 CVEs
before 4.2.4-28.3.1
4.2.4-28.3.1
samba
SUSE:Linux Enterprise Software Development Kit 12 SP1
From an advisory covering 3 CVEs
before 4.2.4-28.3.1
4.2.4-28.3.1
samba
SUSE:Linux Enterprise Software Development Kit 12 SP2
From an advisory covering 3 CVEs
before 4.2.4-28.3.1
4.2.4-28.3.1
samba
SUSE:Linux Enterprise Server 12 SP1
From an advisory covering 3 CVEs
before 4.2.4-28.3.1
4.2.4-28.3.1
samba
SUSE:Linux Enterprise Server for SAP Applications 12 SP1
From an advisory covering 3 CVEs
before 4.2.4-28.3.1
4.2.4-28.3.1
samba
SUSE:Linux Enterprise Server 12 SP2
From an advisory covering 3 CVEs
before 4.2.4-28.3.1
4.2.4-28.3.1
samba
SUSE:Linux Enterprise Server for SAP Applications 12 SP2
From an advisory covering 3 CVEs
before 4.2.4-28.3.1
4.2.4-28.3.1
samba
SUSE:Linux Enterprise High Availability Extension 12
From an advisory covering 3 CVEs
before 4.2.4-18.30.1
4.2.4-18.30.1
samba
SUSE:Linux Enterprise Server for SAP Applications 12
From an advisory covering 3 CVEs
before 4.2.4-18.30.1
4.2.4-18.30.1
samba
SUSE:Linux Enterprise Server 12-LTSS
From an advisory covering 3 CVEs
before 4.2.4-18.30.1
4.2.4-18.30.1
samba
Ubuntu:14.04:LTS
before 2:4.3.11+dfsg-0ubuntu0.14.04.4, plus listed versions
2:3.6.18-1ubuntu32:4.0.10+dfsg-4ubuntu22:4.0.13+dfsg-1ubuntu12:4.1.3+dfsg-2ubuntu22:4.1.3+dfsg-2ubuntu3
Show 21 moreShow less
2:4.1.3+dfsg-2ubuntu42:4.1.3+dfsg-2ubuntu52:4.1.6+dfsg-1ubuntu12:4.1.6+dfsg-1ubuntu22:4.1.6+dfsg-1ubuntu2.14.04.12:4.1.6+dfsg-1ubuntu2.14.04.22:4.1.6+dfsg-1ubuntu2.14.04.32:4.1.6+dfsg-1ubuntu2.14.04.42:4.1.6+dfsg-1ubuntu2.14.04.52:4.1.6+dfsg-1ubuntu2.14.04.72:4.1.6+dfsg-1ubuntu2.14.04.82:4.1.6+dfsg-1ubuntu2.14.04.92:4.1.6+dfsg-1ubuntu2.14.04.112:4.1.6+dfsg-1ubuntu2.14.04.122:4.1.6+dfsg-1ubuntu2.14.04.132:4.3.8+dfsg-0ubuntu0.14.04.22:4.3.9+dfsg-0ubuntu0.14.04.12:4.3.9+dfsg-0ubuntu0.14.04.32:4.3.11+dfsg-0ubuntu0.14.04.12:4.3.11+dfsg-0ubuntu0.14.04.22:4.3.11+dfsg-0ubuntu0.14.04.3
2:4.3.11+dfsg-0ubuntu0.14.04.4
samba
Ubuntu:16.04:LTS
before 2:4.3.11+dfsg-0ubuntu0.16.04.3, plus listed versions
2:4.1.17+dfsg-4ubuntu22:4.1.20+dfsg-1ubuntu12:4.1.20+dfsg-1ubuntu22:4.1.20+dfsg-1ubuntu32:4.1.20+dfsg-1ubuntu5
Show 9 moreShow less
2:4.3.3+dfsg-1ubuntu12:4.3.3+dfsg-1ubuntu22:4.3.3+dfsg-1ubuntu32:4.3.6+dfsg-1ubuntu12:4.3.8+dfsg-0ubuntu12:4.3.9+dfsg-0ubuntu0.16.04.12:4.3.9+dfsg-0ubuntu0.16.04.22:4.3.9+dfsg-0ubuntu0.16.04.32:4.3.11+dfsg-0ubuntu0.16.04.1
2:4.3.11+dfsg-0ubuntu0.16.04.3
samba
Ubuntu:14.04:LTS
From an advisory covering 3 CVEs
before 2:4.3.11+dfsg-0ubuntu0.14.04.4, plus listed versions
2:3.6.18-1ubuntu32:4.0.10+dfsg-4ubuntu22:4.0.13+dfsg-1ubuntu12:4.1.3+dfsg-2ubuntu22:4.1.3+dfsg-2ubuntu3
Show 21 moreShow less
2:4.1.3+dfsg-2ubuntu42:4.1.3+dfsg-2ubuntu52:4.1.6+dfsg-1ubuntu12:4.1.6+dfsg-1ubuntu22:4.1.6+dfsg-1ubuntu2.14.04.12:4.1.6+dfsg-1ubuntu2.14.04.22:4.1.6+dfsg-1ubuntu2.14.04.32:4.1.6+dfsg-1ubuntu2.14.04.42:4.1.6+dfsg-1ubuntu2.14.04.52:4.1.6+dfsg-1ubuntu2.14.04.72:4.1.6+dfsg-1ubuntu2.14.04.82:4.1.6+dfsg-1ubuntu2.14.04.92:4.1.6+dfsg-1ubuntu2.14.04.112:4.1.6+dfsg-1ubuntu2.14.04.122:4.1.6+dfsg-1ubuntu2.14.04.132:4.3.8+dfsg-0ubuntu0.14.04.22:4.3.9+dfsg-0ubuntu0.14.04.12:4.3.9+dfsg-0ubuntu0.14.04.32:4.3.11+dfsg-0ubuntu0.14.04.12:4.3.11+dfsg-0ubuntu0.14.04.22:4.3.11+dfsg-0ubuntu0.14.04.3
2:4.3.11+dfsg-0ubuntu0.14.04.4
samba
Ubuntu:16.04:LTS
From an advisory covering 3 CVEs
before 2:4.3.11+dfsg-0ubuntu0.16.04.3, plus listed versions
2:4.1.17+dfsg-4ubuntu22:4.1.20+dfsg-1ubuntu12:4.1.20+dfsg-1ubuntu22:4.1.20+dfsg-1ubuntu32:4.1.20+dfsg-1ubuntu5
Show 9 moreShow less
2:4.3.3+dfsg-1ubuntu12:4.3.3+dfsg-1ubuntu22:4.3.3+dfsg-1ubuntu32:4.3.6+dfsg-1ubuntu12:4.3.8+dfsg-0ubuntu12:4.3.9+dfsg-0ubuntu0.16.04.12:4.3.9+dfsg-0ubuntu0.16.04.22:4.3.9+dfsg-0ubuntu0.16.04.32:4.3.11+dfsg-0ubuntu0.16.04.1
2:4.3.11+dfsg-0ubuntu0.16.04.3
samba
openSUSE:Tumbleweed
From an advisory covering 66 CVEs
before 4.14.6+git.182.2205d5224e3-1.1
4.14.6+git.182.2205d5224e3-1.1

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2016-2123 is a high vulnerability (CVSS 8.1) in [unknown] Samba, published December 19, 2016. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 6.23%, the 93rd percentile. Fixed in samba 4.2.14-r1.

References

Show 86 moreShow less
MoveEnter Open