CVE-2018-14628
Research article
Samba LDAP server missing access check for deleted objects allows authenticated data disclosure (CVE-2018-14628)
| CVE | CVE-2018-14628 |
|---|---|
| Published | December 03, 2026 16:16 UTC |
| Research cut-off | December 03, 2026 16:10 UTC |
| Sources reviewed | 4: NVD record (last modified 2026-06-17); CISA KEV catalog; vendor advisory page (ubuntu.com); FIRST EPSS (2026-12-03) |
Executive summary
CVE-2018-14628 is a missing-authorization weakness (CWE-862) in the LDAP server component of Samba, where deleted directory objects are not properly access-checked, so an authenticated account can read confidential information [1, 3]. NVD scores it CVSS 3.1 4.3 MEDIUM with vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N, reflecting network reachability and low privileges with only a confidentiality effect [1]. NVD lists affected Samba ranges from 4.0.0 with fixed releases 4.18.9 and 4.19.3, while the vendor CVE record states all versions from 4.0.0 onward, and Ubuntu's bulletin names Ubuntu 22.04 LTS as affected and fixed by a Samba package update [1, 3]. Exploitation requires an authenticated account and no user interaction [1, 3]. The CISA KEV catalog did not list the CVE as of 2026-12-03, and FIRST EPSS gives a 1.25% estimated 30-day exploitation probability, which is a statistical estimate and not evidence of attacks [2, 4]. Defenders should inventory Samba servers running the LDAP role, compare versions with 4.18.9, 4.19.3 or their distribution's fixed package, and confirm the installed version after patching [1, 3].
Key points
- CVE-2018-14628 is a CWE-862 missing-authorization flaw in the Samba LDAP server that can expose confidential data on deleted objects to an authenticated account [1, 3].
- NVD scores it CVSS 3.1 4.3 MEDIUM (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N), a confidentiality-only impact [1].
- NVD gives fixed releases 4.18.9 and 4.19.3; Ubuntu 22.04 LTS is named as affected and fixed through USN-9472-1 [1, 3].
- CISA KEV did not list the CVE as of 2026-12-03, and FIRST EPSS estimates a 1.25% 30-day exploitation probability; neither establishes exploitation status [2, 4].
- Immediate action is to inventory Samba LDAP servers, compare versions with the fixed releases, and patch.
Vulnerability identification
| Field | Detail |
|---|---|
| CVE ID | CVE-2018-14628 [1] |
| Vendor and product | Samba, as stated in the CVE record [1] |
| Component | LDAP server functionality within Samba [3] |
| Platform | Upstream Samba; Ubuntu 22.04 LTS named in the Ubuntu bulletin [1, 3] |
| Published / last modified | 2023-01-17T18:15:10 / 2026-06-17T01:41:19 [1] |
| Record status | Analyzed [1] |
| CWE | CWE-862 (Missing Authorization), a weakness where code does not verify that an actor is permitted to act on a resource [1] |
| CVSS 3.1 | 4.3 MEDIUM; vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N; scored by nvd@nist.gov (Primary) [1] |
| Discovery credit | Andrew Bartlett, per the Ubuntu bulletin [3] |
| Related references | Red Hat Bugzilla 1625445; Samba Bugzilla 13595; two Fedora package-announce messages; an oss-security mailing list post dated 2023/11/28; NetApp advisory NTAP-20230223-0008 [1] |
No other CVSS score, CWE mapping or record status appears in the reviewed sources, so no conflicting scores need to be reconciled.
Vulnerability description
The flaw breaks the confidentiality property of directory data. The Samba LDAP server applies access checks that do not hold for deleted objects, so an account that has already authenticated can retrieve information it should not be able to see [1, 3]. The scoring reflects only a confidentiality effect: C:L with no integrity (I:N) or availability (A:N) impact [1].
The flaw matters only when an attacker already holds a valid account that can reach the LDAP service over the network, because PR:L requires low privileges and S3 describes the exploit requirement as an authenticated user [1, 3]. The sources do not show that the flaw permits modification, deletion or privilege escalation.
Attack surface and exploitation prerequisites
| Factor | Evidence |
|---|---|
| Network access | Network-reachable (AV:N) [1] |
| Attack complexity | Low (AC:L) [1] |
| Privileges | Low privileges required (PR:L) [1]; authenticated user required per Ubuntu [3] |
| User interaction | None (UI:N) [1] |
| Scope | Unchanged (S:U) [1] |
| Enabled feature | The Samba LDAP server functionality is the affected component [3] |
The CVSS vector alone does not establish that a given deployment is exposed. Whether a specific Samba installation runs the LDAP server role, and which accounts can reach it, must be verified locally.
Impact analysis
| Area | Assessment |
|---|---|
| Confidentiality | Low impact per C:L [1]; the Ubuntu bulletin describes retrieval of confidential information [3] |
| Integrity | No impact per I:N [1] |
| Availability | No impact per A:N [1] |
| Authentication | Authentication is required per PR:L [1, 3] |
| Authorization | Failure of the authorization check on deleted objects, classified as CWE-862 [1, 3] |
| Data and privacy | Analyst assessment: any personal or sensitive attributes stored on deleted directory objects could be exposed to a low-privilege account; the specific attributes are not identified in the sources |
| Business operations | No operational impact is described in the sources [1, 3] |
Affected products and versions
| Vendor | Product or component | Affected versions | Fixed version | Source and qualification |
|---|---|---|---|---|
| Samba | Samba (CVE record) | All versions from 4.0.0 onward [1] | Not stated in the CVE record [1] | Vendor-assigned CNA statement |
| Samba | Samba, NVD range 1 | From 4.0.0 up to but excluding 4.18.9 [1] | 4.18.9 [1] | NVD CPE analysis |
| Samba | Samba, NVD range 2 | From 4.19.0 up to but excluding 4.19.3 [1] | 4.19.3 [1] | NVD CPE analysis |
| Fedora | fedora 37 | Listed as affected [1] | No fixed version given in the pack [1] | NVD CPE analysis |
| Ubuntu | Samba on Ubuntu 22.04 LTS | Affected per Ubuntu bulletin [3] | Updated Samba package named in USN-9472-1; exact package version not included in the pack [3] | Vendor bulletin |
The CVE record states an open-ended range from 4.0.0, whereas NVD's ranges close at 4.18.9 and 4.19.3. The reviewed sources do not give an explanation for the difference. The NVD ranges are the only source giving fixed versions for upstream Samba, so they are the basis for the version checks below.
Exploitation and threat intelligence status
- CISA KEV: The CVE was not listed in the catalog as of 2026-12-03. CISA states that absence does not show the flaw was never exploited [2].
- FIRST EPSS: The estimated probability of exploitation activity within 30 days is 0.0125 (1.25%), with percentile 0.7030, as of 2026-12-03. EPSS is a statistical estimate and not evidence of exploitation [4].
- Public exploit references: NVD tags the Red Hat Bugzilla and Samba Bugzilla references with the Exploit tag [1]. The content of those pages is not in the pack, so the tag cannot be checked here and it does not by itself establish a working exploit.
- Confirmed exploitation in the wild: Not established by the reviewed sources.
- Threat actors, campaigns and sectors: No attribution appears in the reviewed sources.
Detection and exposure assessment
- Inventory: identify every host running Samba and determine whether the LDAP server functionality is enabled. Read-only check on Linux hosts: run
smbd -Vand record the version string. Expected output is the Samba version. Limitation: this does not show whether the LDAP functionality is active, which requires reviewing the Samba configuration on each host [3]. - Version comparison: compare the reported upstream version with the NVD ranges. Versions from 4.0.0 up to but excluding 4.18.9, and from 4.19.0 up to but excluding 4.19.3, match the NVD-listed affected ranges [1]. A version check is not proof of exploitability.
- Ubuntu 22.04 LTS: run
dpkg -s sambaand compare the Version field with the package version published in USN-9472-1 [3]. The pack does not contain that package version, so the comparison must use the bulletin itself. - Fedora 37: compare installed Samba packages against the Fedora package-announce messages referenced in the CVE record [1].
- Logs and telemetry: the reviewed sources give no log events, fields or indicators for this flaw, so no detection query can be sourced from them [1, 2, 3].
Remediation
Immediate mitigation (analyst assessment, unverified by a source): restrict which accounts can bind to or query the Samba LDAP service to those with a documented need, and verify by testing a standard account against the service from a permitted network segment. The Ubuntu bulletin states no mitigation beyond applying the update [3], so this step reduces exposure rather than removing the flaw.
Permanent fix: update upstream Samba to 4.18.9 or 4.19.3, the fixed releases in the NVD ranges [1]. On Ubuntu 22.04 LTS, install the Samba package version named in USN-9472-1 [3]. On Fedora 37, apply the update published in the Fedora package-announce messages referenced in the record [1]. Verify after the update with smbd -V (upstream) or dpkg -s samba (Ubuntu), and check that the reported version equals or exceeds the fixed version.
No fixed version is given for Fedora 37 in the reviewed sources, so the Fedora fix must be confirmed from the referenced announcements before the host is treated as remediated.
Remediation checklist
- Identify every Samba host and record its version with smbd -V (upstream builds) or dpkg -s samba (Ubuntu) [1, 3].
- Confirm for each host whether the LDAP server functionality is enabled in the Samba configuration; this determines whether the flaw is reachable [3].
- Restrict LDAP service access on affected hosts to accounts with a documented business need, and test that a standard account is limited to permitted networks [S3, analyst assessment].
- On upstream Samba hosts, update to 4.18.9 on the 4.18 line or 4.19.3 on the 4.19 line, then recheck the version with smbd -V [1].
- On Ubuntu 22.04 LTS hosts, install the Samba package version named in USN-9472-1 and confirm the installed version with dpkg -s samba [3].
- On Fedora 37 hosts, apply the Samba update from the Fedora package-announce messages in the record and verify the installed package version, because no fixed version is given in the pack [1].
- Review the update status for upstream versions between 4.18.9 and 4.19.0 and above 4.19.3 against the Samba bug tracker entry 13595 before assuming they are unaffected [1].
- After patching, verify that the service restarts cleanly and that access-control tests on deleted objects behave as expected for a low-privilege account; restart requirements are not in the pack [1, 3].
- Review LDAP service logs for unexpected queries from low-privilege accounts; the reviewed sources give no specific log fields, so treat this as a general check [1, 2].
Evidence gaps
- Root cause: no source explains the code or design error behind the deleted-object access check. Settle with the Samba bug tracker entry 13595 or the upstream fix commit.
- Ubuntu package version: the USN-9472-1 package version for Ubuntu 22.04 LTS is described but not given in the pack. Settle by reading the Ubuntu notice directly.
- Fedora fixed version: NVD lists fedora 37 as affected with no fixed version. Settle with the Fedora package-announce messages referenced in the record.
- Range conflict: the CVE record gives an open-ended range from 4.0.0, while NVD closes it at 4.18.9 and 4.19.3. Settle with the vendor advisory or the Samba release notes.
- Status of versions between 4.18.9 and 4.19.0 and after 4.19.3 is not covered by the NVD ranges. Settle with Samba's own advisory for CVE-2018-14628.
- Other distributions: apart from Ubuntu 22.04 LTS and Fedora 37, no distributor statement is in the pack. Settle by checking each distributor's security tracker.
- Confirmed in-the-wild exploitation: none in the pack. Settle with vendor or incident-response reporting.
- Exploit references: the content of the references tagged Exploit (Red Hat Bugzilla 1625445 and Samba Bugzilla 13595) is not in the pack. Settle by reviewing those pages directly.
- Indicators of compromise and log events: none are in the pack. Settle with Samba's logging documentation or an advisory that lists log artifacts.
- Deployment prerequisites: which Samba configuration enables the LDAP server role by default, and whether the deleted-object behaviour depends on configuration. Settle with Samba configuration documentation.
- Exposed data: the attributes or data classes on deleted objects that can be read are not identified. Settle with the upstream bug report or a proof-of-concept analysis if one is publicly reviewed.
- Restart and reload requirements after patching: not documented in the pack. Settle with the vendor's update instructions for each platform.
- Vendor workarounds: the Ubuntu bulletin states no mitigation beyond updating [3]. Settle by checking the Samba advisory for any documented configuration workaround.
References
- CVE-2018-14628 record. NIST National Vulnerability Database (NVD), 2026-06-17. https://nvd.nist.gov/vuln/detail/CVE-2018-14628. Accessed 2026-12-03.
- Known Exploited Vulnerabilities Catalog. Cybersecurity and Infrastructure Security Agency (CISA), 2026-12-03. https://www.cisa.gov/known-exploited-vulnerabilities-catalog. Accessed 2026-12-03.
- Vendor bulletin page (ubuntu.com). ubuntu.com. https://ubuntu.com/security/notices/USN-9472-1. Accessed 2026-12-03.
- EPSS score for CVE-2018-14628. FIRST, 2026-12-03. https://api.first.org/data/v1/epss?cve=CVE-2018-14628. Accessed 2026-12-03.
Summary
Andrew Bartlett discovered that Samba's LDAP server did not properly check access rights for deleted objects. An authenticated user could possibly use this issue to obtain sensitive information. This issue only affected Ubuntu 22.04 LTS. (CVE-2018-14628) It was discovered that Samba incorrectly handled the bad password count logic. A remote attacker could possibly use this issue to bypass bad pas…
Severity breakdown
Medium · 4.3
An attacker with a normal user account can exploit this over the network, without any user action.
- Attack from
- the network (remotely)
- Attack complexity
- low (no special conditions)
- Login needed
- yes, a normal user account
- User action needed
- no
- Scope
- stays within the vulnerable component
- Impact
- low on confidentiality, none on integrity and availability
Weakness
- CWE-862: Missing Authorization
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| Samba | All versions from 4.0.0 onwards | — |
Public exploits
Exploit available
References by type
Patches and fixed releases
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproj…
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproj…
Other references
Frequently asked questions
What is CVE-2018-14628?
CVE-2018-14628 is a missing-authorization weakness (CWE-862) in the LDAP server component of Samba, where deleted directory objects are not properly access-checked, so an authenticated account can read confidential information. NVD scores it CVSS 3.1 4.3 MEDIUM with vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N, reflecting network reachability and low privileges with only a confidentiality effect. Weakness type: Missing Authorization (CWE-862).
How severe is CVE-2018-14628?
CVE-2018-14628 has a CVSS 3.1 base score of 4.3 (medium), from NVD. An attacker with a normal user account can exploit this over the network, without any user action.
Is CVE-2018-14628 being exploited?
Not as far as is known: CVE-2018-14628 is not in CISA's Known Exploited Vulnerabilities catalog as of December 4, 2026. Exploit code or a proof of concept has been published, which makes attacks more likely. EPSS estimates a 1.2% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2018-14628?
Samba All versions from 4.0.0 onwards.
How do I fix CVE-2018-14628?
Identify every Samba host and record its version with smbd -V (upstream builds) or dpkg -s samba (Ubuntu). Confirm for each host whether the LDAP server functionality is enabled in the Samba configuration; this determines whether the flaw is reachable. Restrict LDAP service access on affected hosts to accounts with a documented business need, and test that a standard account is limited to permitted networks [S3, analyst assessment].