Description
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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| The Samba Team | samba | 4.6.16, 4.7.9, 4.8.4 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | samba | 2:4.8.4+dfsg-1 | — |
| Debian 13 | samba | 2:4.8.4+dfsg-1 | — |
| Debian 12 | samba | 2:4.8.4+dfsg-1 | — |
| Debian 9 | samba | 2:4.5.12+dfsg-2+deb9u3 | DSA-4271-1 |
| Debian 8 | samba | 2:4.2.14+dfsg-0+deb8u10 | DLA-1539-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | samba | 2:4.7.6+dfsg~ubuntu-0ubuntu2.2 | USN-3738-1 |
| Ubuntu 16.04 LTS | samba | 2:4.3.11+dfsg-0ubuntu0.16.04.15 | USN-3738-1 |
| Ubuntu 14.04 LTS | samba | 2:4.3.11+dfsg-0ubuntu0.14.04.16 | USN-3738-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 7 | ctdb +26 | 4.8.3-4.el7 | RHSA-2018:3056 |
| RHEL 7 | imgbased +1 | 1.0.29-1.el7ev | RHSA-2018:3470 |
| RHEL 7 | redhat-release-virtualization-host +1 | 4.2-7.3.el7 | RHSA-2018:3470 |
| RHEL 7 | redhat-virtualization-host +1 | 4.2-20181026.0.el7_6 | RHSA-2018:3470 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Gluster Storage 3 | ctdb +22 | 4.7.5-110.el6rhs | RHSA-2018:2613, RHSA-2018:2612 |
| Red Hat Gluster Storage 3 | libtdb +3 | 1.3.15-4.el6rhs | RHSA-2018:2613, RHSA-2018:2612 |
| Red Hat Gluster Storage 3 | libtevent +2 | 0.9.35-1.el6rhs | RHSA-2018:2613, RHSA-2018:2612 |
| Red Hat Gluster Storage 3 | pytalloc +3 | 2.1.11-1.el6rhs | RHSA-2018:2613, RHSA-2018:2612 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 | samba | 4.7.8+git.86.94b6d10f7dd-4.15.1 | SUSE-SU-2018:2318-1 |
| SLES 12 SP3 | samba | 4.6.14+git.157.c2d53c2b191-3.29.1 | SUSE-SU-2018:2319-1 |
| SLES 12 SP2 | samba | 4.2.4-28.29.1 | SUSE-SU-2018:2339-2, SUSE-SU-2018:2339-1, SUSE-SU-2018:2320-2 |
| SLES 12 SP1 | samba | 4.2.4-28.29.1 | SUSE-SU-2018:2339-1 |
| SLES 12 | samba | 4.2.4-18.49.1 | SUSE-SU-2018:2321-1 |
Show 10 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 11 SP4 | samba +1 | 3.6.3-94.14.2 | SUSE-SU-2018:2329-1 |
| SLES 11 SP3 | samba +1 | 3.6.3-94.14.2 | SUSE-SU-2018:2329-1 |
| SLES for SAP 12 SP3 | samba | 4.6.14+git.157.c2d53c2b191-3.29.1 | SUSE-SU-2018:2319-1 |
| SLES for SAP 12 SP2 | samba | 4.2.4-28.29.1 | SUSE-SU-2018:2339-1, SUSE-SU-2018:2320-1 |
| SLES for SAP 12 SP1 | samba | 4.2.4-28.29.1 | SUSE-SU-2018:2339-1 |
| SLES for SAP 11 SP4 | samba +1 | 3.6.3-94.14.2 | SUSE-SU-2018:2329-1 |
| SUSE OpenStack Cloud 7 | samba | 4.2.4-28.29.1 | SUSE-SU-2018:2339-1, SUSE-SU-2018:2320-1 |
| SUSE Linux Enterprise Point of Sale 11 SP3 | samba +1 | 3.6.3-94.14.2 | SUSE-SU-2018:2329-1 |
| SUSE Enterprise Storage 5 | samba | 4.6.14+git.157.c2d53c2b191-3.29.1 | SUSE-SU-2018:2319-1 |
| SUSE Enterprise Storage 4 | samba | 4.2.4-28.29.1 | SUSE-SU-2018:2339-1, SUSE-SU-2018:2320-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | samba | 4.14.6+git.182.2205d5224e3-1.1 | openSUSE-SU-2024:11365-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | samba | 4.8.4-r0 | — |
| Alpine v3.23 | samba | 4.8.4-r0 | — |
| Alpine v3.22 | samba | 4.8.4-r0 | — |
| Alpine v3.21 | samba | 4.8.4-r0 | — |
| Alpine v3.20 | samba | 4.8.4-r0 | — |
Show 15 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | samba | 4.8.4-r0 | — |
| Alpine v3.18 | samba | 4.8.4-r0 | — |
| Alpine v3.17 | samba | 4.8.4-r0 | — |
| Alpine v3.16 | samba | 4.8.4-r0 | — |
| Alpine v3.15 | samba | 4.8.4-r0 | — |
| Alpine v3.14 | samba | 4.8.4-r0 | — |
| Alpine v3.13 | samba | 4.8.4-r0 | — |
| Alpine v3.12 | samba | 4.8.4-r0 | — |
| Alpine v3.11 | samba | 4.8.4-r0 | — |
| Alpine v3.10 | samba | 4.8.4-r0 | — |
| Alpine v3.9 | samba | 4.8.4-r0 | — |
| Alpine v3.8 | samba | 4.8.4-r0 | — |
| Alpine v3.7 | samba | 4.7.6-r1 | — |
| Alpine v3.6 | samba | 4.6.16-r0 | — |
| Alpine v3.5 | samba | 4.5.16-r1 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2 | ctdb +26 | 4.8.3-4.amzn2.0.1 | ALAS2-2018-1126 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 7 | ctdb +26 | 4.8.3-4.el7 | ELSA-2018-3056 |
Advisories 19
- WID-SEC-2026-3118 Samba: Mehrere Schwachstellen BSI CERT-Bund (WID) · Aug 31, 2026
- RHSA-2018:3470 Red Hat Security Advisory: Red Hat Virtualization security and bug fix update Red Hat Security Advisories (RHSA) · Jul 1, 2026
- RHSA-2018:3056 Red Hat Security Advisory: samba security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Jul 1, 2026
- RHSA-2018:2613 Red Hat Security Advisory: samba security, bug fix and enhancement update Red Hat Security Advisories (RHSA) · Jul 1, 2026
- RHSA-2018:2612 Red Hat Security Advisory: samba security, bug fix and enhancement update Red Hat Security Advisories (RHSA) · Jul 1, 2026
- USN-3738-1 samba vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- DSA-4271-1 samba - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-1539-1 samba - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2018:2320-1 Security update for samba SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:2339-1 Security update for samba SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:2329-1 Security update for samba SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:11365-1 ctdb-4.14.6+git.182.2205d5224e3-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:2318-1 Security update for samba SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:2321-1 Security update for samba SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:2319-1 Security update for samba SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:2320-2 Security update for samba SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:2339-2 Security update for samba SUSE / openSUSE Security Updates · Feb 4, 2026
- ALAS2-2018-1126 Moderate: samba security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Dec 19, 2018
- ELSA-2018-3056 Moderate: samba security, bug fix, and enhancement update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Nov 5, 2018
References
- DSA-4271 vendor-advisory
- RHSA-2018:2613 vendor-advisory
- https://www.samba.org/samba/security/CVE-2018-10858.html
- USN-3738-1 vendor-advisory
- RHSA-2018:2612 vendor-advisory
- 105085 vdb-entry
- 1042002 vdb-entry
- RHSA-2018:3056 vendor-advisory
- https://security.netapp.com/advisory/ntap-20180814-0001/
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10858
- RHSA-2018:3470 vendor-advisory
- https://kc.mcafee.com/corporate/index?page=content&id=SB10284
- GLSA-202003-52 vendor-advisory