CVE-2018-16851
Reported by redhat · Published November 28, 2018
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| samba | Arch Linux | 4.9.3-1 |
| samba | samba | 4.9.3, 4.8.7, 4.7.12 |
| samba | Ubuntu:16.04:LTS | 2:4.3.11+dfsg-0ubuntu0.16.04.18 |
| samba | Ubuntu:14.04:LTS | 2:4.3.11+dfsg-0ubuntu0.14.04.19 |
| samba | Ubuntu:18.04:LTS | 2:4.7.6+dfsg~ubuntu-0ubuntu2.5 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| [UNKNOWN] | samba | 4.7.12, 4.8.7, 4.9.3 |
| arch | samba | 0 |
| [UNKNOWN] | samba | 4.7.12, 4.8.7, 4.9.3 |
| alpine | samba | 0, 0, 0 |
Timeline
- Nov 27, 2018 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Sep 8, 2025 CVE Updated
- Mar 6, 2026 Distribution Patch (3 in total, the first dated here)
- Mar 6, 2026 Security Advisory (5 in total, the first dated here)
- Sep 23, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2018-16851
vulnetix vdb fixes CVE-2018-16851
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2018-16851/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- 106027 vdb-entryx_refsource_BID
- USN-3827-2 vendor-advisoryx_refsource_UBUNTU
- USN-3827-1 vendor-advisoryx_refsource_UBUNTU
- x_refsource_CONFIRM
- [debian-lts-announce] 20181215 [SECURITY] [DLA 1607-1] samba security update mailing-listx_refsource_MLIST
- x_refsource_CONFIRM
- DSA-4345 vendor-advisoryx_refsource_DEBIAN
- x_refsource_CONFIRM
- GLSA-202003-52 vendor-advisoryx_refsource_GENTOO