Skip to content
Noroxi
CVE-2018-10858· NVD / CVE Program· CNA redhat

A heap-buffer overflow was found in the way samba clients processed extra long filename in a directory listing.

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.

HighCVSS 8.8 · v3.0—No exploit Fix available
Published
Aug 22, 2018
Updated
Jun 16, 2026
EPSS
4.3% · 91th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

36

Monitor

Low priority for now.

CVSS
35 / 40 · 8.8 / 10
CISA KEV
0 / 30 · Not listed
EPSS
1 / 30 · 4.3%

CNA vs NVD score

NVD
8.8
CNA · redhat
4.3
4.5 point gap

CVSS:3.0/AV:N/AC:L/PR:H/UI:R/S:U/C:L/I:L/A:L

The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.

Affected systems

VendorProduct
sambasamba
debiandebian linux
canonicalubuntu linux
redhatvirtualization
redhatvirtualization host
redhatenterprise linux desktop
redhatenterprise linux server
redhatenterprise linux workstation

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • canonical ubuntu linux14.04
  • canonical ubuntu linux16.04
  • canonical ubuntu linux18.04
  • debian debian linux9.0
  • redhat enterprise linux desktop7.0
  • redhat enterprise linux server7.0
  • redhat enterprise linux workstation7.0
  • redhat virtualization4.0
  • redhat virtualization host4.0
  • samba samba4.8.0 and later · before 4.8.4
  • samba samba4.7.0 and later · before 4.7.9
  • samba sambabefore 4.6.16

Versions reported by the vendor

Affected version ranges reported by the assigning authority (redhat). Independent of NVD's CPE analysis and usually ahead of it.

  • The Samba Team samba

    • 4.6.16, 4.7.9, 4.8.4affected

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Alpine:v3.10sambafrom 4.7.0 · before 4.8.4-r04.8.4-r0
Alpine:v3.5sambafrom 4.7.0 · before 4.5.16-r14.5.16-r1
Alpine:v3.6sambafrom 4.7.0 · before 4.6.16-r04.6.16-r0
Alpine:v3.7sambafrom 4.7.0 · before 4.7.6-r14.7.6-r1
Debian:12sambabefore 2:4.8.4+dfsg-12:4.8.4+dfsg-1
Debian:8sambabefore 2:4.2.14+dfsg-0+deb8u102:4.2.14+dfsg-0+deb8u10
Debian:9sambabefore 2:4.5.12+dfsg-2+deb9u32:4.5.12+dfsg-2+deb9u3
Red Hat:enterprise_linux:7::clientlibsmbclientbefore 0:4.8.3-4.el70:4.8.3-4.el7
Red Hat:enterprise_linux:7::clientlibsmbclient-develbefore 0:4.8.3-4.el70:4.8.3-4.el7
Red Hat:enterprise_linux:7::clientlibwbclientbefore 0:4.8.3-4.el70:4.8.3-4.el7
Red Hat:enterprise_linux:7::clientlibwbclient-develbefore 0:4.8.3-4.el70:4.8.3-4.el7
Red Hat:enterprise_linux:7::clientsambabefore 0:4.8.3-4.el70:4.8.3-4.el7
Red Hat:enterprise_linux:7::clientsamba-clientbefore 0:4.8.3-4.el70:4.8.3-4.el7
Red Hat:enterprise_linux:7::clientsamba-client-libsbefore 0:4.8.3-4.el70:4.8.3-4.el7
Red Hat:enterprise_linux:7::clientsamba-commonbefore 0:4.8.3-4.el70:4.8.3-4.el7
Red Hat:enterprise_linux:7::clientsamba-common-libsbefore 0:4.8.3-4.el70:4.8.3-4.el7
Red Hat:enterprise_linux:7::clientsamba-common-toolsbefore 0:4.8.3-4.el70:4.8.3-4.el7
Red Hat:enterprise_linux:7::clientsamba-dcbefore 0:4.8.3-4.el70:4.8.3-4.el7
Red Hat:enterprise_linux:7::clientsamba-dc-libsbefore 0:4.8.3-4.el70:4.8.3-4.el7
Red Hat:enterprise_linux:7::clientsamba-debuginfobefore 0:4.8.3-4.el70:4.8.3-4.el7
Red Hat:enterprise_linux:7::clientsamba-develbefore 0:4.8.3-4.el70:4.8.3-4.el7
Red Hat:enterprise_linux:7::clientsamba-krb5-printingbefore 0:4.8.3-4.el70:4.8.3-4.el7
Red Hat:enterprise_linux:7::clientsamba-libsbefore 0:4.8.3-4.el70:4.8.3-4.el7
Red Hat:enterprise_linux:7::clientsamba-pidlbefore 0:4.8.3-4.el70:4.8.3-4.el7

