Every CVE Search/ Get API key

CVE-2018-16851

Samba from version 4.0.0 and before versions 4.7.12, 4.8.7, 4.9.3 is vulnerable to a denial of...

6.5 MediumFix available

CVE-2018-16851 is a medium vulnerability (CVSS 6.5) in [unknown] Samba, published November 27, 2018. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 3.25%, the 88th percentile. Fixed in samba 4.8.7-r0.

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
Low
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

Exploit likelihood

3.25%Up 0.7 points since Apr 14, 2021
90%50%10%1%

What each source reports

CVE List Score used 6.5

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.

Record
CVE-2018-16851
CVSS 3.0
6.5 MediumCVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-476
Updated
2026-11-02
EUVDEUVD-2018-8645 6.5

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.

Record
EUVD-2018-8645
CVSS 3.0
6.5 MediumCVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-03
GitHub AdvisoriesGHSA-48v5-hp4g-w2rv 6.5

Samba from version 4.0.0 and before versions 4.7.12, 4.8.7, 4.9.3 is vulnerable to a denial of...

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.

Record
GHSA-48v5-hp4g-w2rv
CVSS 3.0
6.5 MediumCVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-476
Updated
2026-11-02
NVD 6.5

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.

Record
CVE-2018-16851
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS 3.0
6.5 MediumCVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS 2.0
4.0 MediumAV:N/AC:L/Au:S/C:N/I:N/A:P
Weakness
CWE-476
Updated
2026-11-02
OSVALPINE-CVE-2018-16851 6.5

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.

Record
ALPINE-CVE-2018-16851
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSV 6.5

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.

Record
CVE-2018-16851
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
Show 6 moreShow less
OSVDEBIAN-CVE-2018-16851 6.5

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.

Record
DEBIAN-CVE-2018-16851
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2018-16851 6.5

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.

Record
UBUNTU-CVE-2018-16851
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS 3.0
6.5 MediumCVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVMGASA-2019-0011 No score

Updated ldb, talloc, and samba packages fix security vulnerabilities

Florian Stuelpner discovered that Samba is vulnerable to infinite query recursion caused by CNAME loops, resulting in denial of service (CVE-2018-14629).

Alex MacCuish discovered that a user with a valid certificate or smart card can crash the Samba AD DC's KDC when configured to accept smart-card authentication (CVE-2018-16841).

Garming Sam of the Samba Team and Catalyst discovered a NULL pointer dereference vulnerability in the Samba AD DC LDAP server allowing a user able to read more than 256MB of LDAP entries to crash the Samba AD DC's LDAP server (CVE-2018-16851).

Samba has been updated to version 4.7.12 of the 4.7.x stable branch, and the tdb, talloc, tevent, ldb, and cmocka packages have also been updated.

The sssd package has also been rebuilt against the updated ldb.

Record
MGASA-2019-0011
Updated
2026-11-02
OSVopenSUSE-SU-2024:11365-1 No score

ctdb-4.14.6+git.182.2205d5224e3-1.1 on GA media

These are all security issues fixed in the ctdb-4.14.6+git.182.2205d5224e3-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:11365-1
Updated
2026-11-02
OSVSUSE-SU-2018:4066-1 No score

Security update for samba

This update for samba fixes the following issues:

Update to samba version 4.7.11.

