CVE-2017-7494: 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…
Noroxi assessment
Priority: Now (action score 99/100)
- CISA has confirmed exploitation in the wild (Mar 30, 2023); it is known to be used in ransomware campaigns. Remediation deadline for US federal agencies: Apr 20, 2023.
- A ready-made attack module is public (Metasploit); exploiting it takes no special expertise.
- Probability of exploitation in the next 30 days: 99.4% (FIRST EPSS); higher than 99.9% of all records.
- Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
- According to CISA the attack is automatable: targets can be found by mass scanning.
- Fixed version: samba (Alpine:v3.3) 4.2.14-r3; samba (Alpine:v3.4) 4.4.14-r0; samba (Debian:12) 2:4.5.8+dfsg-2.
- Mentioned 1 time in Turkish national cyber security advisories (siberguvenlik.gov.tr).
Patch today or shut off access. Upgrade to samba (Alpine:v3.3) 4.2.14-r3; samba (Alpine:v3.4) 4.4.14-r0; samba (Debian:12) 2:4.5.8+dfsg-2 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · CISA KEV · FIRST EPSS
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
- Jun 16, 2026
- EPSS
- 99.4% · 99th percentile
- CWE
- CWE-94
Report tools
Action score
99
Patch today or shut off access.
- CVSS
- 39 / 40 · 9.8 / 10
- CISA KEV
- 30 / 30 · Listed
- EPSS
- 30 / 30 · 99.4%
CISA SSVC decision
- Exploitation
- active
- Automatable
- yes
- Technical impact
- total
Vulnrichment: CISA's decision-tree inputs.
Actively exploited in the wild
CISA added this to its Known Exploited Vulnerabilities catalog on Mar 30, 2023. That signals real attacks, not theory.
Remediation deadline for US federal agencies: Apr 20, 2023.
Known to be used in ransomware campaigns.
Get told when this record changes
- In CISA KEV: exploitation in the wild confirmed
- Weaponized exploit exists
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
Versions reported by the vendor
Affected version ranges reported by the assigning authority (redhat). Independent of NVD's CPE analysis and usually ahead of it.
Samba samba
- since 3.5.0affected
Affected versions · NVD (5)
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- debian debian linux8.0
- samba samba3.5.0 and later · before 4.4.0
- samba samba4.4.0 and later · before 4.4.14
- samba samba4.5.0 and later · before 4.5.10
- samba samba4.6.0 and later · before 4.6.4
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Alpine:v3.3 | samba | from 3.5.0 · before 4.2.14-r3 | 4.2.14-r3 |
| Alpine:v3.4 | samba | from 3.5.0 · before 4.4.14-r0 | 4.4.14-r0 |
| Debian:12 | samba | before 2:4.5.8+dfsg-2 | 2:4.5.8+dfsg-2 |
| Debian:7 | samba | before 2:3.6.6-6+deb7u13 | 2:3.6.6-6+deb7u13 |
| Debian:8 | samba | before 2:4.2.14+dfsg-0+deb8u6 | 2:4.2.14+dfsg-0+deb8u6 |
| Red Hat:enterprise_linux:6::client | libsmbclient | before 0:3.6.23-43.el6_9 | 0:3.6.23-43.el6_9 |
| Red Hat:enterprise_linux:6::client | libsmbclient-devel | before 0:3.6.23-43.el6_9 | 0:3.6.23-43.el6_9 |
| Red Hat:enterprise_linux:6::client | samba | before 0:3.6.23-43.el6_9 | 0:3.6.23-43.el6_9 |
| Red Hat:enterprise_linux:6::client | samba-client | before 0:3.6.23-43.el6_9 | 0:3.6.23-43.el6_9 |
| Red Hat:enterprise_linux:6::client | samba-common | before 0:3.6.23-43.el6_9 | 0:3.6.23-43.el6_9 |
| Red Hat:enterprise_linux:6::client | samba-debuginfo | before 0:3.6.23-43.el6_9 | 0:3.6.23-43.el6_9 |
| Red Hat:enterprise_linux:6::client | samba-doc | before 0:3.6.23-43.el6_9 | 0:3.6.23-43.el6_9 |
| Red Hat:enterprise_linux:6::client | samba-domainjoin-gui | before 0:3.6.23-43.el6_9 | 0:3.6.23-43.el6_9 |
| Red Hat:enterprise_linux:6::client | samba-glusterfs | before 0:3.6.23-43.el6_9 | 0:3.6.23-43.el6_9 |
| Red Hat:enterprise_linux:6::client | samba-swat | before 0:3.6.23-43.el6_9 | 0:3.6.23-43.el6_9 |
| Red Hat:enterprise_linux:6::client | samba-winbind | before 0:3.6.23-43.el6_9 | 0:3.6.23-43.el6_9 |
| Red Hat:enterprise_linux:6::client | samba-winbind-clients | before 0:3.6.23-43.el6_9 | 0:3.6.23-43.el6_9 |
| Red Hat:enterprise_linux:6::client | samba-winbind-devel | before 0:3.6.23-43.el6_9 | 0:3.6.23-43.el6_9 |
| Red Hat:enterprise_linux:6::client | samba-winbind-krb5-locator | before 0:3.6.23-43.el6_9 | 0:3.6.23-43.el6_9 |
| Red Hat:enterprise_linux:6::client | samba4 | before 0:4.2.10-10.el6_9 | 0:4.2.10-10.el6_9 |
| Red Hat:enterprise_linux:6::client | samba4-client | before 0:4.2.10-10.el6_9 | 0:4.2.10-10.el6_9 |
| Red Hat:enterprise_linux:6::client | samba4-common | before 0:4.2.10-10.el6_9 | 0:4.2.10-10.el6_9 |
| Red Hat:enterprise_linux:6::client | samba4-dc | before 0:4.2.10-10.el6_9 | 0:4.2.10-10.el6_9 |
| Red Hat:enterprise_linux:6::client | samba4-dc-libs | before 0:4.2.10-10.el6_9 | 0:4.2.10-10.el6_9 |
+96
Same product
samba: all recordsOther highest-scoring records for the same primary product.
- CVE-2015-0240The Netlogon server implementation in smbd in Samba 3.5.x and 3.6.x before 3.6.25, 4.0.x before 4.0.25, 4.1.x before 4.1.17, and 4.2.x…66This week
- CVE-2003-0085Buffer overflow in the SMB/CIFS packet fragment re-assembly code for SMB daemon (smbd) in Samba before 2.2.8, and Samba-TNG before 0.3.1…66This week
- CVE-2003-0201Buffer overflow in the call_trans2open function in trans2.c for Samba 2.2.x before 2.2.8a, 2.0.10 and earlier 2.0.x versions, and Samba-TNG…65This week
Published before and after this one in the same product
- ← EarlierCVE-2016-2119Jul 7, 2016 · libcli/smb/smbXcli_base.c in Samba 4.x before 4.2.14, 4.3.x before 4.3.11, and 4.4.x before 4.4.5 allows man-in-the-middle attackers to…31Monitor
- ← EarlierCVE-2016-2126May 11, 2017 · Samba version 4.0.0 up to 4.5.2 is vulnerable to privilege elevation due to incorrect handling of the PAC (Privilege Attribute Certificate)…28Monitor
- Later →CVE-2017-9461Jun 6, 2017 · smbd in Samba before 4.4.10 and 4.5.x before 4.5.6 has a denial of service vulnerability (fd_open_atomic infinite loop with high CPU usage…27Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| alpine:samba | 4.2.14-r3 · Alpine:v3.3 | Package registry (OSV) |
| debian:samba | 2:4.5.8+dfsg-2 · Debian:12 | Package registry (OSV) |
| red hat:libsmbclient | 0:3.6.23-43.el6_9 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:libsmbclient-devel | 0:3.6.23-43.el6_9 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:samba | 0:3.6.23-43.el6_9 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:samba-client | 0:3.6.23-43.el6_9 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:samba-common | 0:3.6.23-43.el6_9 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:samba-debuginfo | 0:3.6.23-43.el6_9 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:samba-doc | 0:3.6.23-43.el6_9 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:samba-domainjoin-gui | 0:3.6.23-43.el6_9 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:samba-glusterfs | 0:3.6.23-43.el6_9 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:samba-swat | 0:3.6.23-43.el6_9 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:samba-winbind | 0:3.6.23-43.el6_9 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:samba-winbind-clients | 0:3.6.23-43.el6_9 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| suse:samba | 3.6.3-93.1 · SUSE:Linux Enterprise Software Development Kit 11 SP4 | Package registry (OSV) |
| suse:samba-doc | 3.6.3-93.1 · SUSE:Linux Enterprise Point of Sale 11 SP3 | Package registry (OSV) |
Exploit status
Weaponized
A ready exploit tool or active in-the-wild use is known for this vulnerability. This should be your top priority.
Evidence
- Metasploit module ×1
- Exploit-DB entry ×2
- Proof-of-concept repository on GitHub ×24
Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.
| Source | Kind | Date |
|---|---|---|
| Proof-of-concept repository on GitHub | 24 repositories | 2017-05-25 → 2026-11-12 |
| Exploit-DB entry | remote | 2017-05-24 |
| Exploit-DB entry | remote | 2017-05-29 |
| Metasploit module | exploit/linux/samba/is_known_pipenameSamba is_known_pipename() Arbitrary Module Loadexploit | 2017-03-24 |
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
- Metasploit-68 d
- First PoC-7 d
- Published
- CISA KEV+2129 d
- TodayNov 15, 2026+3456 d
National notice (Türkiye Cybersecurity Directorate / USOM)
Official security notices citing this record; remediation advice is on the agency's page.
- TR-17-056 · May 23, 2017(Samba, Güvenlik Güncellemesi Yayınladı)
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-94 · Improper Control of Generation of Code ('Code Injection')CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (14 more)Show less
- www.securityfocus.com/bid/98636
- www.securitytracker.com/id/1038552
- access.redhat.com/errata/RHSA-2017:1270
- access.redhat.com/errata/RHSA-2017:1271
- access.redhat.com/errata/RHSA-2017:1272
- access.redhat.com/errata/RHSA-2017:1273
- access.redhat.com/errata/RHSA-2017:1390
- download.schneider-electric.com/files?p_enDocType=Technical+leaflet&p_File_Name=SEVD-2018-095-01+Security+Notification+Umotion+V1.1.pdf&p_Doc_Ref=SEVD-2018-095-01
- h20566.www2.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbns03755en_us
- h20566.www2.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbux03759en_us
- security.gentoo.org/glsa/201805-07
- security.netapp.com/advisory/ntap-20170524-0001/
- www.samba.org/samba/security/CVE-2017-7494.html
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2017-7494
Vendor advisories and official records. Exploit/PoC links are deliberately left out.