Skip to content
Fencer Intel
critical 9.8

CVE-2017-7494 kev+ ransomware in the critical feed json

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 2017-05-30 9 y ago modified 2026-06-17 4 mo ago also EUVD-2017-16511

cvss
9.8
version 3.1, CNA
cisa kev
Exploited
added 2023-03-30, used in ransomware
epss
99.4%
EPSS 99.4% chance of exploitation in 30 days, percentile 99.9%
public exploits
3
Metasploit, Exploit-DB

Summary

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.

Patch / fix

cisa required action Apply updates per vendor instructions.

  • samba samba 4.4.0, 4.4.14, 4.5.10, 4.6.4
  • samba Debian 14, Debian 13, Debian 12 2:4.5.8+dfsg-2

debian advisories DEBIAN-CVE-2017-7494

  • samba Ubuntu 14.04 LTS 2:4.3.11+dfsg-0ubuntu0.14.04.8
  • samba Ubuntu 16.04 LTS 2:4.3.11+dfsg-0ubuntu0.16.04.7

ubuntu advisories UBUNTU-CVE-2017-7494

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • samba storage 3.2 4.4.6-5.el6rhs
  • samba storage 3.2 4.4.6-5.el7rhgs
  • ctdb storage 3.2 4.4.6-5.el6rhs
  • ctdb storage 3.2 4.4.6-5.el7rhgs
  • samba-dc storage 3.2 4.4.6-5.el6rhs
  • samba-dc storage 3.2 4.4.6-5.el7rhgs
  • ctdb-tests storage 3.2 4.4.6-5.el6rhs
  • ctdb-tests storage 3.2 4.4.6-5.el7rhgs

red hat advisories RHSA-2017:1390RHSA-2017:1273RHSA-2017:1272RHSA-2017:1271RHSA-2017:1270

  • samba SLES for SAP 11 SP4, SLES 11 SP4, SLES 11 SP3-TERADATA +3 more 3.6.3-93.1
  • samba SLES for SAP 12 SP2, SLES for SAP 12 SP1, SLES for Raspberry Pi 12 SP2 +7 more 4.2.4-28.14.1
  • samba SLES for SAP 12 SP2, SLES for Raspberry Pi 12 SP2, SLES 12 SP2 +3 more 4.4.2-38.6.1
  • samba SLES for SAP 12, SLES 12-LTSS 4.2.4-18.41.1

suse advisories SUSE-SU-2017:1391-1SUSE-SU-2017:1392-1SUSE-SU-2017:1393-1SUSE-SU-2017:1396-1

  • samba openSUSE Tumbleweed 4.14.6+git.182.2205d5224e3-1.1

opensuse advisories openSUSE-SU-2024:11365-1

  • samba Alpine 3.3 4.2.14-r3
  • samba Alpine 3.4 4.4.14-r0

alpine advisories ALPINE-CVE-2017-7494

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • samba Arch Linux 4.5.10-1

arch linux advisories AVG-279

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2017-7494 updated cvss 7.5