+96

Other highest-scoring records for the same primary product.

  • CVE-2017-7494Samba since version 3.5.0 and before 4.6.4, 4.5.10 and 4.4.14 is vulnerable to remote code execution vulnerability, allowing a malicious cliKEV
    99Now
  • CVE-2015-0240The Netlogon server implementation in smbd in Samba 3.5.x and 3.6.x before 3.6.25, 4.0.x before 4.0.25, 4.1.x before 4.1.17, and 4.2.x befor
    66This week
  • CVE-2003-0085Buffer overflow in the SMB/CIFS packet fragment re-assembly code for SMB daemon (smbd) in Samba before 2.2.8, and Samba-TNG before 0.3.1, al
    66This week
  • CVE-2003-0201Buffer overflow in the call_trans2open function in trans2.c for Samba 2.2.x before 2.2.8a, 2.0.10 and earlier 2.0.x versions, and Samba-TNG
    65This week
  • CVE-2007-2446Multiple heap-based buffer overflows in the NDR parsing in smbd in Samba 3.0.0 through 3.0.25rc3 allow remote attackers to execute arbitrary
    63This week
  • CVE-2012-1182The RPC code generator in Samba 3.x before 3.4.16, 3.5.x before 3.5.14, and 3.6.x before 3.6.4 does not implement validation of an array len
    62This week

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
alpine:samba4.8.4-r0 · Alpine:v3.10Package registry (OSV)
debian:samba2:4.8.4+dfsg-1 · Debian:12Package registry (OSV)
red hat:ctdb0:4.7.5-110.el6rhs · Red Hat:storage:3.4:samba:el6Package registry (OSV)
red hat:libsmbclient0:4.7.5-110.el6rhs · Red Hat:storage:3.4:samba:el6Package registry (OSV)
red hat:libsmbclient-devel0:4.7.5-110.el6rhs · Red Hat:storage:3.4:samba:el6Package registry (OSV)
red hat:libtalloc0:2.1.11-1.el6rhs · Red Hat:storage:3.4:samba:el6Package registry (OSV)
red hat:libtalloc-debuginfo0:2.1.11-1.el6rhs · Red Hat:storage:3.4:samba:el6Package registry (OSV)
red hat:libtalloc-devel0:2.1.11-1.el6rhs · Red Hat:storage:3.4:samba:el6Package registry (OSV)
red hat:libtdb0:1.3.15-4.el6rhs · Red Hat:storage:3.4:samba:el6Package registry (OSV)
red hat:libtdb-debuginfo0:1.3.15-4.el6rhs · Red Hat:storage:3.4:samba:el6Package registry (OSV)
red hat:libtdb-devel0:1.3.15-4.el6rhs · Red Hat:storage:3.4:samba:el6Package registry (OSV)
red hat:libtevent0:0.9.35-1.el6rhs · Red Hat:storage:3.4:samba:el6Package registry (OSV)
red hat:libtevent-debuginfo0:0.9.35-1.el6rhs · Red Hat:storage:3.4:samba:el6Package registry (OSV)
red hat:libtevent-devel0:0.9.35-1.el6rhs · Red Hat:storage:3.4:samba:el6Package registry (OSV)
suse:samba4.7.8+git.86.94b6d10f7dd-4.15.1 · SUSE:Linux Enterprise Module for Basesystem 15Package registry (OSV)
suse:samba-doc3.6.3-94.14.2 · SUSE:Linux Enterprise Point of Sale 11 SP3Package registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • A low-privileged account is enough.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
high · data can be read
Integrity
high · data or configuration can be modified
Availability
high · the service can be disrupted
Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality impact
High
Integrity impact
High
Availability impact
High

CVSS vector

CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

nvd-primary

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records