Skip to content
On CISA KEVCritical

CVE-2017-7494Samba Code Injection

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.

Published May 30, 2017 · Updated Oct 24, 2026 · Also known as ALPINE-CVE-2017-7494, DEBIAN-CVE-2017-7494, DLA-951-1, DSA-3860-1, ECHO-a98d-272f-29e3, SUSE-SU-2017:1391-1, SUSE-SU-2017:1392-1, SUSE-SU-2017:1393-1, SUSE-SU-2017:1396-1, UBUNTU-CVE-2017-7494, USN-3296-1

Key Facts

Patch immediately
  • CVE-2017-7494 is a critical-severity vulnerability (CVSS 9.8 v3.1) affecting Samba, Debian Linux, rootio-samba and 22 more products.
  • It is exploited in the wild, listed in CISA KEV, Industry KEV feed, CIRCL KEV, ENISA EUVD since Dec 5, 2017 and is known to be used in ransomware campaigns. A public exploit is reported by tracking sources, but no code link is listed yet.
  • EPSS estimates a 99% probability of exploitation in the next 30 days.
  • Fixed versions are available, including ctdb 4.14.6+git.182.2205d5224e3-1.1, ctdb 4.2.4-18.41.1, ctdb 4.2.4-28.14.1.
  • Brandefense priority: patch immediately, because it is listed as exploited in the wild.

Scores

CVSS v3.1

9.8

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

EPSS (30-day exploit likelihood)

99%

Higher than 99.9% of all scored CVEs

Exploit maturity

Exploited (KEV)

ATLAS score

86/100

Publication score, see How it works

Exploitation Verdict

KEV listed

Mar 30, 2023

2130 days after publication

Federal due date

Apr 20, 2023

Overdue

Ransomware use

Known

Attributed actors

None named

Exploit & Defence Guidance

Exploit maturity

Exploited (KEV)

Public exploit code

3

Proof-of-concept links

In-the-wild evidence

10

Reports of active use

Required action (CISA): Apply updates per vendor instructions.

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.

Known-Exploited Catalog Listings

CatalogAddedRemediation dueRansomware use
CISA KEVMar 30, 2023Apr 20, 2023Known
Industry KEV feedDec 5, 2017Apr 20, 2023Known
CIRCL KEVMar 30, 2023Apr 20, 2023Known
ENISA EUVDMar 30, 2023n/aNot reported

Required action: Apply updates per vendor instructions.

Affected Products

934 affected entries in total
ProductAffected versionsFixed in
SambaSamba>= since 3.5.04.4.0
Debian LinuxDebian8.0n/a
rootio-sambarootioSee advisory2:4.5.8+dfsg-2
ctdbamazonSee advisory4.4.4-13.35.amzn1
ctdb-testsamazonSee advisory4.4.4-13.35.amzn1
20 more affected products in the full CVE brief

Patched Releases

ctdb

4.14.6+git.182.2205d5224e3-1.1, 4.2.4-18.41.1, 4.2.4-28.14.1, 4.2.4-33.1, 4.4.2-11.9.1, 4.4.2-38.6.1, 4.4.4-13.35.amzn1, 4.4.4-14.el7_3

ctdb-devel

4.2.4-28.14.1, 4.2.4-33.1

ctdb-pcp-pmda

4.14.6+git.182.2205d5224e3-1.1

ctdb-tests

4.2.4-33.1, 4.4.2-11.9.1, 4.4.4-13.35.amzn1, 4.4.4-14.el7_3

ldapsmb

1.34b-93.1

libdcerpc-atsvc-devel

4.2.4-28.14.1, 4.2.4-33.1

libdcerpc-atsvc0

4.2.4-28.14.1, 4.2.4-33.1

libdcerpc-atsvc0-32bit

4.2.4-33.1

libdcerpc-binding0

4.14.6+git.182.2205d5224e3-1.1, 4.2.4-18.41.1, 4.2.4-28.14.1, 4.2.4-33.1, 4.4.2-11.9.1, 4.4.2-38.6.1

libdcerpc-binding0-32bit

4.14.6+git.182.2205d5224e3-1.1, 4.2.4-18.41.1, 4.2.4-28.14.1, 4.2.4-33.1, 4.4.2-11.9.1, 4.4.2-38.6.1

libdcerpc-devel

4.14.6+git.182.2205d5224e3-1.1, 4.2.4-28.14.1, 4.2.4-33.1, 4.4.2-11.9.1

libdcerpc-samr-devel

4.14.6+git.182.2205d5224e3-1.1, 4.2.4-28.14.1, 4.2.4-33.1, 4.4.2-11.9.1

libdcerpc-samr0

4.14.6+git.182.2205d5224e3-1.1, 4.2.4-28.14.1, 4.2.4-33.1, 4.4.2-11.9.1

libdcerpc-samr0-32bit

4.14.6+git.182.2205d5224e3-1.1, 4.2.4-33.1, 4.4.2-11.9.1

libdcerpc0

4.14.6+git.182.2205d5224e3-1.1, 4.2.4-18.41.1, 4.2.4-28.14.1, 4.2.4-33.1, 4.4.2-11.9.1, 4.4.2-38.6.1

libdcerpc0-32bit

4.14.6+git.182.2205d5224e3-1.1, 4.2.4-18.41.1, 4.2.4-28.14.1, 4.2.4-33.1, 4.4.2-11.9.1, 4.4.2-38.6.1

libgensec-devel

4.2.4-28.14.1, 4.2.4-33.1

libgensec0

4.2.4-18.41.1, 4.2.4-28.14.1, 4.2.4-33.1

libgensec0-32bit

4.2.4-18.41.1, 4.2.4-28.14.1, 4.2.4-33.1

libldb-devel

3.6.3-93.1

libldb1

3.6.3-93.1

libndr-devel

4.14.6+git.182.2205d5224e3-1.1, 4.2.4-28.14.1, 4.2.4-33.1, 4.4.2-11.9.1

libndr-krb5pac-devel

4.14.6+git.182.2205d5224e3-1.1, 4.2.4-28.14.1, 4.2.4-33.1, 4.4.2-11.9.1

libndr-krb5pac0

4.14.6+git.182.2205d5224e3-1.1, 4.2.4-18.41.1, 4.2.4-28.14.1, 4.2.4-33.1, 4.4.2-11.9.1, 4.4.2-38.6.1

libndr-krb5pac0-32bit

4.14.6+git.182.2205d5224e3-1.1, 4.2.4-18.41.1, 4.2.4-28.14.1, 4.2.4-33.1, 4.4.2-11.9.1, 4.4.2-38.6.1

Timeline

  1. Publicly disclosed

    May 30, 2017

  2. Added to Industry KEV feed

    Dec 5, 2017

  3. Added to CISA KEV

    Mar 30, 2023

  4. Added to CIRCL KEV

    Mar 30, 2023

  5. Added to ENISA EUVD

    Mar 30, 2023

  6. Last updated

    Oct 24, 2026

Weakness Type

  • CWE-94 Improper Control of Generation of Code

References

15 more references in the full CVE brief

FAQ

Common Questions.

Is CVE-2017-7494 On Your Attack Surface?

Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.

Request A Demo

More vulnerabilities

Figures as of Dec 1, 2026. Compiled by Brandefense technologies from public vulnerability catalogs; scoring as described in How it works.

To report an error, contact Brandefense.