CVE-2018-1140
A missing input sanitization flaw was found in the implementation of LDP database used for the...
A missing input sanitization flaw was found in the implementation of LDP database used for the LDAP server. An attacker could use this flaw to cause a denial of service against a samba server, used as a Active Directory Domain Controller. All versions of Samba from 4.8.0 onwards are vulnerable
Attack profile
How easy it is to exploit
- Attack vector
- Adjacent network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
6.5
A missing input sanitization flaw was found in the implementation of LDP database used for the LDAP server. An attacker could use this flaw to cause a denial of service against a samba server, used as a Active Directory Domain Controller. All versions of Samba from 4.8.0 onwards are vulnerable
- Record
CVE-2018-1140- CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-20
- Updated
- 2026-11-02
EUVDEUVD-2018-11778
6.5
A missing input sanitization flaw was found in the implementation of LDP database used for the LDAP server. An attacker could use this flaw to cause a denial of service against a samba server, used as a Active Directory Domain Controller. All versions of Samba from 4.8.0 onwards are vulnerable
- Record
EUVD-2018-11778- CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-03
GitHub AdvisoriesGHSA-7rxg-m3xw-pq9p
6.5
A missing input sanitization flaw was found in the implementation of LDP database used for the...
A missing input sanitization flaw was found in the implementation of LDP database used for the LDAP server. An attacker could use this flaw to cause a denial of service against a samba server, used as a Active Directory Domain Controller. All versions of Samba from 4.8.0 onwards are vulnerable
- Record
GHSA-7rxg-m3xw-pq9p- CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-20
- Updated
- 2026-11-02
NVD
6.5
A missing input sanitization flaw was found in the implementation of LDP database used for the LDAP server. An attacker could use this flaw to cause a denial of service against a samba server, used as a Active Directory Domain Controller. All versions of Samba from 4.8.0 onwards are vulnerable
- Record
CVE-2018-1140- CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - CVSS 2.0
- 3.3 Low
AV:A/AC:L/Au:N/C:N/I:N/A:P - Weakness
- CWE-20
- Updated
- 2026-11-02
OSVALPINE-CVE-2018-1140
6.5
A missing input sanitization flaw was found in the implementation of LDP database used for the LDAP server. An attacker could use this flaw to cause a denial of service against a samba server, used as a Active Directory Domain Controller. All versions of Samba from 4.8.0 onwards are vulnerable
- Record
ALPINE-CVE-2018-1140- CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSV
6.5
A missing input sanitization flaw was found in the implementation of LDP database used for the LDAP server. An attacker could use this flaw to cause a denial of service against a samba server, used as a Active Directory Domain Controller. All versions of Samba from 4.8.0 onwards are vulnerable
- Record
CVE-2018-1140- CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
Show 5 moreShow less
OSVDEBIAN-CVE-2018-1140
6.5
A missing input sanitization flaw was found in the implementation of LDP database used for the LDAP server. An attacker could use this flaw to cause a denial of service against a samba server, used as a Active Directory Domain Controller. All versions of Samba from 4.8.0 onwards are vulnerable
- Record
DEBIAN-CVE-2018-1140- CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2018-1140
6.5
A missing input sanitization flaw was found in the implementation of LDP database used for the LDAP server. An attacker could use this flaw to cause a denial of service against a samba server, used as a Active Directory Domain Controller. All versions of Samba from 4.8.0 onwards are vulnerable
- Record
UBUNTU-CVE-2018-1140- CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVopenSUSE-SU-2024:10911-1 No score
ldb-tools-2.3.0-1.3 on GA media
These are all security issues fixed in the ldb-tools-2.3.0-1.3 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:10911-1- 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:2318-1 No score
Security update for samba
This update for samba fixes the following issues:
The following security vulnerabilities were fixed:
- CVE-2018-1139: Disable NTLMv1 auth if smb.conf doesn't allow it; (bsc#1095048)
- CVE-2018-1140: ldbsearch '(distinguishedName=abc)' and DNS query with escapes crashes; (bsc#1095056)
- CVE-2018-10919: Confidential attribute disclosure via substring search; (bsc#1095057)
- CVE-2018-10858: smbc_urlencode helper function is a subject to buffer overflow; (bsc#1103411)
- CVE-2018-10918: Fix NULL ptr dereference in DsCrackNames on a user without a SPN; (bsc#1103414)
- Record
SUSE-SU-2018:2318-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
ldbAlpine:v3.10 |
before 1.3.5-r0 | 1.3.5-r0 |
ldbAlpine:v3.11 |
before 1.3.5-r0 | 1.3.5-r0 |
ldbAlpine:v3.12 |
before 1.3.5-r0 | 1.3.5-r0 |
ldbAlpine:v3.13 |
before 1.3.5-r0 | 1.3.5-r0 |
ldbAlpine:v3.14 |
before 1.3.5-r0 | 1.3.5-r0 |
ldbAlpine:v3.15 |
before 1.3.5-r0 | 1.3.5-r0 |
ldbAlpine:v3.16 |
before 1.3.5-r0 | 1.3.5-r0 |
ldbAlpine:v3.17 |
before 1.3.5-r0 | 1.3.5-r0 |
ldbAlpine:v3.18 |
before 1.3.5-r0 | 1.3.5-r0 |
ldbAlpine:v3.19 |
before 1.3.5-r0 | 1.3.5-r0 |
Show 29 moreShow less
| Package | Affected | Fixed |
|---|---|---|
ldbAlpine:v3.20 |
before 1.3.5-r0 | 1.3.5-r0 |
ldbAlpine:v3.21 |
before 1.3.5-r0 | 1.3.5-r0 |
ldbAlpine:v3.7 |
before 1.3.0-r1 | 1.3.0-r1 |
ldbAlpine:v3.8 |
before 1.3.5-r0 | 1.3.5-r0 |
ldbAlpine:v3.9 |
before 1.3.5-r0 | 1.3.5-r0 |
sambaAlpine:v3.10 |
4.8.0 up to 4.8.4-r0 | 4.8.4-r0 |
sambaAlpine:v3.11 |
4.8.0 up to 4.8.4-r0 | 4.8.4-r0 |
sambaAlpine:v3.12 |
4.8.0 up to 4.8.4-r0 | 4.8.4-r0 |
sambaAlpine:v3.13 |
4.8.0 up to 4.8.4-r0 | 4.8.4-r0 |
sambaAlpine:v3.14 |
4.8.0 up to 4.8.4-r0 | 4.8.4-r0 |
sambaAlpine:v3.15 |
4.8.0 up to 4.8.4-r0 | 4.8.4-r0 |
sambaAlpine:v3.16 |
4.8.0 up to 4.8.4-r0 | 4.8.4-r0 |
sambaAlpine:v3.17 |
4.8.0 up to 4.8.4-r0 | 4.8.4-r0 |
sambaAlpine:v3.18 |
4.8.0 up to 4.8.4-r0 | 4.8.4-r0 |
sambaAlpine:v3.19 |
4.8.0 up to 4.8.4-r0 | 4.8.4-r0 |
sambaAlpine:v3.20 |
4.8.0 up to 4.8.4-r0 | 4.8.4-r0 |
sambaAlpine:v3.21 |
4.8.0 up to 4.8.4-r0 | 4.8.4-r0 |
sambaAlpine:v3.22 |
4.8.0 up to 4.8.4-r0 | 4.8.4-r0 |
sambaAlpine:v3.23 |
4.8.0 up to 4.8.4-r0 | 4.8.4-r0 |
sambaAlpine:v3.24 |
4.8.0 up to 4.8.4-r0 | 4.8.4-r0 |
sambaAlpine:v3.8 |
4.8.0 up to 4.8.4-r0 | 4.8.4-r0 |
sambaAlpine:v3.9 |
4.8.0 up to 4.8.4-r0 | 4.8.4-r0 |
sambaDebian:12 |
before 2:4.8.4+dfsg-1 | 2:4.8.4+dfsg-1 |
sambaDebian:13 |
before 2:4.8.4+dfsg-1 | 2:4.8.4+dfsg-1 |
sambaDebian:14 |
before 2:4.8.4+dfsg-1 | 2:4.8.4+dfsg-1 |
sambaSUSE:Linux Enterprise Module for Basesystem 15 From an advisory covering 5 CVEs |
before 4.7.8+git.86.94b6d10f7dd-4.15.1 | 4.7.8+git.86.94b6d10f7dd-4.15.1 |
sambaSUSE:Linux Enterprise High Availability Extension 15 From an advisory covering 5 CVEs |
before 4.7.8+git.86.94b6d10f7dd-4.15.1 | 4.7.8+git.86.94b6d10f7dd-4.15.1 |
ldbopenSUSE:Tumbleweed From an advisory covering 6 CVEs |
before 2.3.0-1.3 | 2.3.0-1.3 |
sambaopenSUSE:Tumbleweed From an advisory covering 66 CVEs |
before 4.14.6+git.182.2205d5224e3-1.1 | 4.14.6+git.182.2205d5224e3-1.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| affected | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2018-1140 is a medium vulnerability (CVSS 6.5) in Samba, published August 14, 2018. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 10.9%, the 95th percentile. Fixed in ldb 1.3.5-r0.
References
bugzilla.samba.org/show_bug.cgi?id=13374
samba.org/samba/security/CVE-2018-1140.html
security.netapp.com/advisory/ntap-20180814-0001
securityfocus.com/bid/105082
bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-1140
security.gentoo.org/glsa/202003-52
Show 78 moreShow less
nvd.nist.gov/vuln/detail/CVE-2018-1140
github.com/advisories/GHSA-7rxg-m3xw-pq9p
security.alpinelinux.org/vuln/CVE-2018-1140
security-tracker.debian.org/tracker/CVE-2018-1140
suse.com/support/update/announcement/2018/suse-su-20182318-1
bugzilla.suse.com/1095048
bugzilla.suse.com/1095056
bugzilla.suse.com/1095057
bugzilla.suse.com/1103411
bugzilla.suse.com/1103414
suse.com/security/cve/CVE-2018-10858
suse.com/security/cve/CVE-2018-10918
suse.com/security/cve/CVE-2018-10919
suse.com/security/cve/CVE-2018-1139
suse.com/security/cve/CVE-2018-1140
ubuntu.com/security/CVE-2018-1140
cve.org/CVERecord?id=CVE-2018-1140
suse.com/security/cve/CVE-2019-3824
suse.com/security/cve/CVE-2020-10700
suse.com/security/cve/CVE-2020-10730
suse.com/security/cve/CVE-2020-27840
suse.com/security/cve/CVE-2021-20277
suse.com/security/cve/CVE-2006-1059
suse.com/security/cve/CVE-2006-3403
suse.com/security/cve/CVE-2007-0452
suse.com/security/cve/CVE-2007-2444
suse.com/security/cve/CVE-2007-2446
suse.com/security/cve/CVE-2007-2447
suse.com/security/cve/CVE-2007-4138
suse.com/security/cve/CVE-2007-4572
suse.com/security/cve/CVE-2007-5398
suse.com/security/cve/CVE-2007-6015
suse.com/security/cve/CVE-2008-1105
suse.com/security/cve/CVE-2008-3789
suse.com/security/cve/CVE-2008-4314
suse.com/security/cve/CVE-2009-0022
suse.com/security/cve/CVE-2016-2123
suse.com/security/cve/CVE-2016-2125
suse.com/security/cve/CVE-2016-2126
suse.com/security/cve/CVE-2017-11103
suse.com/security/cve/CVE-2017-12150
suse.com/security/cve/CVE-2017-12151
suse.com/security/cve/CVE-2017-12163
suse.com/security/cve/CVE-2017-14746
suse.com/security/cve/CVE-2017-15275
suse.com/security/cve/CVE-2017-2619
suse.com/security/cve/CVE-2017-7494
suse.com/security/cve/CVE-2018-1050
suse.com/security/cve/CVE-2018-1057
suse.com/security/cve/CVE-2018-14629
suse.com/security/cve/CVE-2018-16841
suse.com/security/cve/CVE-2018-16851
suse.com/security/cve/CVE-2018-16852
suse.com/security/cve/CVE-2018-16853
suse.com/security/cve/CVE-2018-16857
suse.com/security/cve/CVE-2018-16860
suse.com/security/cve/CVE-2019-10197
suse.com/security/cve/CVE-2019-10218
suse.com/security/cve/CVE-2019-12435
suse.com/security/cve/CVE-2019-12436
suse.com/security/cve/CVE-2019-14833
suse.com/security/cve/CVE-2019-14847
suse.com/security/cve/CVE-2019-14861
suse.com/security/cve/CVE-2019-14870
suse.com/security/cve/CVE-2019-14902
suse.com/security/cve/CVE-2019-14907
suse.com/security/cve/CVE-2019-19344
suse.com/security/cve/CVE-2019-3870
suse.com/security/cve/CVE-2019-3880
suse.com/security/cve/CVE-2020-10704
suse.com/security/cve/CVE-2020-10745
suse.com/security/cve/CVE-2020-10760
suse.com/security/cve/CVE-2020-14303
suse.com/security/cve/CVE-2020-14318
suse.com/security/cve/CVE-2020-14323
suse.com/security/cve/CVE-2020-14383
suse.com/security/cve/CVE-2020-1472
suse.com/security/cve/CVE-2021-20254