Skip to content
OpenAdvisories
Critical · 9.8 Known exploited · Ransomware Public exploit CVE-2017-7494 EUVD-2017-16511GHSA-453q-q3mp-9cq4

Samba 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 cl…

Published May 30, 2017 · Updated Oct 21, 2025 · Assigned by redhat

Description

Samba 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 client to upload a shared library to a writable share, and then cause the server to load and execute it.

Affected products

VendorProductAffectedFixed
Samba samba since 3.5.0 —

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.

ReleasePackageFixed inAdvisory
Debian 14 samba 2:4.5.8+dfsg-2 —
Debian 13 samba 2:4.5.8+dfsg-2 —
Debian 12 samba 2:4.5.8+dfsg-2 —
Debian 8 samba 2:4.2.14+dfsg-0+deb8u6 DSA-3860-1
Debian 7 samba 2:3.6.6-6+deb7u13 DLA-951-1
ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS samba 2:4.3.11+dfsg-0ubuntu0.16.04.7 USN-3296-1
Ubuntu 14.04 LTS samba 2:4.3.11+dfsg-0ubuntu0.14.04.8 USN-3296-1
ReleasePackageFixed inAdvisory
RHEL 7 ctdb +25 4.4.4-14.el7_3 RHSA-2017:1270
RHEL 6 samba +12 3.6.23-43.el6_9 RHSA-2017:1270
RHEL 6 samba4 +12 4.2.10-10.el6_9 RHSA-2017:1271
Show 11 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat Rhel Mission Critical 6 samba +11 3.6.23-32.el6_2 RHSA-2017:1390
RHEL 7.2 EUS samba +23 4.2.10-11.el7_2 RHSA-2017:1390
RHEL 7.1 EUS ctdb +2 4.2.10-11.el7_2 RHSA-2017:1390
RHEL 6.7 EUS samba +12 3.6.23-32.el6_7 RHSA-2017:1390
RHEL 6.6 TUS samba +11 3.6.23-32.el6_6 RHSA-2017:1390
RHEL 6.6 AUS samba +11 3.6.23-32.el6_6 RHSA-2017:1390
RHEL 6.5 TUS samba +11 3.6.23-32.el6_5 RHSA-2017:1390
RHEL 6.5 AUS samba +11 3.6.23-32.el6_5 RHSA-2017:1390
RHEL 6.4 AUS samba +11 3.6.23-32.el6_4 RHSA-2017:1390
RHEL 5 ELS samba3x +7 3.6.23-14.el5_11 RHSA-2017:1272
Red Hat Gluster Storage 3 ctdb +25 4.4.6-5.el6rhs RHSA-2017:1273
ReleasePackageFixed inAdvisory
SLES 12 SP2 samba 4.2.4-28.14.1 SUSE-SU-2017:1393-1, SUSE-SU-2017:1392-1
SLES 12 SP1 samba 4.2.4-28.14.1 SUSE-SU-2017:1392-1
SLES 12 samba 4.2.4-18.41.1 SUSE-SU-2017:1396-1
SLES 11 SP4 samba +1 3.6.3-93.1 SUSE-SU-2017:1391-1
SLES 11 SP3 samba +1 3.6.3-93.1 SUSE-SU-2017:1391-1
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 12 SP2 samba 4.2.4-28.14.1 SUSE-SU-2017:1393-1, SUSE-SU-2017:1392-1
SLES for SAP 12 SP1 samba 4.2.4-28.14.1 SUSE-SU-2017:1392-1
SLES for SAP 12 samba 4.2.4-18.41.1 SUSE-SU-2017:1396-1
SLES for SAP 11 SP4 samba +1 3.6.3-93.1 SUSE-SU-2017:1391-1
SUSE Linux Enterprise Point of Sale 11 SP3 samba +1 3.6.3-93.1 SUSE-SU-2017:1391-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed samba 4.14.6+git.182.2205d5224e3-1.1 openSUSE-SU-2024:11365-1
ReleasePackageFixed inAdvisory
Alpine v3.4 samba 4.4.14-r0 —
Alpine v3.3 samba 4.2.14-r3 —

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 samba No fix yet —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 7 ctdb +25 4.4.4-14.el7_3 ELSA-2017-1270
Oracle Linux 7 samba-doc +4 3.6.23-43.0.1.el6_9 ELSA-2017-1270

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Metasploit 1 module

Exploit-DB 2

GitHub 23 repositories · most starred shown

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 16

References