CVE-2018-10858
Reported by redhat · Published August 22, 2018
A heap-buffer overflow was found in the way samba clients processed extra long filename in a directory listing. A malicious samba server could use this flaw to cause arbitrary code execution on a samba client. Samba versions before 4.6.16, 4.7.9 and 4.8.4 are vulnerable.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| samba-devel | Amazon Linux | 4.8.3-4.amzn2.0.1 |
| samba-vfs-glusterfs | Amazon Linux | 4.8.3-4.amzn2.0.1 |
| samba-test | Amazon Linux | 4.8.3-4.amzn2.0.1 |
| libsmbclient | Amazon Linux | 4.8.3-4.amzn2.0.1 |
| libwbclient-devel | Amazon Linux | 4.8.3-4.amzn2.0.1 |
| samba-client | Amazon Linux | 4.8.3-4.amzn2.0.1 |
| ctdb-tests | Amazon Linux | 4.8.3-4.amzn2.0.1 |
| libwbclient | Amazon Linux | 4.8.3-4.amzn2.0.1 |
| samba-winbind | Amazon Linux | 4.8.3-4.amzn2.0.1 |
| samba-pidl | Amazon Linux | 4.8.3-4.amzn2.0.1 |
| samba-winbind-clients | Amazon Linux | 4.8.3-4.amzn2.0.1 |
| samba-python-test | Amazon Linux | 4.8.3-4.amzn2.0.1 |
8 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| The Samba Team | samba | 4.6.16, 4.7.9, 4.8.4 |
| The Samba Team | samba | 4.6.16, 4.7.9, 4.8.4 |
Timeline
- Aug 14, 2018 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Mar 6, 2026 Distribution Patch (7 in total, the first dated here)
- Mar 6, 2026 Security Advisory (8 in total, the first dated here)
- Sep 26, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2018-10858
vulnetix vdb fixes CVE-2018-10858
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2018-10858/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- DSA-4271 vendor-advisoryx_refsource_DEBIAN
- RHSA-2018:2613 vendor-advisoryx_refsource_REDHAT
- x_refsource_CONFIRM
- USN-3738-1 vendor-advisoryx_refsource_UBUNTU
- RHSA-2018:2612 vendor-advisoryx_refsource_REDHAT
- 105085 vdb-entryx_refsource_BID
- 1042002 vdb-entryx_refsource_SECTRACK
- RHSA-2018:3056 vendor-advisoryx_refsource_REDHAT
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- RHSA-2018:3470 vendor-advisoryx_refsource_REDHAT
- x_refsource_CONFIRM
- GLSA-202003-52 vendor-advisoryx_refsource_GENTOO