samba: Loading shared modules from any path in the system leading to RCE (SambaCry)

  • Red Hat Enterprise Linux Client (v. 7) samba 4.4.4-14.el7_3, samba-libs 4.4.4-14.el7_3, libwbclient 4.4.4-14.el7_3, libsmbclient 4.4.4-14.el7_3, samba-client 4.4.4-14.el7_3, samba-common 4.4.4-14.el7_3, +7 more Red Hat Enterprise Linux Client Optional (v. 7) samba 4.4.4-14.el7_3, samba-dc 4.4.4-14.el7_3, samba-pidl 4.4.4-14.el7_3, samba-test 4.4.4-14.el7_3, samba-python 4.4.4-14.el7_3, samba-dc-libs 4.4.4-14.el7_3, +3 more Red Hat Enterprise Linux ComputeNode (v. 7) samba 4.4.4-14.el7_3, samba-libs 4.4.4-14.el7_3, libwbclient 4.4.4-14.el7_3, libsmbclient 4.4.4-14.el7_3, samba-client 4.4.4-14.el7_3, samba-common 4.4.4-14.el7_3, +6 more
    fixed: vendor fix RHSA-2017:1270
  • Red Hat Enterprise Linux ComputeNode EUS (v. 7.2) samba 4.2.10-11.el7_2, samba-libs 4.2.10-11.el7_2, libwbclient 4.2.10-11.el7_2, libsmbclient 4.2.10-11.el7_2, samba-client 4.2.10-11.el7_2, samba-common 4.2.10-11.el7_2, +6 more
    fixed: vendor fix RHSA-2017:1390
  • Red Hat Enterprise Linux ComputeNode Optional (v. 7) samba 4.4.4-14.el7_3, samba-dc 4.4.4-14.el7_3, samba-pidl 4.4.4-14.el7_3, samba-test 4.4.4-14.el7_3, samba-python 4.4.4-14.el7_3, samba-dc-libs 4.4.4-14.el7_3, +4 more
    fixed: vendor fix RHSA-2017:1270
  • Red Hat Enterprise Linux ComputeNode Optional EUS (v. 7.2) samba 4.2.10-11.el7_2, samba-dc 4.2.10-11.el7_2, samba-pidl 4.2.10-11.el7_2, samba-test 4.2.10-11.el7_2, samba-python 4.2.10-11.el7_2, samba-dc-libs 4.2.10-11.el7_2, +3 more
    fixed: vendor fix RHSA-2017:1390
  • Red Hat Enterprise Linux Desktop (v. 6) samba 3.6.23-43.el6_9, samba4 4.2.10-10.el6_9, samba4-dc 4.2.10-10.el6_9, samba4-libs 4.2.10-10.el6_9, samba4-pidl 4.2.10-10.el6_9, samba4-test 4.2.10-10.el6_9, +12 more Red Hat Enterprise Linux Desktop Optional (v. 6) samba 3.6.23-43.el6_9, samba-swat 3.6.23-43.el6_9, samba-glusterfs 3.6.23-43.el6_9, samba-domainjoin-gui 3.6.23-43.el6_9, samba-winbind-krb5-locator 3.6.23-43.el6_9 Red Hat Enterprise Linux HPC Node (v. 6) samba 3.6.23-43.el6_9, samba4 4.2.10-10.el6_9, samba4-dc 4.2.10-10.el6_9, samba4-libs 4.2.10-10.el6_9, samba4-pidl 4.2.10-10.el6_9, samba4-test 4.2.10-10.el6_9, +11 more
    fixed: vendor fix RHSA-2017:1270
  • Red Hat Enterprise Linux HPC Node EUS (v. 6.7) samba 3.6.23-32.el6_7, samba-client 3.6.23-32.el6_7, samba-common 3.6.23-32.el6_7, samba-winbind 3.6.23-32.el6_7, samba-winbind-clients 3.6.23-32.el6_7
    fixed: vendor fix RHSA-2017:1390
  • Red Hat Enterprise Linux HPC Node Optional (v. 6) samba 3.6.23-43.el6_9, samba-swat 3.6.23-43.el6_9, libsmbclient 3.6.23-43.el6_9, samba-glusterfs 3.6.23-43.el6_9, samba-domainjoin-gui 3.6.23-43.el6_9, samba-winbind-krb5-locator 3.6.23-43.el6_9
    fixed: vendor fix RHSA-2017:1270
  • Red Hat Enterprise Linux HPC Node Optional EUS (v. 6.7) samba 3.6.23-32.el6_7, samba-swat 3.6.23-32.el6_7, libsmbclient 3.6.23-32.el6_7, samba-glusterfs 3.6.23-32.el6_7, samba-domainjoin-gui 3.6.23-32.el6_7, samba-winbind-krb5-locator 3.6.23-32.el6_7
    fixed: vendor fix RHSA-2017:1390
