Remote code executionin Samba.
On CISAThe US cyber defence agency. Its list names every hole it has seen used in real attacks.'s exploited list since 30 Mar 2023. Ransomware groups use it too.
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.
- CISA requires US federal agencies to fix it by 20 Apr 2023.
Not confirmed by any source yet: affected versions not confirmed; fixed version not confirmed. We show these as not confirmed instead of guessing.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 24 Mar 2017Metasploit module: Samba is_known_pipename() Arbitrary Module Load.
- 5 Apr 2017CVE ID reserved by redhat.
- 25 May 2017First public proof of concept on GitHub.
- 30 May 2017Published in the CVE List.
- 30 Mar 2023Added to CISA's Known Exploited Vulnerabilities list.
- 30 Mar 2023CISA lists known use in ransomware campaigns.
- 21 Oct 2025CVE record last updated.
Attack code anyone can find
Exploit maturity: Exploited in the wild (CISA KEV). CISA assessment (SSVC): exploitation active.
10 proof of concept repositories on GitHub. No fix or workaround is known yet, so we count them but do not link to them.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Nothing on this page links to exploit code right now. To report anything else, write to the contact point in the legal notice.
Other Samba vulnerabilities
Same weakness: Code injection
- www.securityfocus.com vdb-entry, x_refsource_BID
- www.debian.org vendor-advisory, x_refsource_DEBIAN
- access.redhat.com vendor-advisory, x_refsource_REDHAT
- www.samba.org x_refsource_CONFIRM
- download.schneider-electric.com x_refsource_MISC
- access.redhat.com vendor-advisory, x_refsource_REDHAT
- www.securitytracker.com vdb-entry, x_refsource_SECTRACK
- access.redhat.com vendor-advisory, x_refsource_REDHAT
- access.redhat.com vendor-advisory, x_refsource_REDHAT
- security.gentoo.org vendor-advisory, x_refsource_GENTOO
- h20566.www2.hpe.com x_refsource_CONFIRM
- access.redhat.com vendor-advisory, x_refsource_REDHAT
- security.netapp.com x_refsource_CONFIRM
- h20566.www2.hpe.com x_refsource_CONFIRM
- www.cisa.gov government-resource
Patchminder. CVE-2017-7494: Remote code execution in Samba. https://patchminder.com/cve/cve-2017-7494/ (accessed 5 December 2026).