CVE-2018-1140 json
A missing input sanitization flaw was found in the implementation of LDP database used for the LDAP server.
published 2018-08-22 8 y ago modified 2026-06-17 4 mo ago also EUVD-2018-11778
- cvss
- 6.5
- version 3.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 10.9%
- EPSS 10.9% chance of exploitation in 30 days, percentile 95%
- public exploits
- 0
- none known
Summary
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
Patch / fix
- samba samba 4.8.4
- samba Debian 14, Debian 13, Debian 12 2:4.8.4+dfsg-1
debian advisories DEBIAN-CVE-2018-1140
- samba SLE Module for Basesystem 15, SLE High Availability Extension 15 4.7.8+git.86.94b6d10f7dd-4.15.1
suse advisories SUSE-SU-2018:2318-1
- ldb openSUSE Tumbleweed 2.3.0-1.3
- samba openSUSE Tumbleweed 4.14.6+git.182.2205d5224e3-1.1
opensuse advisories openSUSE-SU-2024:10911-1openSUSE-SU-2024:11365-1
- ldb Alpine 3.21, Alpine 3.20, Alpine 3.19 +11 more 1.3.5-r0
- ldb Alpine 3.7 1.3.0-r1
- samba Alpine 3.24, Alpine 3.23, Alpine 3.22 +14 more 4.8.4-r0
alpine advisories ALPINE-CVE-2018-1140
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2018-1140 updated cvss 6.5
libldb: LDAP server crash via distinguishedName
-
Red Hat Enterprise Linux 5 libldb Red Hat Enterprise Linux 6 pyldb, libldb, ldb-tools Red Hat Enterprise Linux 7 pyldb, libldb, ldb-tools Red Hat Enterprise Linux 8 libldb, ldb-tools, python3-ldb, python-ldb-devel-common Red Hat Storage 3 pyldb, libldb, ldb-toolsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
10.93% chance of exploitation in the next 30 days, higher than 95% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.0 | 6.5 | CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 3.0 | 6.5 | CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 3.3 | AV:A/AC:L/Au:N/C:N/I:N/A:P |
Affected products
- The Samba Team samba
Classification
- Weakness
-
- CWE-20 Improper Input Validation
References
-
bugzilla.samba.org
/show_bug.cgi?id=13374
issue-tracking, patch, third-party-advisory
-
samba.org
/samba/security/CVE-2018-1140.html
patch, vendor-advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=CVE-2018-1140
issue-tracking, patch, third-party-advisory
-
security.gentoo.org
/glsa/202003-52
vendor-advisory
-
security.netapp.com
/advisory/ntap-20180814-0001/
third-party-advisory
-
securityfocus.com
/bid/105082
vdb-entry, third-party-advisory
Sources
- CVE List CVE-2018-1140
- NVD CVE-2018-1140
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.