Skip to content
Fencer Intel
high 8.1

CVE-2016-2123 json

A flaw was found in samba versions 4.0.0 to 4.5.2.

published 2018-11-01 8 y ago modified 2026-06-17 4 mo ago also EUVD-2016-3226

cvss
8.1
version 3.0, CNA
cisa kev
Not listed
not in CISA's catalog
epss
6.2%
EPSS 6.2% chance of exploitation in 30 days, percentile 93%
public exploits
0
none known

Summary

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.

Patch / fix

  • samba samba 4.3.13, 4.4.8, 4.5.3
  • samba Debian 14, Debian 13, Debian 12 2:4.5.2+dfsg-2

debian advisories DEBIAN-CVE-2016-2123

  • samba Ubuntu 14.04 LTS 2:4.3.11+dfsg-0ubuntu0.14.04.4
  • samba Ubuntu 16.04 LTS 2:4.3.11+dfsg-0ubuntu0.16.04.3

ubuntu advisories UBUNTU-CVE-2016-2123

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • samba SLES for SAP 12, SLES 12-LTSS, SLE High Availability Extension 12 4.2.4-18.30.1
  • samba SLES for SAP 12 SP2, SLES for SAP 12 SP1, SLES for Raspberry Pi 12 SP2 +7 more 4.2.4-28.3.1
  • samba SLES for SAP 12 SP2, SLES for Raspberry Pi 12 SP2, SLES 12 SP2 +3 more 4.4.2-31.1

suse advisories SUSE-SU-2016:3299-1SUSE-SU-2016:3272-1SUSE-SU-2016:3271-1

  • samba openSUSE Tumbleweed 4.14.6+git.182.2205d5224e3-1.1

opensuse advisories openSUSE-SU-2024:11365-1

  • samba Alpine 3.3, Alpine 3.2 4.2.14-r1
  • samba Alpine 3.4 4.4.5-r2

alpine advisories ALPINE-CVE-2016-2123

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • samba Arch Linux 4.5.3-1

arch linux advisories AVG-111

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2016-2123 updated cvss 8.1

samba: NDR Parsing ndr_pull_dnsp_name Heap-based Buffer Overflow Remote Code Execution Vulnerability (ZDI-CAN-3995)

  • Red Hat Enterprise Linux 5 samba, samba3x Red Hat Enterprise Linux 6 samba, samba4, samba4-dc, samba-swat, samba4-libs, samba4-pidl, +17 more Red Hat Enterprise Linux 7 ctdb, samba, samba-dc, ctdb-tests, samba-libs, samba-pidl, +18 more Red Hat Storage 3 ctdb, samba, samba-dc, ctdb-tests, samba-libs, samba-pidl, +21 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

6.23% chance of exploitation in the next 30 days, higher than 93% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
CNA 3.0 8.1 CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD 3.1 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD 2.0 6.5 AV:N/AC:L/Au:S/C:P/I:P/A:P

Affected products

  • [UNKNOWN] samba

Classification

Weakness
  • CWE-122 Heap-based Buffer Overflow
  • CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.