CVEfocus › CVE database › CVE-2018-16851

CVE-2018-16851

CVSS 6.5 MediumEPSS 3.3% (higher than 89% of CVEs)Published 2018-11-28Updated 2024-08-05Assigner: redhat

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.

CWE-476

What to do

Fixed builds are available from Alpine, Debian, Ubuntu: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

25Fixed
79Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 18.04sambaFixed2:4.7.6+dfsg~ubuntu-0ubuntu2.5UBUNTU-CVE-2018-16851
Ubuntu 16.04sambaFixed2:4.3.11+dfsg-0ubuntu0.16.04.18UBUNTU-CVE-2018-16851
Ubuntu 14.04sambaFixed2:4.3.11+dfsg-0ubuntu0.14.04.19UBUNTU-CVE-2018-16851
Debian 14sambaFixed2:4.9.2+dfsg-2DEBIAN-CVE-2018-16851
Debian 13sambaFixed2:4.9.2+dfsg-2DEBIAN-CVE-2018-16851
Debian 12sambaFixed2:4.9.2+dfsg-2DEBIAN-CVE-2018-16851
Red Hat Enterprise Linux 8ctdbNot affected
Red Hat Enterprise Linux 8ctdb-testsNot affected
Red Hat Enterprise Linux 8libnetapiNot affected
Red Hat Enterprise Linux 8libnetapi-develNot affected
Red Hat Enterprise Linux 8libsmbclientNot affected
Red Hat Enterprise Linux 8libsmbclient-develNot affected
Red Hat Enterprise Linux 8libwbclientNot affected
Red Hat Enterprise Linux 8libwbclient-develNot affected
Red Hat Enterprise Linux 8python3-sambaNot affected
Red Hat Enterprise Linux 8python3-samba-dcNot affected
Red Hat Enterprise Linux 8python3-samba-develNot affected
Red Hat Enterprise Linux 8python3-samba-testNot affected
Red Hat Enterprise Linux 8sambaNot affected
Red Hat Enterprise Linux 8samba-clientNot affected
Red Hat Enterprise Linux 8samba-client-libsNot affected
Red Hat Enterprise Linux 8samba-commonNot affected
Red Hat Enterprise Linux 8samba-common-libsNot affected
Red Hat Enterprise Linux 8samba-common-toolsNot affected
Red Hat Enterprise Linux 8samba-dc-libsNot affected
Red Hat Enterprise Linux 8samba-dcerpcNot affected
Red Hat Enterprise Linux 8samba-develNot affected
Red Hat Enterprise Linux 8samba-krb5-printingNot affected
Red Hat Enterprise Linux 8samba-ldb-ldap-modulesNot affected
Red Hat Enterprise Linux 8samba-libsNot affected
Red Hat Enterprise Linux 8samba-pidlNot affected
Red Hat Enterprise Linux 8samba-testNot affected
Red Hat Enterprise Linux 8samba-test-libsNot affected
Red Hat Enterprise Linux 8samba-toolsNot affected
Red Hat Enterprise Linux 8samba-usersharesNot affected
Red Hat Enterprise Linux 8samba-vfs-iouringNot affected
Red Hat Enterprise Linux 8samba-winbindNot affected
Red Hat Enterprise Linux 8samba-winbind-clientsNot affected
Red Hat Enterprise Linux 8samba-winbind-krb5-locatorNot affected
Red Hat Enterprise Linux 8samba-winbind-modulesNot affected
Red Hat Enterprise Linux 8samba-winexeNot affected
Red Hat Enterprise Linux 7ctdbNot affected
Red Hat Enterprise Linux 7ctdb-develNot affected
Red Hat Enterprise Linux 7ctdb-testsNot affected
Red Hat Enterprise Linux 7libsmbclientNot affected
Red Hat Enterprise Linux 7libsmbclient-develNot affected
Red Hat Enterprise Linux 7libwbclientNot affected
Red Hat Enterprise Linux 7libwbclient-develNot affected
Red Hat Enterprise Linux 7sambaNot affected
Red Hat Enterprise Linux 7samba-clientNot affected
Red Hat Enterprise Linux 7samba-client-libsNot affected
Red Hat Enterprise Linux 7samba-commonNot affected
Red Hat Enterprise Linux 7samba-common-libsNot affected
Red Hat Enterprise Linux 7samba-common-toolsNot affected
Red Hat Enterprise Linux 7samba-dcNot affected
Red Hat Enterprise Linux 7samba-dc-libsNot affected
Red Hat Enterprise Linux 7samba-develNot affected
Red Hat Enterprise Linux 7samba-krb5-printingNot affected
Red Hat Enterprise Linux 7samba-libsNot affected
Red Hat Enterprise Linux 7samba-pidlNot affected
Red Hat Enterprise Linux 7samba-pythonNot affected
Red Hat Enterprise Linux 7samba-python-testNot affected
Red Hat Enterprise Linux 7samba-testNot affected
Red Hat Enterprise Linux 7samba-test-develNot affected
Red Hat Enterprise Linux 7samba-test-libsNot affected
Red Hat Enterprise Linux 7samba-vfs-glusterfsNot affected
Red Hat Enterprise Linux 7samba-winbindNot affected
Red Hat Enterprise Linux 7samba-winbind-clientsNot affected
Red Hat Enterprise Linux 7samba-winbind-krb5-locatorNot affected
Red Hat Enterprise Linux 7samba-winbind-modulesNot affected
Red Hat Enterprise Linux 6samba4Not affected
Red Hat Enterprise Linux 6samba4-clientNot affected
Red Hat Enterprise Linux 6samba4-commonNot affected
Red Hat Enterprise Linux 6samba4-dcNot affected
Red Hat Enterprise Linux 6samba4-dc-libsNot affected
Red Hat Enterprise Linux 6samba4-develNot affected
Red Hat Enterprise Linux 6samba4-libsNot affected
Red Hat Enterprise Linux 6samba4-pidlNot affected
Red Hat Enterprise Linux 6samba4-pythonNot affected
Red Hat Enterprise Linux 6samba4-swatNot affected
Red Hat Enterprise Linux 6samba4-testNot affected
Red Hat Enterprise Linux 6samba4-winbindNot affected
Red Hat Enterprise Linux 6samba4-winbind-clientsNot affected
Red Hat Enterprise Linux 6samba4-winbind-krb5-locatorNot affected
Red Hat Enterprise Linux 5sambaNot affected
Alpine Linux 3.24sambaFixed4.8.7-r0ALPINE-CVE-2018-16851
Alpine Linux 3.23sambaFixed4.8.7-r0ALPINE-CVE-2018-16851
Alpine Linux 3.22sambaFixed4.8.7-r0ALPINE-CVE-2018-16851
Alpine Linux 3.21sambaFixed4.8.7-r0ALPINE-CVE-2018-16851
Alpine Linux 3.20sambaFixed4.8.7-r0ALPINE-CVE-2018-16851
Alpine Linux 3.19sambaFixed4.8.7-r0ALPINE-CVE-2018-16851
Alpine Linux 3.18sambaFixed4.8.7-r0ALPINE-CVE-2018-16851
Alpine Linux 3.17sambaFixed4.8.7-r0ALPINE-CVE-2018-16851
Alpine Linux 3.16sambaFixed4.8.7-r0ALPINE-CVE-2018-16851
Alpine Linux 3.15sambaFixed4.8.7-r0ALPINE-CVE-2018-16851
Alpine Linux 3.14sambaFixed4.8.7-r0ALPINE-CVE-2018-16851
Alpine Linux 3.13sambaFixed4.8.7-r0ALPINE-CVE-2018-16851
Alpine Linux 3.12sambaFixed4.8.7-r0ALPINE-CVE-2018-16851
Alpine Linux 3.11sambaFixed4.8.7-r0ALPINE-CVE-2018-16851
Alpine Linux 3.10sambaFixed4.8.7-r0ALPINE-CVE-2018-16851
Alpine Linux 3.9sambaFixed4.8.7-r0ALPINE-CVE-2018-16851
Alpine Linux 3.8sambaFixed4.8.8-r0ALPINE-CVE-2018-16851
Alpine Linux 3.7sambaFixed4.7.6-r2ALPINE-CVE-2018-16851
Alpine Linux 3.6sambaFixed4.6.16-r2ALPINE-CVE-2018-16851

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.