{"api_version":"1","generated_at":"2026-06-20T01:31:40+00:00","cve":"CVE-2018-1140","urls":{"html":"https://cve.report/CVE-2018-1140","api":"https://cve.report/api/cve/CVE-2018-1140.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2018-1140","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2018-1140"},"summary":{"title":"CVE-2018-1140","description":"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","state":"PUBLIC","assigner":"secalert@redhat.com","published_at":"2018-08-22 14:29:00","updated_at":"2019-10-09 23:38:00"},"problem_types":["CWE-20"],"metrics":[],"references":[{"url":"https://bugzilla.samba.org/show_bug.cgi?id=13374","name":"https://bugzilla.samba.org/show_bug.cgi?id=13374","refsource":"CONFIRM","tags":["Issue Tracking","Patch","Third Party Advisory"],"title":"Bug 13374 – [SECURITY] CVE-2018-1140 ldbsearch '(distinguishedName=abc)' and DNS query with escapes crashes","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-1140","name":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-1140","refsource":"CONFIRM","tags":["Issue Tracking","Patch","Third Party Advisory"],"title":"1580230 – (CVE-2018-1140) CVE-2018-1140 libldb: LDAP server crash via distinguishedName","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://security.netapp.com/advisory/ntap-20180814-0001/","name":"https://security.netapp.com/advisory/ntap-20180814-0001/","refsource":"CONFIRM","tags":["Third Party Advisory"],"title":"August 2018 Samba Vulnerabilities in NetApp Products | NetApp Product Security","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.samba.org/samba/security/CVE-2018-1140.html","name":"https://www.samba.org/samba/security/CVE-2018-1140.html","refsource":"CONFIRM","tags":["Patch","Vendor Advisory"],"title":"Samba - Security Announcement Archive","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://security.gentoo.org/glsa/202003-52","name":"GLSA-202003-52","refsource":"GENTOO","tags":[],"title":"Samba: Multiple vulnerabilities (GLSA 202003-52) — Gentoo security","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.securityfocus.com/bid/105082","name":"105082","refsource":"BID","tags":["Third Party Advisory","VDB Entry"],"title":"Samba CVE-2018-1140 Remote Denial of Service Vulnerability","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-1140","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-1140","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2018","cve_id":"1140","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"samba","cpe5":"samba","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2018","cve_id":"1140","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"samba","cpe5":"samba","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2018-1140","qid":"500280","title":"Alpine Linux Security Update for ldb"},{"cve":"CVE-2018-1140","qid":"500636","title":"Alpine Linux Security Update for samba"},{"cve":"CVE-2018-1140","qid":"504045","title":"Alpine Linux Security Update for ldb"},{"cve":"CVE-2018-1140","qid":"504400","title":"Alpine Linux Security Update for samba"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"secalert@redhat.com","ID":"CVE-2018-1140","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"samba","version":{"version_data":[{"version_value":"4.8.0 and newer"}]}}]},"vendor_name":"The Samba Team"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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"}]},"impact":{"cvss":[[{"vectorString":"6.5/CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.0"}]]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-20"}]}]},"references":{"reference_data":[{"name":"https://bugzilla.samba.org/show_bug.cgi?id=13374","refsource":"CONFIRM","url":"https://bugzilla.samba.org/show_bug.cgi?id=13374"},{"name":"https://www.samba.org/samba/security/CVE-2018-1140.html","refsource":"CONFIRM","url":"https://www.samba.org/samba/security/CVE-2018-1140.html"},{"name":"https://security.netapp.com/advisory/ntap-20180814-0001/","refsource":"CONFIRM","url":"https://security.netapp.com/advisory/ntap-20180814-0001/"},{"name":"105082","refsource":"BID","url":"http://www.securityfocus.com/bid/105082"},{"name":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-1140","refsource":"CONFIRM","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-1140"},{"refsource":"GENTOO","name":"GLSA-202003-52","url":"https://security.gentoo.org/glsa/202003-52"}]}},"nvd":{"publishedDate":"2018-08-22 14:29:00","lastModifiedDate":"2019-10-09 23:38:00","problem_types":["CWE-20"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.0","vectorString":"CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","attackVector":"ADJACENT_NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH","baseScore":6.5,"baseSeverity":"MEDIUM"},"exploitabilityScore":2.8,"impactScore":3.6},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:A/AC:L/Au:N/C:N/I:N/A:P","accessVector":"ADJACENT_NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"PARTIAL","baseScore":3.3},"severity":"LOW","exploitabilityScore":6.5,"impactScore":2.9,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:*","versionStartIncluding":"4.8.0","versionEndExcluding":"4.8.4","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2018","CveId":"1140","Ordinal":"116371","Title":"CVE-2018-1140","CVE":"CVE-2018-1140","Year":"2018"},"notes":[{"CveYear":"2018","CveId":"1140","Ordinal":"1","NoteData":"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","Type":"Description","Title":null},{"CveYear":"2018","CveId":"1140","Ordinal":"2","NoteData":"2018-08-22","Type":"Other","Title":"Published"},{"CveYear":"2018","CveId":"1140","Ordinal":"3","NoteData":"2020-03-25","Type":"Other","Title":"Modified"}]}}}