CVE-2017-7494 Samba Remote Code Execution Vulnerability
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.
From the CISA KEV catalogue version 2026.11.06, with Cybergen analysis. Updated 6 Nov 2026.
Should You Worry?
- CISA confirmed exploitation in the wild and added it to the Known Exploited Vulnerabilities catalogue on 30 Mar 2023.
- CISA lists it as known to be used in ransomware campaigns.
- Rated Critical severity (CVSS 9.8, scored by CISA).
- It has been in the catalogue for 1,317 days. Systems still unpatched now have almost certainly been scanned for it.
What It Is
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 Versions
| Product | Versions |
|---|---|
| Samba samba | since 3.5.0 |
From the public CVE record, as supplied by the vendor. Always confirm against the vendor advisory.
What To Do Now
- 1
Find it
Search your asset inventory and external attack surface for Samba. Include cloud images, appliances and anything a supplier runs for you.
Attack Surface Management - 2
- 3
Hunt for compromise
If an affected system was reachable before you patched, assume it may have been hit. Check logs, new accounts, web shells and outbound connections from the date of exposure.
Incident Response - 4
Prove it is fixed
Rescan or test the system after patching. Upgrades that fail silently and forgotten secondary instances are common.
Penetration Testing
The Compliance Clock
General guidance, not legal advice. Your obligations depend on your sector, scope and jurisdiction.
More Exploited Samba Flaws
Not Sure If You Are Exposed?
Our attack surface and vulnerability teams can check your internet-facing estate for CVE-2017-7494 and every other exploited flaw on the list.
Sources
- CISA Known Exploited Vulnerabilities catalogue
- NVD: CVE-2017-7494
- CVE record: CVE-2017-7494
- FIRST EPSS
- samba.org/samba/security/CVE-2017-7494.html
- securityfocus.com/bid/98636
- debian.org/security/2017/dsa-3860
- exploit-db.com/exploits/42084/
- access.redhat.com/errata/RHSA-2017:1270
- download.schneider-electric.com/files?p_enDocType=Technical+leaflet&p_File_Name=SEVD-2018-095-01+Sec
- access.redhat.com/errata/RHSA-2017:1390
- securitytracker.com/id/1038552
