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.
Advisories And Exploit References
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
| Catalog | Added | Remediation due | Ransomware use |
|---|---|---|---|
| CISA KEV | Mar 30, 2023 | Apr 20, 2023 | Known |
| Industry KEV feed | Dec 5, 2017 | Apr 20, 2023 | Known |
| CIRCL KEV | Mar 30, 2023 | Apr 20, 2023 | Known |
| ENISA EUVD | Mar 30, 2023 | n/a | Not reported |
Required action: Apply updates per vendor instructions.
Affected Products
934 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| SambaSamba | >= since 3.5.0 | 4.4.0 |
| Debian LinuxDebian | 8.0 | n/a |
| rootio-sambarootio | See advisory | 2:4.5.8+dfsg-2 |
| ctdbamazon | See advisory | 4.4.4-13.35.amzn1 |
| ctdb-testsamazon | See advisory | 4.4.4-13.35.amzn1 |
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
Publicly disclosed
May 30, 2017
Added to Industry KEV feed
Dec 5, 2017
Added to CISA KEV
Mar 30, 2023
Added to CIRCL KEV
Mar 30, 2023
Added to ENISA EUVD
Mar 30, 2023
Last updated
Oct 24, 2026
Weakness Type
- CWE-94 Improper Control of Generation of Code
References
- advisorysecurity.alpinelinux.org · CVE-2017-7494
- advisorysecurity-tracker.debian.org · CVE-2017-7494
- advisoryubuntu.com · CVE-2017-7494
- advisorycve.org · CVERecord
- advisoryRHSA-2017:1270
FAQ
Common Questions.
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: Samba versions >= since 3.5.0; Debian Linux versions 8.0; rootio-samba, among others. The full list is in the CVE brief.
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.
Yes. It was added on Mar 30, 2023 with a federal remediation due date of Apr 20, 2023.
A public exploit is reported by tracking sources, but no code link is listed yet.
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.
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