samba: NDR Parsing ndr_pull_dnsp_name Heap-based Buffer Overflow Remote Code Execution Vulnerability (ZDI-CAN-3995)
Published Nov 1, 2018
8.8
HIGHCVSS 3.1
EPSS 6.23%
Description
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
- Vendor n/a Product Samba Defaultn/a
- Version versions 4.0.0 to 4.5.2StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| n/a | Samba | n/a |
|
No data.
Red Hat Enterprise Linux 5
samba
Not affected
Red Hat Enterprise Linux 5
samba3x
Not affected
Red Hat Enterprise Linux 6
samba
Not affected
Red Hat Enterprise Linux 6
samba4
Not affected
Red Hat Enterprise Linux 7
samba
Not affected
Red Hat Storage 3
samba
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 5 | samba | Not affected | n/a |
| Red Hat Enterprise Linux 5 | samba3x | Not affected | n/a |
| Red Hat Enterprise Linux 6 | samba | Not affected | n/a |
| Red Hat Enterprise Linux 6 | samba4 | Not affected | n/a |
| Red Hat Enterprise Linux 7 | samba | Not affected | n/a |
| Red Hat Storage 3 | samba | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
Red Hat Enterprise Linux 5, 6 and 7 are not affected by this flaw because we do not ship Samba with the AD DNS Server, which is the vulnerable component.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
AV:N/AC:L/Au:S/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (19 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 6.23% (0.06226) | 93.32th | v5 (v2026.06.15) |
| Jun 15, 2026 | 6.23% (0.06226) | 92.61th | v5 (v2026.06.15) |
| Mar 29, 2025 | 1.49% (0.01487) | 69.23th | v4 (v2025.03.14) |
| Mar 18, 2025 | 2.97% (0.02971) | 85.63th | v4 (v2025.03.14) |
| Mar 17, 2025 | 1.94% (0.01937) | 82.19th | v4 (v2025.03.14) |
| Dec 17, 2024 | 90.72% (0.90720) | 99.10th | v3 (v2023.03.01) |
| Jul 17, 2024 | 94.14% (0.94136) | 99.20th | v3 (v2023.03.01) |
| May 3, 2024 | 94.83% (0.94828) | 99.26th | v3 (v2023.03.01) |
| Mar 24, 2024 | 95.92% (0.95917) | 99.41th | v3 (v2023.03.01) |
| Oct 26, 2023 | 95.99% (0.95992) | 99.29th | v3 (v2023.03.01) |
| Aug 22, 2023 | 96.39% (0.96389) | 99.36th | v3 (v2023.03.01) |
| Aug 2, 2023 | 96.50% (0.96498) | 99.39th | v3 (v2023.03.01) |
| Jun 17, 2023 | 96.56% (0.96555) | 99.38th | v3 (v2023.03.01) |
| Apr 14, 2023 | 96.71% (0.96709) | 99.41th | v3 (v2023.03.01) |
| Mar 7, 2023 | 96.83% (0.96828) | 99.42th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.13% (0.01132) | 56.11th | v2 (v2022.01.01) |
| Sep 22, 2022 | 1.13% (0.01132) | 54.59th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.13% (0.01132) | 52.58th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.13% (0.01132) | 30.65th | v2 (v2022.01.01) |
References (8)
- http://www.securityfocus.com/bid/94970 vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry
- http://www.securitytracker.com/id/1037493 vdb-entryx_refsource_SECTRACKThird Party AdvisoryVDB Entry
- https://access.redhat.com/security/cve/CVE-2016-2123 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1392702 Issue Tracking
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2016-2123 x_refsource_CONFIRMIssue Tracking
- https://nvd.nist.gov/vuln/detail/CVE-2016-2123
- https://www.cve.org/CVERecord?id=CVE-2016-2123
- https://www.samba.org/samba/security/CVE-2016-2123.html x_refsource_CONFIRMPatchVendor Advisory
| Link | Providers | Tags |
|---|---|---|
| http://www.securityfocus.com/bid/94970 | vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry | |
| http://www.securitytracker.com/id/1037493 | vdb-entryx_refsource_SECTRACKThird Party AdvisoryVDB Entry | |
| https://access.redhat.com/security/cve/CVE-2016-2123 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1392702 | Issue Tracking | |
| https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2016-2123 | x_refsource_CONFIRMIssue Tracking | |
| https://nvd.nist.gov/vuln/detail/CVE-2016-2123 | ||
| https://www.cve.org/CVERecord?id=CVE-2016-2123 | ||
| https://www.samba.org/samba/security/CVE-2016-2123.html | x_refsource_CONFIRMPatchVendor Advisory |
Change history (0)
No recorded changes yet.