Security issues fixed:

  • CVE-2018-14629: Fixed CNAME loops in Samba AD DC DNS server (bsc#1116319).
  • CVE-2018-16841: Fixed segfault on PKINIT when mis-matching principal (bsc#1116320).
  • CVE-2018-16851: Fixed NULL pointer de-reference in Samba AD DC LDAP server (bsc#1116322).
  • CVE-2018-16853: Mark MIT support for the AD DC experimental (bsc#1116324).

Non-security issues fixed:

  • Fixed do not take over stderr when there is no log file (bsc#1101499).
  • Fixed ctdb_mutex_ceph_rados_helper deadlock; (bsc#1102230).
  • Fixed ntlm authentications with 'winbind use default domain = yes'; (bsc#1068059).
  • Fixed idmap_rid to have primary group other than 'Domain Users'; (bsc#1087931).
  • Fixed windows domain with one way trust that was not working (bsc#1087303).
Record
SUSE-SU-2018:4066-1
Updated
2026-11-02
OSVUSN-3827-1 No score

samba vulnerabilities

Florian Stuelpner discovered that Samba incorrectly handled CNAME records. A remote attacker could use this issue to cause Samba to crash, resulting in a denial of service. (CVE-2018-14629)

Alex MacCuish discovered that Samba incorrectly handled memory when configured to accept smart-card authentication. A remote attacker could possibly use this issue to cause Samba to crash, resulting in a denial of service. (CVE-2018-16841)

Garming Sam discovered that Samba incorrectly handled memory when processing LDAP searches. A remote attacker could possibly use this issue to cause Samba to crash, resulting in a denial of service. (CVE-2018-16851)

Record
USN-3827-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
samba
Alpine:v3.10
4.0.0 up to 4.8.7-r0
4.8.7-r0
samba
Alpine:v3.11
4.0.0 up to 4.8.7-r0
4.8.7-r0
samba
Alpine:v3.12
4.0.0 up to 4.8.7-r0
4.8.7-r0
samba
Alpine:v3.13
4.0.0 up to 4.8.7-r0
4.8.7-r0
samba
Alpine:v3.14
4.0.0 up to 4.8.7-r0
4.8.7-r0
samba
Alpine:v3.15
4.0.0 up to 4.8.7-r0
4.8.7-r0
samba
Alpine:v3.16
4.0.0 up to 4.8.7-r0
4.8.7-r0
samba
Alpine:v3.17
4.0.0 up to 4.8.7-r0
4.8.7-r0
samba
Alpine:v3.18
4.0.0 up to 4.8.7-r0
4.8.7-r0
samba
Alpine:v3.19
4.0.0 up to 4.8.7-r0
4.8.7-r0
Show 28 moreShow less
Affected packages
PackageAffectedFixed
samba
Alpine:v3.20
4.0.0 up to 4.8.7-r0
4.8.7-r0
samba
Alpine:v3.21
4.0.0 up to 4.8.7-r0
4.8.7-r0
samba
Alpine:v3.22
4.0.0 up to 4.8.7-r0
4.8.7-r0
samba
Alpine:v3.23
4.0.0 up to 4.8.7-r0
4.8.7-r0
samba
Alpine:v3.24
4.0.0 up to 4.8.7-r0
4.8.7-r0
samba
Alpine:v3.6
4.0.0 up to 4.6.16-r2
4.6.16-r2
samba
Alpine:v3.7
4.0.0 up to 4.7.6-r2
4.7.6-r2
samba
Alpine:v3.8
4.0.0 up to 4.8.8-r0
4.8.8-r0
samba
Alpine:v3.9
4.0.0 up to 4.8.7-r0
4.8.7-r0
samba
Debian:12
before 2:4.9.2+dfsg-2
2:4.9.2+dfsg-2
samba
Debian:13
before 2:4.9.2+dfsg-2
2:4.9.2+dfsg-2
samba
Debian:14
before 2:4.9.2+dfsg-2
2:4.9.2+dfsg-2
samba
Debian:8
before 2:4.2.14+dfsg-0+deb8u11, plus listed versions
2:4.1.17+dfsg-22:4.1.17+dfsg-2+deb8u12:4.1.17+dfsg-2+deb8u22:4.1.17+dfsg-32:4.1.17+dfsg-4
Show 19 moreShow less
2:4.1.17+dfsg-52:4.1.20+dfsg-12:4.1.21+dfsg-12:4.1.21+dfsg-22:4.1.22+dfsg-12:4.2.1+dfsg-12:4.2.10+dfsg-0+deb8u12:4.2.10+dfsg-0+deb8u22:4.2.10+dfsg-0+deb8u32:4.2.14+dfsg-0+deb8u12:4.2.14+dfsg-0+deb8u102:4.2.14+dfsg-0+deb8u22:4.2.14+dfsg-0+deb8u32:4.2.14+dfsg-0+deb8u42:4.2.14+dfsg-0+deb8u52:4.2.14+dfsg-0+deb8u62:4.2.14+dfsg-0+deb8u72:4.2.14+dfsg-0+deb8u82:4.2.14+dfsg-0+deb8u9
2:4.2.14+dfsg-0+deb8u11
samba
Debian:9
before 2:4.5.12+dfsg-2+deb9u4, plus listed versions
2:4.5.12+dfsg-12:4.5.12+dfsg-22:4.5.12+dfsg-2+deb9u12:4.5.12+dfsg-2+deb9u22:4.5.12+dfsg-2+deb9u32:4.5.8+dfsg-22:4.5.8+dfsg-2+deb9u12:4.5.8+dfsg-2+deb9u2
2:4.5.12+dfsg-2+deb9u4
tdb
Mageia:6
before 1.3.14-1.mga6
1.3.14-1.mga6
talloc
Mageia:6
before 2.1.11-1.1.mga6
2.1.11-1.1.mga6
tevent
Mageia:6
before 0.9.36-1.1.mga6
0.9.36-1.1.mga6
ldb
Mageia:6
before 1.2.3-1.mga6
1.2.3-1.mga6
cmocka
Mageia:6
before 1.1.3-1.mga6
1.1.3-1.mga6
sssd
Mageia:6
before 1.13.4-9.3.mga6
1.13.4-9.3.mga6
samba
Mageia:6
before 4.7.12-1.1.mga6
4.7.12-1.1.mga6
samba
SUSE:Linux Enterprise Module for Basesystem 15
before 4.7.11+git.140.6bd0e5b30d8-4.21.1
4.7.11+git.140.6bd0e5b30d8-4.21.1
samba
SUSE:Linux Enterprise Module for Package Hub 15
before 4.7.11+git.140.6bd0e5b30d8-4.21.1
4.7.11+git.140.6bd0e5b30d8-4.21.1
samba
SUSE:Linux Enterprise High Availability Extension 15
before 4.7.11+git.140.6bd0e5b30d8-4.21.1
4.7.11+git.140.6bd0e5b30d8-4.21.1
samba
Ubuntu:14.04:LTS
before 2:4.3.11+dfsg-0ubuntu0.14.04.19, plus listed versions
2:3.6.18-1ubuntu32:4.0.10+dfsg-4ubuntu22:4.0.13+dfsg-1ubuntu12:4.1.3+dfsg-2ubuntu22:4.1.3+dfsg-2ubuntu3
Show 33 moreShow less
2:4.1.3+dfsg-2ubuntu42:4.1.3+dfsg-2ubuntu52:4.1.6+dfsg-1ubuntu12:4.1.6+dfsg-1ubuntu22:4.1.6+dfsg-1ubuntu2.14.04.12:4.1.6+dfsg-1ubuntu2.14.04.22:4.1.6+dfsg-1ubuntu2.14.04.32:4.1.6+dfsg-1ubuntu2.14.04.42:4.1.6+dfsg-1ubuntu2.14.04.52:4.1.6+dfsg-1ubuntu2.14.04.72:4.1.6+dfsg-1ubuntu2.14.04.82:4.1.6+dfsg-1ubuntu2.14.04.92:4.1.6+dfsg-1ubuntu2.14.04.112:4.1.6+dfsg-1ubuntu2.14.04.122:4.1.6+dfsg-1ubuntu2.14.04.132:4.3.8+dfsg-0ubuntu0.14.04.22:4.3.9+dfsg-0ubuntu0.14.04.12:4.3.9+dfsg-0ubuntu0.14.04.32:4.3.11+dfsg-0ubuntu0.14.04.12:4.3.11+dfsg-0ubuntu0.14.04.22:4.3.11+dfsg-0ubuntu0.14.04.32:4.3.11+dfsg-0ubuntu0.14.04.42:4.3.11+dfsg-0ubuntu0.14.04.62:4.3.11+dfsg-0ubuntu0.14.04.72:4.3.11+dfsg-0ubuntu0.14.04.82:4.3.11+dfsg-0ubuntu0.14.04.92:4.3.11+dfsg-0ubuntu0.14.04.102:4.3.11+dfsg-0ubuntu0.14.04.112:4.3.11+dfsg-0ubuntu0.14.04.122:4.3.11+dfsg-0ubuntu0.14.04.132:4.3.11+dfsg-0ubuntu0.14.04.142:4.3.11+dfsg-0ubuntu0.14.04.162:4.3.11+dfsg-0ubuntu0.14.04.17
2:4.3.11+dfsg-0ubuntu0.14.04.19
samba
Ubuntu:16.04:LTS
before 2:4.3.11+dfsg-0ubuntu0.16.04.18, plus listed versions
2:4.1.17+dfsg-4ubuntu22:4.1.20+dfsg-1ubuntu12:4.1.20+dfsg-1ubuntu22:4.1.20+dfsg-1ubuntu32:4.1.20+dfsg-1ubuntu5
Show 22 moreShow less
2:4.3.3+dfsg-1ubuntu12:4.3.3+dfsg-1ubuntu22:4.3.3+dfsg-1ubuntu32:4.3.6+dfsg-1ubuntu12:4.3.8+dfsg-0ubuntu12:4.3.9+dfsg-0ubuntu0.16.04.12:4.3.9+dfsg-0ubuntu0.16.04.22:4.3.9+dfsg-0ubuntu0.16.04.32:4.3.11+dfsg-0ubuntu0.16.04.12:4.3.11+dfsg-0ubuntu0.16.04.32:4.3.11+dfsg-0ubuntu0.16.04.52:4.3.11+dfsg-0ubuntu0.16.04.62:4.3.11+dfsg-0ubuntu0.16.04.72:4.3.11+dfsg-0ubuntu0.16.04.82:4.3.11+dfsg-0ubuntu0.16.04.92:4.3.11+dfsg-0ubuntu0.16.04.102:4.3.11+dfsg-0ubuntu0.16.04.112:4.3.11+dfsg-0ubuntu0.16.04.122:4.3.11+dfsg-0ubuntu0.16.04.132:4.3.11+dfsg-0ubuntu0.16.04.152:4.3.11+dfsg-0ubuntu0.16.04.162:4.3.11+dfsg-0ubuntu0.16.04.17
2:4.3.11+dfsg-0ubuntu0.16.04.18
samba
Ubuntu:18.04:LTS
before 2:4.7.6+dfsg~ubuntu-0ubuntu2.5, plus listed versions
2:4.6.7+dfsg-1ubuntu32:4.7.1+dfsg-1ubuntu12:4.7.3+dfsg-1ubuntu12:4.7.4+dfsg-1ubuntu12:4.7.6+dfsg~ubuntu-0ubuntu12:4.7.6+dfsg~ubuntu-0ubuntu22:4.7.6+dfsg~ubuntu-0ubuntu2.22:4.7.6+dfsg~ubuntu-0ubuntu2.4
2:4.7.6+dfsg~ubuntu-0ubuntu2.5
samba
openSUSE:Tumbleweed
before 4.14.6+git.182.2205d5224e3-1.1
4.14.6+git.182.2205d5224e3-1.1

History

History
WhenChangedSources
2026-11-03aliasesEUVD
2026-11-02createdCVE List, GitHub Advisories, NVD, OSV

References

Show 106 moreShow less
MoveEnter Open