Vulnerability database / CVE-2018-16851
CVE-2018-16851
MEDIUM 6.5 CVSS 3.1 Samba from version 4.0.0 and before versions 4.7.12, 4.8.7, 4.9.3 is vulnerable to a denial of service. During the processing of an LDAP search before Samba's AD DC returns the LDAP entries to the client, the entries are cached in a single memory object with a maximum size of 256MB. When this size is reached, the Samba process providing the LDAP service will follow the NULL pointer, terminating the process. There is no further vulnerability associated with this issue, merely a denial of service.
Published 28 Nov 2018
Last modified 17 Jun 2026 Assigned by secalert@redhat.com NVD status Modified Weakness
CWE-476 Sources
NVD JSON Scores
Source Scored by Version Score Vector / decision
NVD
nvd@nist.gov (Primary)
CVSS 3.1
MEDIUM 6.5
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD
secalert@redhat.com (Secondary)
CVSS 3.0
MEDIUM 6.5
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD
nvd@nist.gov (Primary)
CVSS 2.0
MEDIUM 4.0
AV:N/AC:L/Au:S/C:N/I:N/A:P
Affected
Source Vendor / ecosystem Product / package Affected versions Fixed in
NVD
samba
sambacpe:2.3:a:samba:samba:*:*:*:*:*:*:*:*
>= 4.0.0, < 4.7.12
4.7.12 NVD
samba
sambacpe:2.3:a:samba:samba:*:*:*:*:*:*:*:*
>= 4.8.0, < 4.8.7
4.8.7 NVD
samba
sambacpe:2.3:a:samba:samba:*:*:*:*:*:*:*:*
>= 4.9.0, < 4.9.3
4.9.3 NVD
canonical
ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:esm:*:*:*
= 12.04
NVD
canonical
ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*
= 14.04
NVD
canonical
ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*
= 16.04
NVD
canonical
ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*
= 18.04
NVD
canonical
ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:18.10:*:*:*:*:*:*:*
= 18.10
NVD
debian
debian_linuxcpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
= 8.0
NVD
debian
debian_linuxcpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
= 9.0
References
History
25 Nov 2026 20:21 UTC · NVD: first stored (published 28 Nov 2018)