SambaCry.Remote code execution.
SambaCry is the nickname of CVE-2017-7494 in Samba. 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. CISA: Samba contains a 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.
Name used by: security press, Samba advisory
Exploited
Yes
On CISA's exploited list since 30 Mar 2023
Severity
Critical 9.8
CVSS 3.1 · CISA assessment · no login needed
Attack likelihood
Very high
EPSS 99.4% chance in 30 days · 4 Dec 2026
Fix
Not confirmed
See the vendor advisory
Timeline
From publication to today
24 Mar 2017
Metasploit module: Samba is_known_pipename() Arbitrary Module Load.
5 Apr 2017
CVE ID reserved by redhat.
25 May 2017
First public proof of concept on GitHub.
30 May 2017
Published in the CVE List.
30 Mar 2023
Added to CISA's Known Exploited Vulnerabilities list.
30 Mar 2023
CISA lists known use in ransomware campaigns.
21 Oct 2025
CVE record last updated.
What to do
Fix it
- CISA requires US federal agencies to fix it by 20 Apr 2023.
Affected products
Affected and fixed versions
Product and line
Affected
Fixed in
samba
Not confirmed
Not confirmed
Everything else
The full page for CVE-2017-7494
Severity details, every source, exploit references with their warnings, and the version check.