CVE-2017-7494
CVE-2017-7494 — Samba Remote Code Execution Vulnerability
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 Updated Sources: NVD, Samba (CNA), CISA, FIRST EPSS, GitHub, GitHub Security Advisory, Exploit-DB, Microsoft MSRC, Red Hat (VEX), SOCRadar CTI
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Confirmed
CISA KEV, listed Mar 30, 2023
EPSS
99%
top of FIRST's scoreset
CVSS base
9.8
critical · 4 sources
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
Active
none · proof-of-concept · active
Automatable
Yes
can an attacker script all four kill-chain steps
Technical impact
Total
partial · total control of the vulnerable component
Remediation
The vendor's own words where we have them.
Upgrade Samba to a fixed release. Apply vendor patches per advisory and restrict external exposure of the affected component until patched.
CISA required action
Apply updates per vendor instructions.
Federal deadline Apr 20, 2023 — passed 1,324 days ago
Red Hat VEX · CVE-2017-7494
vendor_fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 After installing this update, th…
vendor_fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 After installing this update, th…
vendor_fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 After installing this update, th…
First 24 hours
Ordered from the record's own fields — exposure first, because you cannot patch what you have not found.
- Identify exposed assets running affected vendor/product/version combinations.
- Treat as emergency remediation because CISA KEV status is present.
- Search available logs for exploit probes, errors, authentication anomalies, or suspicious child processes matching the vulnerability class.
Affected scope
Vendor, product and version as the advisories word them.
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Samba | samba | since 3.5.0 | Vulnerable |
| Microsoft | azl4 samba 2:4.23.13-3.azl4 on Azure Linux 4.0 | n/a | Vulnerable |
Attack characteristics
The CVSS vector, decoded. It describes the attack, not your exposure to it.
Availability
High
Confidentiality
High
Integrity
High
Scope
Unchanged
Attack Complexity
Low
Attack Vector
Network
Privileges Req
None
User Interaction
None
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 9.8 | CVSS 3.1 | critical | 3.9 | 5.9 | NVD, CNA |
| 10.0 | CVSS 2.0 | high | 10 | 10 | NVD |
| 9.8 | CVSS 3.1 | critical | n/a | n/a | GHSA |
| 7.5 | CVSS 3.1 | high | n/a | n/a | Red Hat (VEX) |
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What this weakness leads to
MITRE's own consequences and mitigations for the weakness class — the authority's wording, not guidance derived from the CVSS vector.
CWE-94 · Improper Control of Generation of Code ('Code Injection')
- Bypass Protection Mechanism
- Gain Privileges or Assume Identity
- Execute Unauthorized Code or Commands
- Hide Activities
Mitigation: Refactor your program so that you do not have to dynamically generate code.
Weakness & attack patterns
- CWE-94Code Injection
Attack patterns reported against this CVE. The ATT&CK techniques below are inferred from its weakness class.
- T1027.006Obfuscated Files or Information: HTML Smuggling
- T1027.009Obfuscated Files or Information: Embedded Payloads
- T1564.009Hide Artifacts: Resource Forking
CISA KEV details
CISA lists a CVE here once it has evidence of exploitation against real targets.
Listed
Mar 30, 2023
Federal deadline
Apr 20, 2023
passed 1,324 days ago
Ransomware use
Known
CISA records ransomware use only for campaigns it has confirmed, so “Unknown” means unrecorded, not ruled out. The deadline binds US federal agencies; for everyone else it is a date to argue against.
Public exploit
Capability, not use: code existing is a different claim from anyone running it.
PoC repos
395
2 of the 5 sampled are weaponized
Exploit entries
57
Exploit-DB and CTI exploit indexes
Detection
Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.
- Prioritize edge telemetry for network-reachable Samba, azl4 samba 2:4.23.13-3.azl4 on Azure Linux 4.0.
- Monitor for scanner or exploit-pattern traffic after 452 public PoC repositories were reported.
Groups associated with this CVE
Groups reported in connection with this vulnerability. A reported association, not a confirmed observation of that group using it — and not scoped to any sector or campaign.
- ip8.138.155.8855
Zonefiles · Jul 1, 2024
- ip206.168.34.5961
DShield-Firehol · Apr 24, 2024
- ip206.168.34.5261
DShield-Firehol · Mar 29, 2024
- ip206.168.34.12260
DShield-Firehol · Mar 29, 2024
- ip199.45.154.11357
GreyList · Jan 15, 2024
5 more indicators on this CVEShowing 5 of 10 · Hashes, addresses and domains from a live threat exchangeUnlock freeTimeline
What happened to this CVE, newest first — with the readings a source repeats on a schedule counted underneath rather than listed.
- 2026
Cve is exploited YonLiud/CVE-2017-7494
Aug 20, 2026 · SOCRadar CTI
Cve is exploited Sadz1d/IS
Aug 20, 2026 · SOCRadar CTI
Added · CVSS 3.1 9.8 (AV:N)
Jun 17, 2026 · NVD
- 2025
Bulletin released on Mitre.
Jul 28, 2025 · SOCRadar CTI
Bulletin released on NIST.
Jan 29, 2025 · SOCRadar CTI
- 2024
CVE is exploited. "AK-blank/pocSearch"
Feb 25, 2024 · SOCRadar CTI
- 2023
Added to CISA KEV catalog
Mar 30, 2023 · CISA
- 2022
Added · GHSA-453q-q3mp-9cq4 published (critical)
May 14, 2022 · GitHub Security Advisory
- 2017
Initial · CVE published
May 30, 2017 · NVD
Added · Verified remote entry: Samba 3.5.0 < 4.4.14/4.5.10/4.6.4 - 'SambaCry' 'is_known_pipename()' Arbitrary Module Loa…
May 29, 2017 · Exploit-DB
Added · Verified remote entry: Samba 3.5.0 - Remote Code Execution (RCE)
May 24, 2017 · Exploit-DB
Source activity
Readings a source repeats on a schedule, counted rather than listed.
- 10×Github ReposFeb 28, 2024 – Oct 19, 2026 · SOCRadar CTI
- 10×SvrsNov 24, 2025 – Jan 1, 2026 · SOCRadar CTI
- 2×CVE modified by NIST: CVSS v2 metrics updated.Jan 28, 2025 – Feb 7, 2025 · SOCRadar CTI
- 1×CVE appeared in the Cve Trends.Nov 25, 2025 · SOCRadar CTI
- 1×Tweets · 1 time tweeted.Nov 11, 2025 · SOCRadar CTI
References
26 on the record
- www.debian.org/security/2017/dsa-3860
Third Party Advisory, Mitre, NIST
- www.securityfocus.com/bid/98636
Third Party Advisory, VDB Entry, NIST
- www.securitytracker.com/id/1038552
Third Party Advisory, VDB Entry, NIST
- access.redhat.com/errata/RHSA-2017:1270
Third Party Advisory, Mitre, NIST
- access.redhat.com/errata/RHSA-2017:1271
Third Party Advisory, Mitre, NIST
- access.redhat.com/errata/RHSA-2017:1272
Third Party Advisory, Mitre, NIST
- access.redhat.com/errata/RHSA-2017:1273
Third Party Advisory, Mitre, NIST
- access.redhat.com/errata/RHSA-2017:1390
Third Party Advisory, Mitre, NIST
Coverage
1 story from the feeds we poll
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2026-125628 Samba: samba4: extended response type confusion in ldapsrv_do_call crashes the ad dc ldap workerCVSS 7.5
- CVE-2026-125634 Samba: samba: null dereference in ad dc validated dns host name and spn checksCVSS 6.5
- CVE-2025-32432 Craft CMS Allows Remote Code ExecutionCVSS 10.0 · CISA KEV
- CVE-2024-4040 CrushFTP VFS Sandbox Escape VulnerabilityCVSS 10.0 · CISA KEV
- CVE-2022-24816 Improper Control of Generation of Code in jai-extCVSS 10.0 · CISA KEV
- CVE-2022-22947 VMware Spring Cloud Gateway Code Injection VulnerabilityCVSS 10.0 · CISA KEV
Elsewhere on this site
- Sambaevery CVE for this vendor
- Microsoftevery CVE for this vendor
- sambaevery page on this product
- azl4 samba 2:4.23.13-3.azl4 on Azure Linux 4.0every page on this product
- March 2023what else CISA listed
- Remote Code Execsame class
- CWE-94other pages naming this weakness
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- Only the 5 indicator(s) reported for this CVE are available; no packet-level or host-forensic artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.
Answered from this record1
What should defenders know first?
CVE-2017-7494 is Samba Remote Code Execution Vulnerability, a critical vulnerability affecting Samba, azl4 samba 2:4.23.13-3.azl4 on Azure Linux 4.0 from Samba, Microsoft. The current evidence lists it in CISA KEV, and the exploit status is: Yes: CISA KEV signal present. Public exploit evidence is: 452 public PoC repositories reported; 2 marked weaponized in current dataset. The affected-version evidence is listed in the key facts and affected products tables. Defenders should first verify whether exposed or business-critical assets run those versions, then apply vendor patches or mitigations, restrict reachable attack surface, and preserve logs for detection review. CVSS 9.8 describes technical severity, while EPSS 99% helps estimate near-term exploit likelihood; neither replaces asset context. Unknown fields should remain explicit in tickets, and threat actor, IOC, victimology, or payload claims should not be added unless a cited source supports them. Monitor CISA KEV, vendor advisories, NVD changes, public PoC repositories, and internal telemetry for update triggers.