show 9 more
  • Red Hat Enterprise Linux Server (v. 5 ELS) samba3x 3.6.23-14.el5_11, samba3x-swat 3.6.23-14.el5_11, samba3x-client 3.6.23-14.el5_11, samba3x-common 3.6.23-14.el5_11, samba3x-winbind 3.6.23-14.el5_11, samba3x-domainjoin-gui 3.6.23-14.el5_11
    fixed: vendor fix RHSA-2017:1272
  • Red Hat Enterprise Linux Server (v. 6) samba 3.6.23-43.el6_9, samba4 4.2.10-10.el6_9, samba4-dc 4.2.10-10.el6_9, samba4-libs 4.2.10-10.el6_9, samba4-pidl 4.2.10-10.el6_9, samba4-test 4.2.10-10.el6_9, +12 more Red Hat Enterprise Linux Server (v. 7) samba 4.4.4-14.el7_3, samba-libs 4.4.4-14.el7_3, libwbclient 4.4.4-14.el7_3, libsmbclient 4.4.4-14.el7_3, samba-client 4.4.4-14.el7_3, samba-common 4.4.4-14.el7_3, +8 more
    fixed: vendor fix RHSA-2017:1270
  • Red Hat Enterprise Linux Server AUS (v. 6.2) samba 3.6.23-32.el6_2, libsmbclient 3.6.23-32.el6_2, samba-client 3.6.23-32.el6_2, samba-common 3.6.23-32.el6_2, samba-winbind 3.6.23-32.el6_2, samba-winbind-clients 3.6.23-32.el6_2 Red Hat Enterprise Linux Server AUS (v. 6.4) samba 3.6.23-32.el6_4, libsmbclient 3.6.23-32.el6_4, samba-client 3.6.23-32.el6_4, samba-common 3.6.23-32.el6_4, samba-winbind 3.6.23-32.el6_4, samba-winbind-clients 3.6.23-32.el6_4 Red Hat Enterprise Linux Server AUS (v. 6.5) samba 3.6.23-32.el6_5, libsmbclient 3.6.23-32.el6_5, samba-client 3.6.23-32.el6_5, samba-common 3.6.23-32.el6_5, samba-winbind 3.6.23-32.el6_5, samba-winbind-clients 3.6.23-32.el6_5 Red Hat Enterprise Linux Server AUS (v. 6.6) samba 3.6.23-32.el6_6, libsmbclient 3.6.23-32.el6_6, samba-client 3.6.23-32.el6_6, samba-common 3.6.23-32.el6_6, samba-winbind 3.6.23-32.el6_6, samba-winbind-clients 3.6.23-32.el6_6 Red Hat Enterprise Linux Server EUS (v. 6.7) samba 3.6.23-32.el6_7, libsmbclient 3.6.23-32.el6_7, samba-client 3.6.23-32.el6_7, samba-common 3.6.23-32.el6_7, samba-winbind 3.6.23-32.el6_7, samba-winbind-clients 3.6.23-32.el6_7 Red Hat Enterprise Linux Server EUS (v. 7.2) samba 4.2.10-11.el7_2, samba-libs 4.2.10-11.el7_2, libwbclient 4.2.10-11.el7_2, libsmbclient 4.2.10-11.el7_2, samba-client 4.2.10-11.el7_2, samba-common 4.2.10-11.el7_2, +7 more
    fixed: vendor fix RHSA-2017:1390
  • Red Hat Enterprise Linux Server Optional (v. 6) samba-swat 3.6.23-43.el6_9, samba-glusterfs 3.6.23-43.el6_9, samba-domainjoin-gui 3.6.23-43.el6_9, samba-winbind-krb5-locator 3.6.23-43.el6_9 Red Hat Enterprise Linux Server Optional (v. 7) samba-dc 4.4.4-14.el7_3, samba-pidl 4.4.4-14.el7_3, samba-test 4.4.4-14.el7_3, samba-python 4.4.4-14.el7_3, samba-dc-libs 4.4.4-14.el7_3, samba-test-libs 4.4.4-14.el7_3, +2 more
    fixed: vendor fix RHSA-2017:1270
  • Red Hat Enterprise Linux Server Optional AUS (v. 6.2) samba 3.6.23-32.el6_2, samba-swat 3.6.23-32.el6_2, samba-domainjoin-gui 3.6.23-32.el6_2, samba-winbind-krb5-locator 3.6.23-32.el6_2 Red Hat Enterprise Linux Server Optional AUS (v. 6.4) samba 3.6.23-32.el6_4, samba-swat 3.6.23-32.el6_4, samba-domainjoin-gui 3.6.23-32.el6_4, samba-winbind-krb5-locator 3.6.23-32.el6_4 Red Hat Enterprise Linux Server Optional AUS (v. 6.5) samba 3.6.23-32.el6_5, samba-swat 3.6.23-32.el6_5, samba-domainjoin-gui 3.6.23-32.el6_5, samba-winbind-krb5-locator 3.6.23-32.el6_5 Red Hat Enterprise Linux Server Optional AUS (v. 6.6) samba-swat 3.6.23-32.el6_6, samba-domainjoin-gui 3.6.23-32.el6_6, samba-winbind-krb5-locator 3.6.23-32.el6_6 Red Hat Enterprise Linux Server Optional EUS (v. 6.7) samba-swat 3.6.23-32.el6_7, samba-glusterfs 3.6.23-32.el6_7, samba-domainjoin-gui 3.6.23-32.el6_7, samba-winbind-krb5-locator 3.6.23-32.el6_7 Red Hat Enterprise Linux Server Optional EUS (v. 7.2) samba-dc 4.2.10-11.el7_2, samba-pidl 4.2.10-11.el7_2, samba-test 4.2.10-11.el7_2, samba-python 4.2.10-11.el7_2, samba-dc-libs 4.2.10-11.el7_2, samba-test-libs 4.2.10-11.el7_2, +2 more
    +2 more products
    Red Hat Enterprise Linux Server Optional TUS (v. 6.5) samba 3.6.23-32.el6_5, samba-swat 3.6.23-32.el6_5, samba-domainjoin-gui 3.6.23-32.el6_5, samba-winbind-krb5-locator 3.6.23-32.el6_5 Red Hat Enterprise Linux Server Optional TUS (v. 6.6) samba-swat 3.6.23-32.el6_6, samba-domainjoin-gui 3.6.23-32.el6_6, samba-winbind-krb5-locator 3.6.23-32.el6_6
    fixed: vendor fix RHSA-2017:1390
  • Red Hat Enterprise Linux Server Resilient Storage (v. 7) ctdb 4.4.4-14.el7_3, ctdb-tests 4.4.4-14.el7_3
    fixed: vendor fix RHSA-2017:1270
  • Red Hat Enterprise Linux Server Resilient Storage EUS (v. 7.2) ctdb 4.2.10-11.el7_2, ctdb-tests 4.2.10-11.el7_2 Red Hat Enterprise Linux Server TUS (v. 6.5) samba 3.6.23-32.el6_5, libsmbclient 3.6.23-32.el6_5, samba-client 3.6.23-32.el6_5, samba-common 3.6.23-32.el6_5, samba-winbind 3.6.23-32.el6_5, samba-winbind-clients 3.6.23-32.el6_5 Red Hat Enterprise Linux Server TUS (v. 6.6) samba 3.6.23-32.el6_6, libsmbclient 3.6.23-32.el6_6, samba-client 3.6.23-32.el6_6, samba-common 3.6.23-32.el6_6, samba-winbind 3.6.23-32.el6_6, samba-winbind-clients 3.6.23-32.el6_6
    fixed: vendor fix RHSA-2017:1390
  • Red Hat Enterprise Linux Workstation (v. 6) samba 3.6.23-43.el6_9, samba4 4.2.10-10.el6_9, samba4-dc 4.2.10-10.el6_9, samba4-libs 4.2.10-10.el6_9, samba4-pidl 4.2.10-10.el6_9, samba4-test 4.2.10-10.el6_9, +12 more Red Hat Enterprise Linux Workstation (v. 7) samba 4.4.4-14.el7_3, samba-libs 4.4.4-14.el7_3, libwbclient 4.4.4-14.el7_3, libsmbclient 4.4.4-14.el7_3, samba-client 4.4.4-14.el7_3, samba-common 4.4.4-14.el7_3, +8 more Red Hat Enterprise Linux Workstation Optional (v. 6) samba-swat 3.6.23-43.el6_9, samba-glusterfs 3.6.23-43.el6_9, samba-domainjoin-gui 3.6.23-43.el6_9, samba-winbind-krb5-locator 3.6.23-43.el6_9 Red Hat Enterprise Linux Workstation Optional (v. 7) samba-dc 4.4.4-14.el7_3, samba-pidl 4.4.4-14.el7_3, samba-test 4.4.4-14.el7_3, samba-dc-libs 4.4.4-14.el7_3, samba-test-libs 4.4.4-14.el7_3, samba-vfs-glusterfs 4.4.4-14.el7_3, +1 more
    fixed: vendor fix RHSA-2017:1270
  • Red Hat Gluster 3.2 Samba on RHEL-6 ctdb 4.4.6-5.el6rhs, samba 4.4.6-5.el6rhs, samba-dc 4.4.6-5.el6rhs, ctdb-tests 4.4.6-5.el6rhs, samba-libs 4.4.6-5.el6rhs, samba-pidl 4.4.6-5.el6rhs, +17 more
    fixed: vendor fix RHSA-2017:1273

