cve.bz

CVE-2018-10858 Improper Input Validation

8.8 highEPSS 4.3%

High (8.8). EPSS 4.3% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.0

8.8 high
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
4.3% (unchanged from 4.3% a week ago; 4.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 91st percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
CWE-20 Improper Input Validation
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2018-10858 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-10858?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-10858?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2018-10858 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
debian:debian_linux9.0
canonical:ubuntu_linux14.04
canonical:ubuntu_linux16.04
canonical:ubuntu_linux18.04
samba:sambabefore 4.6.16
samba:sambafrom 4.7.0 before 4.7.9
samba:sambafrom 4.8.0 before 4.8.4
redhat:virtualization4.0
redhat:virtualization_host4.0
redhat:enterprise_linux_desktop7.0
redhat:enterprise_linux_server7.0
redhat:enterprise_linux_workstation7.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian8samba2:4.2.14+dfsg-0+deb8u10DLA-1539-1
Debian9samba2:4.5.12+dfsg-2+deb9u3DSA-4271-1
Debian12, 13, 14samba2:4.8.4+dfsg-1DEBIAN-CVE-2018-10858
Ubuntu14.04:LTSsamba2:4.3.11+dfsg-0ubuntu0.14.04.16UBUNTU-CVE-2018-10858 USN-3738-1
Ubuntu16.04:LTSsamba2:4.3.11+dfsg-0ubuntu0.16.04.15UBUNTU-CVE-2018-10858 USN-3738-1
Ubuntu18.04:LTSsamba2:4.7.6+dfsg~ubuntu-0ubuntu2.2UBUNTU-CVE-2018-10858 USN-3738-1
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::workstationsamba, samba-dc, samba-libs and 23 more0:4.8.3-4.el7RHSA-2018:3056
Red Hatenterprise_linux:7::hypervisorimgbased, python-imgbased0:1.0.29-1.el7evRHSA-2018:3470
Red Hatenterprise_linux:7::hypervisorredhat-release-virtualization-host, redhat-virtualization-host-image-update-placeholder0:4.2-7.3.el7RHSA-2018:3470
Red Hatenterprise_linux:7::hypervisorredhat-virtualization-host, redhat-virtualization-host-image-update0:4.2-20181026.0.el7_6RHSA-2018:3470
Red Hatenterprise_linux:7::serverctdb, samba, samba-dc and 25 more0:4.8.3-4.el7RHSA-2018:3056
Red Hatstorage:3.4:samba:el6ctdb, samba, samba-dc and 21 more0:4.7.5-110.el6rhsRHSA-2018:2612
Red Hatstorage:3.4:samba:el6libtdb, tdb-tools, python-tdb and 2 more0:1.3.15-4.el6rhsRHSA-2018:2612
Red Hatstorage:3.4:samba:el6libtevent, python-tevent, libtevent-devel and 1 more0:0.9.35-1.el6rhsRHSA-2018:2612
Red Hatstorage:3.4:samba:el6pytalloc, libtalloc, pytalloc-devel and 2 more0:2.1.11-1.el6rhsRHSA-2018:2612
Red Hatstorage:3.4:samba:el7ctdb, samba, samba-dc and 21 more0:4.7.5-110.el7rhgsRHSA-2018:2613
Red Hatstorage:3.4:samba:el7libtdb, tdb-tools, python-tdb and 2 more0:1.3.15-4.el7rhgsRHSA-2018:2613
Red Hatstorage:3.4:samba:el7libtevent, python-tevent, libtevent-devel and 1 more0:0.9.35-1.el7rhgsRHSA-2018:2613
1 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 4, Linux Enterprise High Availability Extension 12 SP1, Linux Enterprise Server 12 SP1-LTSS and 4 moresamba4.2.4-28.29.1SUSE-SU-2018:2339-1
SUSEEnterprise Storage 4, Linux Enterprise High Availability Extension 12 SP2, Linux Enterprise Server 12 SP2-LTSS and 2 moresamba4.4.2-38.20.1SUSE-SU-2018:2320-1
SUSEEnterprise Storage 5, Linux Enterprise Desktop 12 SP3, Linux Enterprise High Availability Extension 12 SP3 and 3 moresamba4.6.14+git.157.c2d53c2b191-3.29.1SUSE-SU-2018:2319-1
SUSELinux Enterprise High Availability Extension 12, Linux Enterprise Server 12-LTSSsamba4.2.4-18.49.1SUSE-SU-2018:2321-1
SUSELinux Enterprise High Availability Extension 15, Linux Enterprise Module for Basesystem 15samba4.7.8+git.86.94b6d10f7dd-4.15.1SUSE-SU-2018:2318-1
SUSELinux Enterprise Point of Sale 11 SP3, Linux Enterprise Server 11 SP3-LTSS, Linux Enterprise Server 11 SP3-TERADATA and 2 moresamba, samba-doc3.6.3-94.14.2SUSE-SU-2018:2329-1
SUSELinux Enterprise Server 12 SP2-BCLsamba4.2.4-28.29.1SUSE-SU-2018:2339-2
SUSELinux Enterprise Server 12 SP2-BCLsamba4.4.2-38.20.1SUSE-SU-2018:2320-2
SUSELinux Enterprise Software Development Kit 11 SP4samba3.6.3-94.14.2SUSE-SU-2018:2329-1
openSUSETumbleweedsamba4.14.6+git.182.2205d5224e3-1.1openSUSE-SU-2024:11365-1
Alpinev3.5samba4.5.16-r1ALPINE-CVE-2018-10858
Alpinev3.6samba4.6.16-r0ALPINE-CVE-2018-10858
Alpinev3.7samba4.7.6-r1ALPINE-CVE-2018-10858
Alpinev3.8, v3.9, v3.10 and 14 moresamba4.8.4-r0ALPINE-CVE-2018-10858

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7samba-0:4.8.3-4.el7Fixed 2018-10-30RHSA-2018:3056
Red Hat Gluster Storage 3.4 for RHEL 6libtalloc-0:2.1.11-1.el6rhsFixed 2018-09-04RHSA-2018:2612
Red Hat Gluster Storage 3.4 for RHEL 6libtdb-0:1.3.15-4.el6rhsFixed 2018-09-04RHSA-2018:2612
Red Hat Gluster Storage 3.4 for RHEL 6libtevent-0:0.9.35-1.el6rhsFixed 2018-09-04RHSA-2018:2612
Red Hat Gluster Storage 3.4 for RHEL 6samba-0:4.7.5-110.el6rhsFixed 2018-09-04RHSA-2018:2612
Red Hat Gluster Storage 3.4 for RHEL 7libtalloc-0:2.1.11-1.el7rhgsFixed 2018-09-04RHSA-2018:2613
Red Hat Gluster Storage 3.4 for RHEL 7libtdb-0:1.3.15-4.el7rhgsFixed 2018-09-04RHSA-2018:2613
Red Hat Gluster Storage 3.4 for RHEL 7libtevent-0:0.9.35-1.el7rhgsFixed 2018-09-04RHSA-2018:2613
Red Hat Gluster Storage 3.4 for RHEL 7samba-0:4.7.5-110.el7rhgsFixed 2018-09-04RHSA-2018:2613
Red Hat Virtualization 4 for Red Hat Enterprise Linux 7imgbased-0:1.0.29-1.el7evFixed 2018-11-05RHSA-2018:3470
Red Hat Virtualization 4 for Red Hat Enterprise Linux 7redhat-release-virtualization-host-0:4.2-7.3.el7Fixed 2018-11-05RHSA-2018:3470
Red Hat Virtualization 4 for Red Hat Enterprise Linux 7redhat-virtualization-host-0:4.2-20181026.0.el7_6Fixed 2018-11-05RHSA-2018:3470
Red Hat Enterprise Linux 5sambaNot affected
Red Hat Enterprise Linux 5samba3xNot affected
Red Hat Enterprise Linux 6sambaNot affected
Red Hat Enterprise Linux 8sambaNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2018-10858.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-119 (12), CWE-20 (51).

References

Check your stackJSON