CVE-2017-7494
published critical CVSS 3.1 · 9.8samba: Loading shared modules from any path in the system leading to RCE (SambaCry)
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Samba | — | sambasince 3.5.0 | Affected | Not stated | redhat |
| Alpine Linux | v3.3 | samba | Fixed | 4.2.14-r3 | Package fix record |
| Debian | jessie | samba | Advisory build | 2:4.2.14+dfsg-0+deb8u6 | DSA-3860-1 |
| Oracle Linux | 6 | sambai686 | Advisory build | 0:3.6.23-43.0.1.el6_9 | ELSA-2017-1270 |
| Red Hat Enterprise Linux | RHEL-6 | sambai686 | Advisory build | 3.6.23-32.el6_7 | RHSA-2017:1390 |
| SUSE / openSUSE | SLE-11-SP3 | sambai586 | Advisory build | 3.6.3-93.1 | SUSE-SU-2017:1391-1 |
| Ubuntu | trusty | samba | Advisory build | 2:4.3.11+dfsg-0ubuntu0.14.04.8 | USN-3296-1 |
| Alpine Linux | v3.4 | samba | Fixed | 4.4.14-r0 | Package fix record |
Show 93 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Debian | wheezy | samba | Advisory build | 2:3.6.6-6+deb7u13 | DLA-951-1 |
| Oracle Linux | 6 | sambasparc64 | Advisory build | 0:3.6.23-43.0.1.el6_9 | ELSA-2017-1270 |
| Oracle Linux | 6 | sambax86_64 | Advisory build | 0:3.6.23-43.0.1.el6_9 | ELSA-2017-1270 |
| Oracle Linux | 7 | sambax86_64 | Advisory build | 0:4.4.4-14.el7_3 | ELSA-2017-1270 |
| Red Hat Enterprise Linux | RHEL-6 | sambai686 | Advisory build | 3.6.23-43.el6_9 | RHSA-2017:1270 |
| Red Hat Enterprise Linux | RHEL-6 | sambappc64 | Advisory build | 3.6.23-32.el6_7 | RHSA-2017:1390 |
| Red Hat Enterprise Linux | RHEL-6 | sambappc64 | Advisory build | 3.6.23-43.el6_9 | RHSA-2017:1270 |
| Red Hat Enterprise Linux | RHEL-6 | sambas390x | Advisory build | 3.6.23-32.el6_7 | RHSA-2017:1390 |
| Red Hat Enterprise Linux | RHEL-6 | sambas390x | Advisory build | 3.6.23-43.el6_9 | RHSA-2017:1270 |
| Red Hat Enterprise Linux | RHEL-6 | sambasrc | Advisory build | 3.6.23-32.el6_2 | RHSA-2017:1390 |
| Red Hat Enterprise Linux | RHEL-6 | sambasrc | Advisory build | 3.6.23-32.el6_4 | RHSA-2017:1390 |
| Red Hat Enterprise Linux | RHEL-6 | sambasrc | Advisory build | 3.6.23-32.el6_5 | RHSA-2017:1390 |
| Red Hat Enterprise Linux | RHEL-6 | sambasrc | Advisory build | 3.6.23-32.el6_6 | RHSA-2017:1390 |
| Red Hat Enterprise Linux | RHEL-6 | sambasrc | Advisory build | 3.6.23-32.el6_7 | RHSA-2017:1390 |
| Red Hat Enterprise Linux | RHEL-6 | sambasrc | Advisory build | 3.6.23-43.el6_9 | RHSA-2017:1270 |
| Red Hat Enterprise Linux | RHEL-6 | sambax86_64 | Advisory build | 3.6.23-32.el6_2 | RHSA-2017:1390 |
| Red Hat Enterprise Linux | RHEL-6 | sambax86_64 | Advisory build | 3.6.23-32.el6_4 | RHSA-2017:1390 |
| Red Hat Enterprise Linux | RHEL-6 | sambax86_64 | Advisory build | 3.6.23-32.el6_5 | RHSA-2017:1390 |
| Red Hat Enterprise Linux | RHEL-6 | sambax86_64 | Advisory build | 3.6.23-32.el6_6 | RHSA-2017:1390 |
| Red Hat Enterprise Linux | RHEL-6 | sambax86_64 | Advisory build | 3.6.23-32.el6_7 | RHSA-2017:1390 |
| Red Hat Enterprise Linux | RHEL-6 | sambax86_64 | Advisory build | 3.6.23-43.el6_9 | RHSA-2017:1270 |
| Red Hat Enterprise Linux | RHEL-7 | sambaaarch64 | Advisory build | 4.4.4-14.el7_3 | RHSA-2017:1270 |
| Red Hat Enterprise Linux | RHEL-7 | sambappc64 | Advisory build | 4.2.10-11.el7_2 | RHSA-2017:1390 |
| Red Hat Enterprise Linux | RHEL-7 | sambappc64 | Advisory build | 4.4.4-14.el7_3 | RHSA-2017:1270 |
| Red Hat Enterprise Linux | RHEL-7 | sambappc64le | Advisory build | 4.2.10-11.el7_2 | RHSA-2017:1390 |
| Red Hat Enterprise Linux | RHEL-7 | sambappc64le | Advisory build | 4.4.4-14.el7_3 | RHSA-2017:1270 |
| Red Hat Enterprise Linux | RHEL-7 | sambas390x | Advisory build | 4.2.10-11.el7_2 | RHSA-2017:1390 |
| Red Hat Enterprise Linux | RHEL-7 | sambas390x | Advisory build | 4.4.4-14.el7_3 | RHSA-2017:1270 |
| Red Hat Enterprise Linux | RHEL-7 | sambasrc | Advisory build | 4.2.10-11.el7_2 | RHSA-2017:1390 |
| Red Hat Enterprise Linux | RHEL-7 | sambasrc | Advisory build | 4.4.4-14.el7_3 | RHSA-2017:1270 |
| Red Hat Enterprise Linux | RHEL-7 | sambax86_64 | Advisory build | 4.2.10-11.el7_2 | RHSA-2017:1390 |
| Red Hat Enterprise Linux | RHEL-7 | sambax86_64 | Advisory build | 4.4.4-14.el7_3 | RHSA-2017:1270 |
| SUSE / openSUSE | SLE-11-SP3 | sambas390x | Advisory build | 3.6.3-93.1 | SUSE-SU-2017:1391-1 |
| SUSE / openSUSE | SLE-11-SP3 | sambax86_64 | Advisory build | 3.6.3-93.1 | SUSE-SU-2017:1391-1 |
| SUSE / openSUSE | SLE-12 | sambappc64le | Advisory build | 4.2.4-18.41.1 | SUSE-SU-2017:1396-1 |
| SUSE / openSUSE | SLE-12 | sambas390x | Advisory build | 4.2.4-18.41.1 | SUSE-SU-2017:1396-1 |
| SUSE / openSUSE | SLE-12 | sambax86_64 | Advisory build | 4.2.4-18.41.1 | SUSE-SU-2017:1396-1 |
| SUSE / openSUSE | SLE-12-SP1 | sambappc64le | Advisory build | 4.2.4-28.14.1 | SUSE-SU-2017:1392-1 |
| SUSE / openSUSE | SLE-12-SP1 | sambas390x | Advisory build | 4.2.4-28.14.1 | SUSE-SU-2017:1392-1 |
| SUSE / openSUSE | SLE-12-SP1 | sambax86_64 | Advisory build | 4.2.4-28.14.1 | SUSE-SU-2017:1392-1 |
| SUSE / openSUSE | SLE-12-SP2 | sambaaarch64 | Advisory build | 4.4.2-38.6.1 | SUSE-SU-2017:1393-1 |
| SUSE / openSUSE | SLE-12-SP2 | sambappc64le | Advisory build | 4.4.2-38.6.1 | SUSE-SU-2017:1393-1 |
| SUSE / openSUSE | SLE-12-SP2 | sambas390x | Advisory build | 4.4.2-38.6.1 | SUSE-SU-2017:1393-1 |
| SUSE / openSUSE | SLE-12-SP2 | sambax86_64 | Advisory build | 4.4.2-38.6.1 | SUSE-SU-2017:1393-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | sambaaarch64 | Advisory build | 4.14.6+git.182.2205d5224e3-1.1 | OPENSUSE-SU-2024:11365-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | sambappc64le | Advisory build | 4.14.6+git.182.2205d5224e3-1.1 | OPENSUSE-SU-2024:11365-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | sambas390x | Advisory build | 4.14.6+git.182.2205d5224e3-1.1 | OPENSUSE-SU-2024:11365-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | sambax86_64 | Advisory build | 4.14.6+git.182.2205d5224e3-1.1 | OPENSUSE-SU-2024:11365-1 |
| Ubuntu | xenial | samba | Advisory build | 2:4.3.11+dfsg-0ubuntu0.16.04.7 | USN-3296-1 |
| Oracle Linux | 6 | libsmbclienti686 | Advisory build | 0:3.6.23-43.0.1.el6_9 | ELSA-2017-1270 |
| Oracle Linux | 6 | libsmbclientsparc64 | Advisory build | 0:3.6.23-43.0.1.el6_9 | ELSA-2017-1270 |
| Oracle Linux | 6 | libsmbclientx86_64 | Advisory build | 0:3.6.23-43.0.1.el6_9 | ELSA-2017-1270 |
| Oracle Linux | 6 | libsmbclient-develi686 | Advisory build | 0:3.6.23-43.0.1.el6_9 | ELSA-2017-1270 |
| Oracle Linux | 6 | libsmbclient-develsparc64 | Advisory build | 0:3.6.23-43.0.1.el6_9 | ELSA-2017-1270 |
| Oracle Linux | 6 | libsmbclient-develx86_64 | Advisory build | 0:3.6.23-43.0.1.el6_9 | ELSA-2017-1270 |
| Oracle Linux | 6 | samba-clienti686 | Advisory build | 0:3.6.23-43.0.1.el6_9 | ELSA-2017-1270 |
| Oracle Linux | 6 | samba-clientsparc64 | Advisory build | 0:3.6.23-43.0.1.el6_9 | ELSA-2017-1270 |
| Oracle Linux | 6 | samba-clientx86_64 | Advisory build | 0:3.6.23-43.0.1.el6_9 | ELSA-2017-1270 |
| Oracle Linux | 6 | samba-commoni686 | Advisory build | 0:3.6.23-43.0.1.el6_9 | ELSA-2017-1270 |
| Oracle Linux | 6 | samba-commonsparc64 | Advisory build | 0:3.6.23-43.0.1.el6_9 | ELSA-2017-1270 |
| Oracle Linux | 6 | samba-commonx86_64 | Advisory build | 0:3.6.23-43.0.1.el6_9 | ELSA-2017-1270 |
| Oracle Linux | 6 | samba-doci686 | Advisory build | 0:3.6.23-43.0.1.el6_9 | ELSA-2017-1270 |
| Oracle Linux | 6 | samba-docsparc64 | Advisory build | 0:3.6.23-43.0.1.el6_9 | ELSA-2017-1270 |
| Oracle Linux | 6 | samba-docx86_64 | Advisory build | 0:3.6.23-43.0.1.el6_9 | ELSA-2017-1270 |
| Oracle Linux | 6 | samba-domainjoin-guii686 | Advisory build | 0:3.6.23-43.0.1.el6_9 | ELSA-2017-1270 |
| Oracle Linux | 6 | samba-domainjoin-guisparc64 | Advisory build | 0:3.6.23-43.0.1.el6_9 | ELSA-2017-1270 |
| Oracle Linux | 6 | samba-domainjoin-guix86_64 | Advisory build | 0:3.6.23-43.0.1.el6_9 | ELSA-2017-1270 |
| Oracle Linux | 6 | samba-glusterfsx86_64 | Advisory build | 0:3.6.23-43.0.1.el6_9 | ELSA-2017-1270 |
| Oracle Linux | 6 | samba-swati686 | Advisory build | 0:3.6.23-43.0.1.el6_9 | ELSA-2017-1270 |
| Oracle Linux | 6 | samba-swatsparc64 | Advisory build | 0:3.6.23-43.0.1.el6_9 | ELSA-2017-1270 |
| Oracle Linux | 6 | samba-swatx86_64 | Advisory build | 0:3.6.23-43.0.1.el6_9 | ELSA-2017-1270 |
| Oracle Linux | 6 | samba-winbindi686 | Advisory build | 0:3.6.23-43.0.1.el6_9 | ELSA-2017-1270 |
| Oracle Linux | 6 | samba-winbindsparc64 | Advisory build | 0:3.6.23-43.0.1.el6_9 | ELSA-2017-1270 |
| Oracle Linux | 6 | samba-winbindx86_64 | Advisory build | 0:3.6.23-43.0.1.el6_9 | ELSA-2017-1270 |
| Oracle Linux | 6 | samba-winbind-clientsi686 | Advisory build | 0:3.6.23-43.0.1.el6_9 | ELSA-2017-1270 |
| Oracle Linux | 6 | samba-winbind-clientssparc64 | Advisory build | 0:3.6.23-43.0.1.el6_9 | ELSA-2017-1270 |
| Oracle Linux | 6 | samba-winbind-clientsx86_64 | Advisory build | 0:3.6.23-43.0.1.el6_9 | ELSA-2017-1270 |
| Oracle Linux | 6 | samba-winbind-develi686 | Advisory build | 0:3.6.23-43.0.1.el6_9 | ELSA-2017-1270 |
| Oracle Linux | 6 | samba-winbind-develsparc64 | Advisory build | 0:3.6.23-43.0.1.el6_9 | ELSA-2017-1270 |
| Oracle Linux | 6 | samba-winbind-develx86_64 | Advisory build | 0:3.6.23-43.0.1.el6_9 | ELSA-2017-1270 |
| Oracle Linux | 6 | samba-winbind-krb5-locatori686 | Advisory build | 0:3.6.23-43.0.1.el6_9 | ELSA-2017-1270 |
| Oracle Linux | 6 | samba-winbind-krb5-locatorsparc64 | Advisory build | 0:3.6.23-43.0.1.el6_9 | ELSA-2017-1270 |
| Oracle Linux | 6 | samba-winbind-krb5-locatorx86_64 | Advisory build | 0:3.6.23-43.0.1.el6_9 | ELSA-2017-1270 |
| Oracle Linux | 6 | samba4i686 | Advisory build | 0:4.2.10-10.el6_9 | ELSA-2017-1271 |
| Oracle Linux | 6 | samba4sparc64 | Advisory build | 0:4.2.10-10.el6_9 | ELSA-2017-1271 |
| Oracle Linux | 6 | samba4x86_64 | Advisory build | 0:4.2.10-10.el6_9 | ELSA-2017-1271 |
| Oracle Linux | 6 | samba4-clienti686 | Advisory build | 0:4.2.10-10.el6_9 | ELSA-2017-1271 |
| Oracle Linux | 6 | samba4-clientsparc64 | Advisory build | 0:4.2.10-10.el6_9 | ELSA-2017-1271 |
| Oracle Linux | 6 | samba4-clientx86_64 | Advisory build | 0:4.2.10-10.el6_9 | ELSA-2017-1271 |
| Oracle Linux | 6 | samba4-commoni686 | Advisory build | 0:4.2.10-10.el6_9 | ELSA-2017-1271 |
| Oracle Linux | 6 | samba4-commonsparc64 | Advisory build | 0:4.2.10-10.el6_9 | ELSA-2017-1271 |
| Oracle Linux | 6 | samba4-commonx86_64 | Advisory build | 0:4.2.10-10.el6_9 | ELSA-2017-1271 |
| Oracle Linux | 6 | samba4-dci686 | Advisory build | 0:4.2.10-10.el6_9 | ELSA-2017-1271 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.8 / 10
- Severity
- critical
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Samba | samba | since 3.5.0 (affected) | redhat · cna |
Weaknesses
2- remote code execution
- CWE-94 CWE-94 Improper Control of Generation of Code ('Code Injection')
References
17- DSA-3860 http://www.debian.org/security/2017/dsa-3860
- 98636 http://www.securityfocus.com/bid/98636
- 1038552 http://www.securitytracker.com/id/1038552
- RHSA-2017:1270 https://access.redhat.com/errata/RHSA-2017:1270
- RHSA-2017:1271 https://access.redhat.com/errata/RHSA-2017:1271
- RHSA-2017:1272 https://access.redhat.com/errata/RHSA-2017:1272
- RHSA-2017:1273 https://access.redhat.com/errata/RHSA-2017:1273
- RHSA-2017:1390 https://access.redhat.com/errata/RHSA-2017:1390
- 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
- https://h20566.www2.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbns03755en_us
- https://h20566.www2.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbux03759en_us
- GLSA-201805-07 https://security.gentoo.org/glsa/201805-07
- https://security.netapp.com/advisory/ntap-20170524-0001/
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2017-7494
- 42060 https://www.exploit-db.com/exploits/42060/
- 42084 https://www.exploit-db.com/exploits/42084/
- https://www.samba.org/samba/security/CVE-2017-7494.html
Provider assertions
3redhat · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- cc6e899f3bcd98dc6fa4aa8500400d47b1c0442ba9c540c73971bb33d6b49f09
- Ingested
- 23 Sep 2026, 07:42:53 UTC
- Source record
- Official CVE record