CVE-2018-16851: Null Pointer Dereference

Published Nov 28, 2018
·
Updated

Last updated 25 August 2025

Other sources

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.

Launchpad

Affected Software

11 affected componentsFixes available
Samba Samba>=4.0.0<4.7.12
Samba Samba>=4.8.0<4.8.7
Samba Samba>=4.9.0<4.9.3
Canonical Ubuntu Linux=12.04
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=18.04
Canonical Ubuntu Linux=18.10
Debian Debian Linux=8.0
Debian Debian Linux=9.0
debian/samba
2:4.13.13+dfsg-1~deb11u62:4.13.13+dfsg-1~deb11u72:4.17.12+dfsg-0+deb12u32:4.17.12+dfsg-0+deb12u12:4.22.6+dfsg-0+deb13u12:4.23.5+dfsg-1

Event History

Nov 28, 2018
CVE Published
via MITRE·02:00 PM
Data Sourced
via MITRE·02:00 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·02:29 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jan 11, 2024
Data Sourced
via Launchpad·10:54 PM
Description
Feb 20, 2026
Data Sourced
via Ubuntu·05:08 PM
RemedyDescriptionSeverityAffected Software
Data Sourced
via Debian·05:09 PM
DescriptionAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2018-16851?

CVE-2018-16851 is classified as a denial of service vulnerability affecting Samba.

2

How do I fix CVE-2018-16851?

To fix CVE-2018-16851, upgrade Samba to version 4.7.12, 4.8.7, or 4.9.3 or later.

3

Which versions of Samba are affected by CVE-2018-16851?

Samba versions from 4.0.0 up to, but not including, 4.7.12, 4.8.7, and 4.9.3 are affected by CVE-2018-16851.

4

Is Ubuntu impacted by CVE-2018-16851?

Yes, certain versions of Ubuntu with Samba versions prior to 4.7.12, 4.8.7, and 4.9.3 are impacted by CVE-2018-16851.

5

How can I identify if my system is vulnerable to CVE-2018-16851?

You can identify vulnerability to CVE-2018-16851 by checking your Samba version against the affected versions listed in the CVE description.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203