Every CVE Search/ Get API key

CVE-2018-1140

A missing input sanitization flaw was found in the implementation of LDP database used for the...

6.5 MediumFix available

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

10.9%Up 9.1 points since Apr 14, 2021
90%50%10%1%

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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.0
3.3 LowAV: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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

Affected packages
PackageAffectedFixed
ldb
Alpine:v3.10
before 1.3.5-r0
1.3.5-r0
ldb
Alpine:v3.11
before 1.3.5-r0
1.3.5-r0
ldb
Alpine:v3.12
before 1.3.5-r0
1.3.5-r0
ldb
Alpine:v3.13
before 1.3.5-r0
1.3.5-r0
ldb
Alpine:v3.14
before 1.3.5-r0
1.3.5-r0
ldb
Alpine:v3.15
before 1.3.5-r0
1.3.5-r0
ldb
Alpine:v3.16
before 1.3.5-r0
1.3.5-r0
ldb
Alpine:v3.17
before 1.3.5-r0
1.3.5-r0
ldb
Alpine:v3.18
before 1.3.5-r0
1.3.5-r0
ldb
Alpine:v3.19
before 1.3.5-r0
1.3.5-r0
Show 29 moreShow less
Affected packages
PackageAffectedFixed
ldb
Alpine:v3.20
before 1.3.5-r0
1.3.5-r0
ldb
Alpine:v3.21
before 1.3.5-r0
1.3.5-r0
ldb
Alpine:v3.7
before 1.3.0-r1
1.3.0-r1
ldb
Alpine:v3.8
before 1.3.5-r0
1.3.5-r0
ldb
Alpine:v3.9
before 1.3.5-r0
1.3.5-r0
samba
Alpine:v3.10
4.8.0 up to 4.8.4-r0
4.8.4-r0
samba
Alpine:v3.11
4.8.0 up to 4.8.4-r0
4.8.4-r0
samba
Alpine:v3.12
4.8.0 up to 4.8.4-r0
4.8.4-r0
samba
Alpine:v3.13
4.8.0 up to 4.8.4-r0
4.8.4-r0
samba
Alpine:v3.14
4.8.0 up to 4.8.4-r0
4.8.4-r0
samba
Alpine:v3.15
4.8.0 up to 4.8.4-r0
4.8.4-r0
samba
Alpine:v3.16
4.8.0 up to 4.8.4-r0
4.8.4-r0
samba
Alpine:v3.17
4.8.0 up to 4.8.4-r0
4.8.4-r0
samba
Alpine:v3.18
4.8.0 up to 4.8.4-r0
4.8.4-r0
samba
Alpine:v3.19
4.8.0 up to 4.8.4-r0
4.8.4-r0
samba
Alpine:v3.20
4.8.0 up to 4.8.4-r0
4.8.4-r0
samba
Alpine:v3.21
4.8.0 up to 4.8.4-r0
4.8.4-r0
samba
Alpine:v3.22
4.8.0 up to 4.8.4-r0
4.8.4-r0
samba
Alpine:v3.23
4.8.0 up to 4.8.4-r0
4.8.4-r0
samba
Alpine:v3.24
4.8.0 up to 4.8.4-r0
4.8.4-r0
samba
Alpine:v3.8
4.8.0 up to 4.8.4-r0
4.8.4-r0
samba
Alpine:v3.9
4.8.0 up to 4.8.4-r0
4.8.4-r0
samba
Debian:12
before 2:4.8.4+dfsg-1
2:4.8.4+dfsg-1
samba
Debian:13
before 2:4.8.4+dfsg-1
2:4.8.4+dfsg-1
samba
Debian:14
before 2:4.8.4+dfsg-1
2:4.8.4+dfsg-1
samba
SUSE: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
samba
SUSE: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
ldb
openSUSE:Tumbleweed
From an advisory covering 6 CVEs
before 2.3.0-1.3
2.3.0-1.3
samba
openSUSE: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

History
RecordedChangedSources
affected, facts
affected
aliasesEUVD
first indexedCVE 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

Show 78 moreShow less
MoveEnter Open