Home / Samba / samba / CVE-2017-7494
CVE-2017-7494: is it exploited, and which versions of samba are affected and fixed?
CVE-2017-7494 is a code injection (remote code execution) vulnerability in samba, and it is exploited in the wild: CISA added it to its Known Exploited Vulnerabilities catalog on March 30, 2023, with a federal due date of April 20, 2023. Affected: samba since 3.5.0 (CVE record by redhat). Fixed in 4.4.0, 4.4.14, 4.5.10 and 4.6.4 (NVD). Severity: Critical (9.8, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 06:38 UTC, CVE record November 19, 2026, 07:18 UTC and NVD November 19, 2026, 08:41 UTC.
What is 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 client to upload a shared library to a writable share, and then cause the server to load and execute it.
From the CVE record by redhat, last updated October 21, 2025, 23:55 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Samba | samba | since 3.5.0 |
As the CVE record by redhat states it, last updated October 21, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| samba | samba | from 3.5.0 before 4.4.0 | application |
| samba | samba | from 4.4.0 before 4.4.14 | application |
| samba | samba | from 4.5.0 before 4.5.10 | application |
| samba | samba | from 4.6.0 before 4.6.4 | application |
| debian | debian linux | 8.0 | operating system |
NVD analysis (status Analyzed), last modified June 17, 2026, 01:24 UTC.
How severe is CVE-2017-7494?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | CISA-ADP |
| Critical 9.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD |
| High 10.0 | CVSS 2.0 | AV:N/AC:L/Au:N/C:C/I:C/A:C | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2017-7494 exploited in the wild?
- CISA KEV
- Listed as Samba Remote Code Execution Vulnerability, added March 30, 2023; federal agencies must act by April 20, 2023
- Required action
- Apply updates per vendor instructions.
- Ransomware use
- Known
- CISA's summary
- 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 SSVC
- Exploitation: active; automatable: yes; technical impact: total (CISA ADP, February 7, 2025)
- EPSS
- 99.4% probability of exploitation activity in the next 30 days, percentile 99.9 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-94 Improper Control of Generation of Code
Where are the vendor advisories and references?
- 98636 vdb-entry, x_refsource_BID
- DSA-3860 vendor-advisory, x_refsource_DEBIAN
- 42084 exploit, x_refsource_EXPLOIT-DB
- RHSA-2017:1270 vendor-advisory, x_refsource_REDHAT
- https://www.samba.org/samba/security/CVE-2017-7494.html x_refsource_CONFIRM
- https://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 x_refsource_MISC
- RHSA-2017:1390 vendor-advisory, x_refsource_REDHAT
- 1038552 vdb-entry, x_refsource_SECTRACK
- RHSA-2017:1273 vendor-advisory, x_refsource_REDHAT
- RHSA-2017:1271 vendor-advisory, x_refsource_REDHAT
- GLSA-201805-07 vendor-advisory, x_refsource_GENTOO
- https://h20566.www2.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbux03759en_us x_refsource_CONFIRM
- RHSA-2017:1272 vendor-advisory, x_refsource_REDHAT
- https://security.netapp.com/advisory/ntap-20170524-0001/ x_refsource_CONFIRM
- https://h20566.www2.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbns03755en_us x_refsource_CONFIRM
- 42060 exploit, x_refsource_EXPLOIT-DB
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2017-7494 government-resource
When was it published, and where is the official record?
- Reserved
- April 5, 2017
- Published
- May 30, 2017, 18:00 UTC
- CVE record updated
- October 21, 2025, 23:55 UTC by redhat
- NVD
- Analyzed, last modified June 17, 2026, 01:24 UTC
- Last checked
- CVE list November 19, 2026, 07:18 UTC; NVD November 19, 2026, 08:41 UTC; KEV December 3, 2026, 06:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD · CISA KEV
What other CVEs affect samba?
- Dec 1, 2026CVE-2026-135111 Samba: resource not released after use
- Nov 30, 2026CVE-2026-125628 Samba: type confusion
- Nov 27, 2026CVE-2026-125633 Samba: type confusion
- Nov 27, 2026CVE-2026-125627 Samba: NULL pointer dereference (crash)
- Nov 26, 2026CVE-2026-135107 Samba: memory Allocation with Excessive Size Value
- Nov 25, 2026CVE-2026-125634 Samba: NULL pointer dereference (crash)
- Oct 28, 2026CVE-2026-109411 Samba: improper Handling of Case Sensitivity
- Nov 7, 2023CVE-2023-4154 samba: out-of-bounds write (memory corruption)
Questions about CVE-2017-7494
Is CVE-2017-7494 exploited in the wild?
Yes. CISA added CVE-2017-7494 to its Known Exploited Vulnerabilities catalog on March 30, 2023 and set federal agencies a due date of April 20, 2023. CISA lists it as used in ransomware campaigns. FIRST's EPSS gives it a 99.4% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of samba are affected by CVE-2017-7494?
samba since 3.5.0, per the CVE record by redhat. The tables above give every range the sources list.
Which version fixes CVE-2017-7494?
4.4.0, 4.4.14, 4.5.10 and 4.6.4, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2017-7494?
Critical (9.8, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2017-7494?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov; CISA's entry is in its Known Exploited Vulnerabilities catalog. For a fix, the vendor's own advisory is the one to follow.