1 more fixed, 1 more not affected in the full advisory

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

cisa ICSA-17-180-02 updated cvss 10.0

Schneider Electric U.motion Builder (Update A)

  • Schneider Electric Software, LLC U.motion Builder <= 1.2.1
    affected: vendor fix, mitigation “Schneider Electric's security notice SEVD-2017-178-01 is available” schneider-electric.com

From CISA ICS and IT advisories (CSAF, https://github.com/cisagov/CSAF), a U.S. Government work; changed: reduced to products, statuses and remediations. CISA notification · csaf

Timeline

  1. First public exploit (Metasploit exploit/linux/samba/is_known_pipename)
  2. Published
  3. Added to CISA KEV
  4. CISA patch deadline
  5. CISA SSVC: exploitation active

Known exploited

Added
3 y ago
Patch by
2023-04-20 (3 y ago)
Ransomware
Known to be used in ransomware campaigns
Required action
Apply updates per vendor instructions.
Vendor, product
Samba, Samba
CISA name
Samba Remote Code Execution Vulnerability

CISA SSVC

Exploitation
Active, exploited in the wild
Automatable
yes
Technical impact
total
Assessed
21 mo ago

Exploit prediction

99.45% chance of exploitation in the next 30 days, higher than 99.9% of all scored CVEs (FIRST EPSS, 2026-11-09).

Exploits and checks

CVSS scores

assigned by version score vector
CISA ADP 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CNA 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD 2.0 10.0 AV:N/AC:L/Au:N/C:C/I:C/A:C

Affected products

  • Samba samba

Classification

Weakness
  • CWE-94 Improper Control of Generation of Code

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.