CVE-2018-10858: Buffer Overflow

Published Aug 6, 2018
·
Updated

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.

Other sources

Samba releases 3.2.0 to 4.8.3 (inclusive) contain an error in libsmbclient that could allow a malicious server to overwrite client heap memory by returning an extra long filename in a directory listing.

— Red Hat

Affected Software

16 affected componentsFixes available
redhat/samba<4.6.16
4.6.16
redhat/samba<4.7.9
4.7.9
redhat/samba<4.8.4
4.8.4
Debian Debian Linux=9.0
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=18.04
Samba Samba<4.6.16
Samba Samba>=4.7.0<4.7.9
Samba Samba>=4.8.0<4.8.4
redhat Virtualization=4.0
redhat Virtualization Host=4.0
redhat Enterprise Linux Desktop=7.0
redhat Enterprise Linux Server=7.0
redhat Enterprise Linux Workstation=7.0
debian/samba
2:4.13.13+dfsg-1~deb11u62:4.13.13+dfsg-1~deb11u72:4.17.12+dfsg-0+deb12u32:4.17.12+dfsg-0+deb12u12:4.22.6+dfsg-0+deb13u12:4.23.5+dfsg-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/samba to a version that resolves this vulnerability.

    Fixed in 4.6.16
  2. Upgrade

    Upgrade redhat/samba to a version that resolves this vulnerability.

    Fixed in 4.7.9
  3. Upgrade

    Upgrade redhat/samba to a version that resolves this vulnerability.

    Fixed in 4.8.4
  4. Upgrade

    Upgrade debian/samba to a version that resolves this vulnerability.

    Fixed in 2:4.13.13+dfsg-1~deb11u6Fixed in 2:4.13.13+dfsg-1~deb11u7Fixed in 2:4.17.12+dfsg-0+deb12u3Fixed in 2:4.17.12+dfsg-0+deb12u1Fixed in 2:4.22.6+dfsg-0+deb13u1Fixed in 2:4.23.5+dfsg-1
  5. Upgrade

    Upgrade Samba to a version that resolves this vulnerability.

    Fixed in 4.6.16
  6. Upgrade

    Upgrade Samba to a version that resolves this vulnerability.

    Fixed in 4.7.9
  7. Upgrade

    Upgrade Samba to a version that resolves this vulnerability.

    Fixed in 4.8.4

Event History

Aug 22, 2018
CVE Published
via MITRE·05:00 PM
Data Sourced
via MITRE·05:00 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:29 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the vulnerability ID?

The vulnerability ID is CVE-2018-10858.

2

What is the severity of CVE-2018-10858?

The severity of CVE-2018-10858 is high with a severity value of 8.8.

3

What is the affected software?

The affected software includes Samba versions before 4.6.16, 4.7.9, and 4.8.4, as well as certain versions of Debian and Ubuntu Linux, Redhat Virtualization, and Redhat Enterprise Linux.

4

How can the vulnerability CVE-2018-10858 be exploited?

The vulnerability CVE-2018-10858 can be exploited by a malicious Samba server to cause arbitrary code execution on a Samba client.

5

Where can I find more information about CVE-2018-10858?

More information about CVE-2018-10858 can be found at the following references: - [Samba.org](https://www.samba.org/samba/security/CVE-2018-10858.html) - [Red Hat Bugzilla](https://bugzilla.redhat.com/show_bug.cgi/show_bug.cgi?id=1618697) - [Red Hat Security Advisory](https://access.redhat.com/errata/RHSA-2018:2613)

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203