CVE-2017-14746: Use-after-free vulnerability in Samba 4.x before 4.7.3 allows remote attackers to execute arbitrary code via a crafted SMB1 request.
Noroxi assessment
Priority: Plan (action score 42/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 9.8% (FIRST EPSS); higher than 95.6% 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.
- Fixed version: samba (Alpine:v3.10) 4.7.3-r0; samba (Alpine:v3.4) 4.4.16-r1; samba (Debian:12) 2:4.7.1+dfsg-2.
Add it to your regular patch cycle. Upgrade to samba (Alpine:v3.10) 4.7.3-r0; samba (Alpine:v3.4) 4.4.16-r1; samba (Debian:12) 2:4.7.1+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 · FIRST EPSS
- Published
- Nov 27, 2017
- Updated
- Jun 16, 2026
- EPSS
- 9.8% · 95th percentile
- CWE
- CWE-416
Report tools
Action score
42
Add it to your regular patch cycle.
- CVSS
- 39 / 40 · 9.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 3 / 30 · 9.8%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- 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.
| Vendor | Product | CPE |
|---|---|---|
| samba | samba | cpe:2.3:a:samba:samba |
| canonical | ubuntu linux | cpe:2.3:o:canonical:ubuntu_linux |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
| redhat | enterprise linux desktop | cpe:2.3:o:redhat:enterprise_linux_desktop |
| redhat | enterprise linux server | cpe:2.3:o:redhat:enterprise_linux_server |
| redhat | enterprise linux workstation | cpe:2.3:o:redhat:enterprise_linux_workstation |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- canonical ubuntu linux14.04
- canonical ubuntu linux16.04
- canonical ubuntu linux17.04
- canonical ubuntu linux17.10
- debian debian linux8.0
- debian debian linux9.0
- redhat enterprise linux desktop6.0
- redhat enterprise linux desktop7.0
+8 more rows
- redhat enterprise linux server6.0
- redhat enterprise linux server7.0
- redhat enterprise linux workstation6.0
- redhat enterprise linux workstation7.0
- samba samba4.7.0 and later · before 4.7.3
- samba samba4.6.0 and later · before 4.6.11
- samba samba4.5.0 and later · before 4.5.15
- samba samba4.0.0 and later · before 4.5.0
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Alpine:v3.10 | samba | from 4.0.0 · before 4.7.3-r0 | 4.7.3-r0 |
| Alpine:v3.4 | samba | from 4.0.0 · before 4.4.16-r1 | 4.4.16-r1 |
| Debian:12 | samba | before 2:4.7.1+dfsg-2 | 2:4.7.1+dfsg-2 |
| Debian:8 | samba | before 2:4.2.14+dfsg-0+deb8u9 | 2:4.2.14+dfsg-0+deb8u9 |
| Debian:9 | samba | before 2:4.5.12+dfsg-2+deb9u1 | 2:4.5.12+dfsg-2+deb9u1 |
| Red Hat:enterprise_linux:6::client | samba4 | before 0:4.2.10-12.el6_9 | 0:4.2.10-12.el6_9 |
| Red Hat:enterprise_linux:6::client | samba4-client | before 0:4.2.10-12.el6_9 | 0:4.2.10-12.el6_9 |
| Red Hat:enterprise_linux:6::client | samba4-common | before 0:4.2.10-12.el6_9 | 0:4.2.10-12.el6_9 |
| Red Hat:enterprise_linux:6::client | samba4-dc | before 0:4.2.10-12.el6_9 | 0:4.2.10-12.el6_9 |
| Red Hat:enterprise_linux:6::client | samba4-dc-libs | before 0:4.2.10-12.el6_9 | 0:4.2.10-12.el6_9 |
| Red Hat:enterprise_linux:6::client | samba4-debuginfo | before 0:4.2.10-12.el6_9 | 0:4.2.10-12.el6_9 |
| Red Hat:enterprise_linux:6::client | samba4-devel | before 0:4.2.10-12.el6_9 | 0:4.2.10-12.el6_9 |
| Red Hat:enterprise_linux:6::client | samba4-libs | before 0:4.2.10-12.el6_9 | 0:4.2.10-12.el6_9 |
| Red Hat:enterprise_linux:6::client | samba4-pidl | before 0:4.2.10-12.el6_9 | 0:4.2.10-12.el6_9 |
| Red Hat:enterprise_linux:6::client | samba4-python | before 0:4.2.10-12.el6_9 | 0:4.2.10-12.el6_9 |
| Red Hat:enterprise_linux:6::client | samba4-test | before 0:4.2.10-12.el6_9 | 0:4.2.10-12.el6_9 |
| Red Hat:enterprise_linux:6::client | samba4-winbind | before 0:4.2.10-12.el6_9 | 0:4.2.10-12.el6_9 |
| Red Hat:enterprise_linux:6::client | samba4-winbind-clients | before 0:4.2.10-12.el6_9 | 0:4.2.10-12.el6_9 |
| Red Hat:enterprise_linux:6::client | samba4-winbind-krb5-locator | before 0:4.2.10-12.el6_9 | 0:4.2.10-12.el6_9 |
| Red Hat:enterprise_linux:7::client | libsmbclient | before 0:4.6.2-12.el7_4 | 0:4.6.2-12.el7_4 |
| Red Hat:enterprise_linux:7::client | libsmbclient-devel | before 0:4.6.2-12.el7_4 | 0:4.6.2-12.el7_4 |
| Red Hat:enterprise_linux:7::client | libwbclient | before 0:4.6.2-12.el7_4 | 0:4.6.2-12.el7_4 |
| Red Hat:enterprise_linux:7::client | libwbclient-devel | before 0:4.6.2-12.el7_4 | 0:4.6.2-12.el7_4 |
| Red Hat:enterprise_linux:7::client | samba | before 0:4.6.2-12.el7_4 | 0:4.6.2-12.el7_4 |
+80
Same product
samba: all recordsOther highest-scoring records for the same primary product.
- CVE-2017-7494Samba 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…KEV99Now
- 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
Published before and after this one in the same product
- ← 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
- ← EarlierCVE-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
- Later →CVE-2017-15275Nov 27, 2017 · Samba before 4.7.3 might allow remote attackers to obtain sensitive information by leveraging failure of the server to clear allocated heap…36Monitor
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.7.3-r0 · Alpine:v3.10 | Package registry (OSV) |
| debian:samba | 2:4.7.1+dfsg-2 · Debian:12 | Package registry (OSV) |
| red hat:libsmbclient | 0:4.6.2-12.el7_4 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:libwbclient | 0:4.6.2-12.el7_4 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:samba | 0:4.6.2-12.el7_4 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:samba-client | 0:4.6.2-12.el7_4 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:samba-client-libs | 0:4.6.2-12.el7_4 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:samba-common | 0:4.6.2-12.el7_4 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:samba-common-libs | 0:4.6.2-12.el7_4 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:samba-common-tools | 0:4.6.2-12.el7_4 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:samba-debuginfo | 0:4.6.2-12.el7_4 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:samba-krb5-printing | 0:4.6.2-12.el7_4 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:samba-libs | 0:4.6.2-12.el7_4 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:samba-winbind | 0:4.6.2-12.el7_4 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| suse:samba | 4.2.4-28.24.1 · SUSE:OpenStack Cloud 6 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
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.
No dated events beyond publication.
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-416 · Use After FreeCVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvd-primary
Root cause
After a memory region is freed, another reference pointing to it is still used. By then, the same region may have been allocated for different data.
The bug in code
The whole CWE-416 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
free(dev->buf);
/* ... another thread is still running ... */
process(dev->buf);Fixed
lock(&dev->lock);
free(dev->buf);
dev->buf = NULL;
unlock(&dev->lock);Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (10 more)Show less
- www.securitytracker.com/id/1039856
- www.ubuntu.com/usn/USN-3486-1
- access.redhat.com/errata/RHSA-2017:3260
- access.redhat.com/errata/RHSA-2017:3261
- access.redhat.com/errata/RHSA-2017:3278
- security.gentoo.org/glsa/201805-07
- support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbux03817en_us
- www.debian.org/security/2017/dsa-4043
- www.samba.org/samba/security/CVE-2017-14746.html
- www.synology.com/support/security/Synology_SA_17_72_Samba
Vendor advisories and official records. Exploit/PoC links are deliberately left out.