CVE-2018-10858 json
A heap-buffer overflow was found in the way samba clients processed extra long filename in a directory listing.
published 2018-08-22 8 y ago modified 2026-06-17 4 mo ago also EUVD-2018-2925
- cvss
- 4.3
- version 3.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 4.3%
- EPSS 4.3% chance of exploitation in 30 days, percentile 91%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- samba samba 4.6.16, 4.7.9, 4.8.4
- samba Debian 14, Debian 13, Debian 12 2:4.8.4+dfsg-1
debian advisories DEBIAN-CVE-2018-10858
- samba Ubuntu 14.04 LTS 2:4.3.11+dfsg-0ubuntu0.14.04.16
- samba Ubuntu 16.04 LTS 2:4.3.11+dfsg-0ubuntu0.16.04.15
- samba Ubuntu 18.04 LTS 2:4.7.6+dfsg~ubuntu-0ubuntu2.2
ubuntu advisories UBUNTU-CVE-2018-10858
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- imgbased RHEL 7 1.0.29-1.el7ev
- python-imgbased RHEL 7 1.0.29-1.el7ev
- redhat-virtualization-host RHEL 7 4.2-20181026.0.el7_6
- redhat-release-virtualization-host RHEL 7 4.2-7.3.el7
- redhat-virtualization-host-image-update RHEL 7 4.2-20181026.0.el7_6
- redhat-virtualization-host-image-update-placeholder RHEL 7 4.2-7.3.el7
- samba RHEL 7 4.8.3-4.el7
- ctdb RHEL 7 4.8.3-4.el7
red hat advisories RHSA-2018:3470RHSA-2018:3056RHSA-2018:2612RHSA-2018:2613
- samba SLES 12 SP2-BCL, SLE High Availability Extension 12 SP2, OpenStack Cloud 7 +3 more 4.4.2-38.20.1
- samba SLES 12 SP2-BCL, SLE High Availability Extension 12 SP1, OpenStack Cloud 7 +5 more 4.2.4-28.29.1
- samba SLES for SAP 11 SP4, SLES 11 SP4, SLES 11 SP3-TERADATA +3 more 3.6.3-94.14.2
- samba SLES 12-LTSS, SLE High Availability Extension 12 4.2.4-18.49.1
- samba SLE Module for Basesystem 15, SLE High Availability Extension 15 4.7.8+git.86.94b6d10f7dd-4.15.1
- samba SLES for SAP 12 SP3, SLES 12 SP3, SLED 12 SP3 +3 more 4.6.14+git.157.c2d53c2b191-3.29.1
suse advisories SUSE-SU-2018:2320-2SUSE-SU-2018:2339-2SUSE-SU-2018:2339-1SUSE-SU-2018:2329-1SUSE-SU-2018:2321-1SUSE-SU-2018:2320-1
- samba openSUSE Tumbleweed 4.14.6+git.182.2205d5224e3-1.1
opensuse advisories openSUSE-SU-2024:11365-1
- samba Alpine 3.24, Alpine 3.23, Alpine 3.22 +14 more 4.8.4-r0
- samba Alpine 3.5 4.5.16-r1
- samba Alpine 3.6 4.6.16-r0
- samba Alpine 3.7 4.7.6-r1
alpine advisories ALPINE-CVE-2018-10858
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-10858 updated cvss 4.3
samba: Insufficient input validation in libsmbclient
-
Red Hat Enterprise Linux Client (v. 7) samba 4.8.3-4.el7, samba-libs 4.8.3-4.el7, libwbclient 4.8.3-4.el7, libsmbclient 4.8.3-4.el7, samba-client 4.8.3-4.el7, samba-common 4.8.3-4.el7, +7 more Red Hat Enterprise Linux Client Optional (v. 7) samba 4.8.3-4.el7, samba-dc 4.8.3-4.el7, samba-pidl 4.8.3-4.el7, samba-test 4.8.3-4.el7, samba-python 4.8.3-4.el7, samba-dc-libs 4.8.3-4.el7, +4 more Red Hat Enterprise Linux ComputeNode (v. 7) samba 4.8.3-4.el7, samba-libs 4.8.3-4.el7, libwbclient 4.8.3-4.el7, libsmbclient 4.8.3-4.el7, samba-client 4.8.3-4.el7, samba-common 4.8.3-4.el7, +6 more Red Hat Enterprise Linux ComputeNode Optional (v. 7) samba 4.8.3-4.el7, samba-dc 4.8.3-4.el7, samba-pidl 4.8.3-4.el7, samba-test 4.8.3-4.el7, samba-python 4.8.3-4.el7, samba-dc-libs 4.8.3-4.el7, +5 more Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7) samba 4.8.3-4.el7, samba-libs 4.8.3-4.el7, libwbclient 4.8.3-4.el7, libsmbclient 4.8.3-4.el7, samba-client 4.8.3-4.el7, samba-common 4.8.3-4.el7, +8 more Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server Optional (v. 7) samba-dc 4.8.3-4.el7, samba-pidl 4.8.3-4.el7, samba-test 4.8.3-4.el7, samba-python 4.8.3-4.el7, samba-dc-libs 4.8.3-4.el7, samba-test-libs 4.8.3-4.el7, +2 morefixed: vendor fix RHSA-2018:3056
+5 more productsfewer
Red Hat Enterprise Linux Server (v. 7) samba 4.8.3-4.el7, samba-libs 4.8.3-4.el7, libwbclient 4.8.3-4.el7, libsmbclient 4.8.3-4.el7, samba-client 4.8.3-4.el7, samba-common 4.8.3-4.el7, +8 more Red Hat Enterprise Linux Server Optional (v. 7) samba-dc 4.8.3-4.el7, samba-pidl 4.8.3-4.el7, samba-test 4.8.3-4.el7, samba-python 4.8.3-4.el7, samba-dc-libs 4.8.3-4.el7, samba-test-libs 4.8.3-4.el7, +3 more Red Hat Enterprise Linux Server Resilient Storage (v. 7) ctdb 4.8.3-4.el7, ctdb-tests 4.8.3-4.el7 Red Hat Enterprise Linux Workstation (v. 7) samba 4.8.3-4.el7, samba-libs 4.8.3-4.el7, libwbclient 4.8.3-4.el7, libsmbclient 4.8.3-4.el7, samba-client 4.8.3-4.el7, samba-common 4.8.3-4.el7, +8 more Red Hat Enterprise Linux Workstation Optional (v. 7) samba-dc 4.8.3-4.el7, samba-pidl 4.8.3-4.el7, samba-test 4.8.3-4.el7, samba-dc-libs 4.8.3-4.el7, samba-test-libs 4.8.3-4.el7, samba-python-test 4.8.3-4.el7, +2 more -
Red Hat Gluster 3.4 Samba on RHEL-6 ctdb 4.7.5-110.el6rhs, libtdb 1.3.15-4.el6rhs, samba 4.7.5-110.el6rhs, pytalloc 2.1.11-1.el6rhs, libtalloc 2.1.11-1.el6rhs, libtevent 0.9.35-1.el6rhs, +21 morefixed: vendor fix RHSA-2018:2612
-
Red Hat Gluster 3.4 Samba on RHEL-7 ctdb 4.7.5-110.el7rhgs, libtdb 1.3.15-4.el7rhgs, samba 4.7.5-110.el7rhgs, pytalloc 2.1.11-1.el7rhgs, libtalloc 2.1.11-1.el7rhgs, libtevent 0.9.35-1.el7rhgs, +21 morefixed: vendor fix RHSA-2018:2613
-
Red Hat Virtualization 4 Hypervisor for RHEL 7 redhat-virtualization-host 4.2-20181026.0.el7_6, redhat-virtualization-host-image-update 4.2-20181026.0.el7_6 Red Hat RHEL 7-based RHEV-H for RHEV 4 (build requirements) imgbased 1.0.29-1.el7ev, python-imgbased 1.0.29-1.el7ev, redhat-release-virtualization-host 4.2-7.3.el7, redhat-virtualization-host-image-update-placeholder 4.2-7.3.el7fixed: vendor fix RHSA-2018:3470
-
Red Hat Enterprise Linux 5 samba, samba3x Red Hat Enterprise Linux 6 samba, samba-swat, libsmbclient, samba-client, samba-common, samba-winbind, +4 more Red Hat Enterprise Linux 8 ctdb, samba, libnetapi, ctdb-tests, samba-libs, samba-pidl, +24 morenot 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
4.30% chance of exploitation in the next 30 days, higher than 91% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.0 | 4.3 | CVSS:3.0/AV:N/AC:L/PR:H/UI:R/S:U/C:L/I:L/A:L |
| NVD | 3.0 | 8.8 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.5 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
Affected products
- The Samba Team samba
Classification
References
-
debian.org
/security/2018/dsa-4271
vendor-advisory, third-party-advisory
-
access.redhat.com
/errata/RHSA-2018:2613
vendor-advisory, third-party-advisory
-
usn.ubuntu.com
/3738-1/
vendor-advisory, third-party-advisory
-
access.redhat.com
/errata/RHSA-2018:2612
vendor-advisory, third-party-advisory
-
access.redhat.com
/errata/RHSA-2018:3056
vendor-advisory, third-party-advisory
-
access.redhat.com
/errata/RHSA-2018:3470
vendor-advisory, third-party-advisory
-
security.gentoo.org
/glsa/202003-52
vendor-advisory
-
samba.org
/samba/security/CVE-2018-10858.html
vendor-advisory
-
securityfocus.com
/bid/105085
vdb-entry, third-party-advisory
-
securitytracker.com
/id/1042002
vdb-entry, third-party-advisory
-
security.netapp.com
/advisory/ntap-20180814-0001/
third-party-advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=CVE-2018-10858
issue-tracking, third-party-advisory
- kc.mcafee.com /corporate/index?page=content&id=SB10284
Sources
- CVE List CVE-2018-10858
- NVD CVE-2018-10858
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.