CVE-2018-16851

Description

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.

Category

6.5
CVSS
Severity: Medium
CVSS 3.1 •
CVSS 3.0 •
CVSS 2.0 •
EPSS 7.16% Top 10%
Vendor Advisory ubuntu.com Vendor Advisory ubuntu.com Vendor Advisory debian.org Vendor Advisory gentoo.org Vendor Advisory samba.org
Affected: [UNKNOWN] samba
Published at:
Updated at:

References

Link Tags
http://www.securityfocus.com/bid/106027 third party advisory vdb entry
https://usn.ubuntu.com/3827-2/ third party advisory vendor advisory
https://usn.ubuntu.com/3827-1/ third party advisory vendor advisory
https://security.netapp.com/advisory/ntap-20181127-0001/ third party advisory
https://lists.debian.org/debian-lts-announce/2018/12/msg00005.html third party advisory mailing list
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16851 third party advisory issue tracking
https://www.debian.org/security/2018/dsa-4345 third party advisory vendor advisory
https://www.samba.org/samba/security/CVE-2018-16851.html patch vendor advisory
https://security.gentoo.org/glsa/202003-52 third party advisory vendor advisory

Frequently Asked Questions

What is the severity of CVE-2018-16851?
CVE-2018-16851 has been scored as a medium severity vulnerability.
How to fix CVE-2018-16851?
To fix CVE-2018-16851, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2018-16851 being actively exploited in the wild?
It is possible that CVE-2018-16851 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~7% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2018-16851?
CVE-2018-16851 affects [UNKNOWN] samba.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.