Original 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 software
- Samba ≥ 4.5.0 < 4.5.3≥ 4.4.0 < 4.4.8≥ 4.2.0 ≤ 4.2.14≥ 4.3.0 < 4.3.13≥ 4.0.0 ≤ 4.0.26≥ 4.1.0 ≤ 4.1.23 Fixed in: 4.5.3, 4.4.8, 4.3.13 exact match
Details
- Published
- 2018-11-01
- Last modified
- 2026-06-17
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H- CWE
- CWE-122, CWE-119
- EPSS (30-day exploit probability)
- 6.23% (percentile 94)
References
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.