# CVE-2018-16851

- Priority: **Routine**
- Reason: Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2018-11-28 · Modified: 2024-08-05
- Aliases: ALPINE-CVE-2018-16851, UBUNTU-CVE-2018-16851, DEBIAN-CVE-2018-16851
- Record: https://cvemate.com/vulnerability/CVE-2018-16851 · JSON: https://cvemate.com/vulnerability/CVE-2018-16851/json

## Description

```text
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.
```

## Signals

- CVSS: 6.5 medium (v3.0, CVE.org) CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- EPSS: 3.251%, percentile 88.738%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine samba (Alpine Linux): ≥ 4.0.0, \< 4.8.7-r0 \| ≥ 4.0.0, \< 4.8.8-r0 \| ≥ 4.8.0, \< 4.8.7-r0 \| ≥ 4.0.0, \< 4.6.16-r2 \| ≥ 4.0.0, \< 4.7.6-r2 \| ≥ 4.8.0, \< 4.8.8-r0
- canonical ubuntu\_linux: 12.04 \| 14.04 \| 16.04 \| 18.04 \| 18.10
- debian samba (Debian): \< 2:4.9.2+dfsg-2
- ubuntu samba (Ubuntu): \< 2:4.3.11+dfsg-0ubuntu0.14.04.19 \| \< 2:4.3.11+dfsg-0ubuntu0.16.04.18 \| \< 2:4.7.6+dfsg~ubuntu-0ubuntu2.5
- debian debian\_linux: 8.0 \| 9.0
- samba samba: ≥ 4.0.0, \< 4.7.12 \| ≥ 4.8.0, \< 4.8.7 \| ≥ 4.9.0, \< 4.9.3
- \[unknown\] samba: 4.7.12 \| 4.8.7 \| 4.9.3

## References

- <http://www.securityfocus.com/bid/106027>
- <https://usn.ubuntu.com/3827-2/>
- <https://usn.ubuntu.com/3827-1/>
- <https://security.netapp.com/advisory/ntap-20181127-0001/>
- <https://lists.debian.org/debian-lts-announce/2018/12/msg00005.html>
- <https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16851>
- <https://www.debian.org/security/2018/dsa-4345>
- <https://www.samba.org/samba/security/CVE-2018-16851.html>
- <https://security.gentoo.org/glsa/202003-52>
- <https://security.alpinelinux.org/vuln/CVE-2018-16851>
- <https://ubuntu.com/security/CVE-2018-16851>
- <https://ubuntu.com/security/notices/USN-3827-1>
- <https://ubuntu.com/security/notices/USN-3827-2>
- <https://www.cve.org/CVERecord?id=CVE-2018-16851>
- <https://security-tracker.debian.org/tracker/CVE-2018-16851>

---

Data as of 2026-12-05T08:00:53.912Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
