10

CVE-2017-7494: Samba Remote Code Execution Vulnerability

KEVRansomware
Analyzed
AliasesALPINE-CVE-2017-7494SUSE-SU-2017:1391-1SUSE-SU-2017:1392-1
Published 30-05-2017Last modified 21-10-2025

Vulnerability summary

CVE-2017-7494 is a high (CVSS 10.0) Improper Control of Generation of Code vulnerability in Samba. It is known to be exploited: CISA lists it, first on 30-03-2023. It has been used in ransomware campaigns. EPSS estimates a 99.45% chance of exploitation in the next 30 days, higher than 99.9% of scored vulnerabilities. 3 public exploits are recorded.

Priority
Act nowransomware

Known ransomware use (CISA, 30-03-2023)

Source freshness unavailable

How is this decided?
CVSS score
10.0/10
010
High · v2.0 (NVD)
EPSS score
99.45%
0%100%
Critical · 0.00 pp in 30 days
KEVExploited in the wildCritical · listed in 1 catalog
RansomwareKnown useFlagged by CISA
Public exploits3exploit-database, metasploit

Advisory lineage

Upstream 0 · Downstream 2 · Related 1

Timeline

  1. 30-05-2017
    PublishedVulnerability first disclosed.
  2. 30-03-2023
    Added to CISA KEVExploitedSamba Remote Code Execution Vulnerability
  3. 20-04-2023
    CISA remediation dueDeadline passedApply updates per vendor instructions.
  4. 21-10-2025
    Last modifiedVulnerability information updated.

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.

CVSS metrics

8 scores · 6 sources · 3 versions

EPSS trend

Probability

99.45%

Chance of exploitation in the next 30 days

Percentile

100%

Versus all other CVEs

30-day change

No change 0.00 pp

From 99.45% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEVListed
Added
30-03-2023
Federal due date
20-04-2023
Ransomware
ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

CISA required action

Apply updates per vendor instructions. www.samba.org/samba/security/CVE-2017-7494.html nvd.nist.gov/vuln/detail/CVE-2017-7494

Public exploits

3 found
  • exploit-databaseremotelinuxVerified

    Samba 3.5.0 - Remote Code Execution

    Maturity: weaponized

  • exploit-databaseremotelinuxVerified

    Samba 3.5.0 < 4.4.14/4.5.10/4.6.4 - 'is_known_pipename()' Arbitrary Module Load (Metasploit)

    Maturity: weaponized

  • MetasploitMetasploitremoteVerified

    Samba is_known_pipename() Arbitrary Module Load

    exploit/linux/samba/is_known_pipename

    Maturity: weaponized

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Redhat57 products
  • ctdb< 0:4.4.4-14.el7_3 | < 0:4.4.6-5.el6rhs | < 0:4.4.6-5.el7rhgs | < 0:4.2.10-11.el7_2
  • ctdb-devel< 0:4.2.10-11.el7_2
  • ctdb-tests< 0:4.4.4-14.el7_3 | < 0:4.4.6-5.el6rhs | < 0:4.4.6-5.el7rhgs | < 0:4.2.10-11.el7_2
  • libsmbclient< 0:3.6.23-43.el6_9 | < 0:4.4.4-14.el7_3 | < 0:4.4.6-5.el6rhs | < 0:4.4.6-5.el7rhgs | < 0:3.6.23-32.el6_7 | < 0:3.6.23-32.el6_2 | < 0:3.6.23-32.el6_4 | < 0:3.6.23-32.el6_5 | < 0:3.6.23-32.el6_6 | < 0:4.2.10-11.el7_2
  • libsmbclient-devel< 0:3.6.23-43.el6_9 | < 0:4.4.4-14.el7_3 | < 0:4.4.6-5.el6rhs | < 0:4.4.6-5.el7rhgs | < 0:3.6.23-32.el6_7 | < 0:3.6.23-32.el6_2 | < 0:3.6.23-32.el6_4 | < 0:3.6.23-32.el6_5 | < 0:3.6.23-32.el6_6 | < 0:4.2.10-11.el7_2
Suse24 products
  • samba-doc&distro=SUSE Linux Enterprise Point of Sale 11 SP3< 3.6.3-93.1
  • samba-doc&distro=SUSE Linux Enterprise Server 11 SP3-LTSS< 3.6.3-93.1
  • samba-doc&distro=SUSE Linux Enterprise Server 11 SP3-TERADATA< 3.6.3-93.1
  • samba-doc&distro=SUSE Linux Enterprise Server 11 SP4< 3.6.3-93.1
  • samba-doc&distro=SUSE Linux Enterprise Server for SAP Applications 11 SP4< 3.6.3-93.1
Debian2 products
  • samba< 2:4.5.8+dfsg-2 | < 2:4.2.14+dfsg-0+deb8u6 | < 2:3.6.6-6+deb7u13
  • debian_linuxEOL8.0
Alpine1 product
  • samba≥ 3.5.0, < 4.2.14-r3 | ≥ 3.5.0, < 4.4.14-r0
Samba1 product
  • sambasince 3.5.0 | ≥ 3.5.0, < 4.4.0 | ≥ 4.4.0, < 4.4.14 | ≥ 4.5.0, < 4.5.10 | ≥ 4.6.0, < 4.6.4
Ubuntu1 product
  • samba< 2:4.3.11+dfsg-0ubuntu0.14.04.8 | < 2:4.3.11+dfsg-0ubuntu0.16.04.7

6 vendors · 86 products

References

40 links
Show all 40 references