VDB

CVE-2018-16851

CVE-2018-16851 PUBLISHED CVSS 6.5 MEDIUM

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.

PackageEcosystemFixed in
sambaArch Linux4.9.3-1
sambasamba4.9.3, 4.8.7, 4.7.12
sambaUbuntu:16.04:LTS2:4.3.11+dfsg-0ubuntu0.16.04.18
sambaUbuntu:14.04:LTS2:4.3.11+dfsg-0ubuntu0.14.04.19
sambaUbuntu:18.04:LTS2:4.7.6+dfsg~ubuntu-0ubuntu2.5

Risk scores

CVSS 3.0
6.5
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected products

VendorProductVersions
[UNKNOWN]samba4.7.12, 4.8.7, 4.9.3
archsamba0
[UNKNOWN]samba4.7.12, 4.8.7, 4.9.3
alpinesamba0, 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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›