NULL pointer dereference in [UNKNOWN] samba
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-476.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| [UNKNOWN] | samba | 4.7.12; 4.8.7; 4.9.3 | — | No fix listed | CNA |
- samba Vendor[UNKNOWN] Affected 4.7.12; 4.8.7; 4.9.3 Fixed in — No fix listed CNA
CPE configurations NVD · 8
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:* | 4.0.0 to before 4.7.12; 4.8.0 to before 4.8.7; 4.9.0 to before 4.9.3 | Vulnerable | Samba |
| cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:esm:*:*:* | 12.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* | 14.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* | 16.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:* | 18.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:18.10:*:*:*:*:*:*:* | 18.10 | Vulnerable | Canonical |
| cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* | 8.0 | Vulnerable | Debian |
| cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* | 9.0 | Vulnerable | Debian |
- cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:* Versions 4.0.0 to before 4.7.12; 4.8.0 to before 4.8.7; 4.9.0 to before 4.9.3 Vulnerable ·Samba
- cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:esm:*:*:* Versions 12.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* Versions 14.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* Versions 16.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:* Versions 18.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:18.10:*:*:*:*:*:*:* Versions 18.10 Vulnerable ·Canonical
- cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* Versions 8.0 Vulnerable ·Debian
- cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* Versions 9.0 Vulnerable ·Debian
Remediation
No fixed version listed by the sources yet.
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Advisory ·
[UNKNOWN] samba — USN-3827-1
3 records Highest priority Priority LOW 3 LOW
Other records, highest priority first
- TI-2018-10494 Uncontrolled resource consumption in [UNKNOWN] sambaPriority LOW 37
- TI-2018-12051 Use after free in [UNKNOWN] sambaPriority LOW 36
- Advisory ·
[UNKNOWN] samba — USN-3827-2
3 records Highest priority Priority LOW 3 LOW
Other records, highest priority first
- TI-2018-10494 Uncontrolled resource consumption in [UNKNOWN] sambaPriority LOW 37
- TI-2018-12051 Use after free in [UNKNOWN] sambaPriority LOW 36
Show 1 more group
- Advisory ·
[UNKNOWN] samba — DSA-4345
3 records Highest priority Priority LOW 3 LOW
Other records, highest priority first
- TI-2018-10494 Uncontrolled resource consumption in [UNKNOWN] sambaPriority LOW 37
- TI-2018-12051 Use after free in [UNKNOWN] sambaPriority LOW 36
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
Not affected: 6 products
- Red Hat Enterprise Linux 5
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Storage 3
- Red Hat Virtualization 4
Timeline
- 2026-10-02 Threatist record created from CVE-2018-16851
- 2026-10-03 Alias added: GHSA-48v5-hp4g-w2rv
References
Sources
- CVE-2018-16851 · CVE Program
- CVE-2018-16851 · NVD
- FIRST EPSS
- GHSA-48v5-hp4g-w2rv · GitHub Advisory Database · CC BY 4.0
- CVE-2018-16851 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences