CVE Vulnerabilities

CVE-2017-14746

Use After Free

Published: Nov 27, 2017 | Modified: Apr 20, 2025
CVSS 3.x
9.8
CRITICAL
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
7.5 HIGH
AV:N/AC:L/Au:N/C:P/I:P/A:P
RedHat/V2
RedHat/V3
6.3 IMPORTANT
CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Ubuntu
MEDIUM

Use-after-free vulnerability in Samba 4.x before 4.7.3 allows remote attackers to execute arbitrary code via a crafted SMB1 request.

Weakness

The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory “belongs” to the code that operates on the new pointer.

Affected Software

Name Vendor Start Version End Version
Samba Samba 4.0.0 (including) 4.5.0 (excluding)
Samba Samba 4.5.0 (including) 4.5.15 (excluding)
Samba Samba 4.6.0 (including) 4.6.11 (excluding)
Samba Samba 4.7.0 (including) 4.7.3 (excluding)
Red Hat Enterprise Linux 6 RedHat samba4-0:4.2.10-12.el6_9 *
Red Hat Enterprise Linux 7 RedHat samba-0:4.6.2-12.el7_4 *
Red Hat Gluster Storage 3.3 for RHEL 6 RedHat samba-0:4.6.3-9.el6rhs *
Red Hat Gluster Storage 3.3 for RHEL 7 RedHat samba-0:4.6.3-9.el7rhgs *
Samba Ubuntu artful *
Samba Ubuntu devel *
Samba Ubuntu esm-infra-legacy/trusty *
Samba Ubuntu esm-infra/xenial *
Samba Ubuntu trusty *
Samba Ubuntu trusty/esm *
Samba Ubuntu xenial *
Samba Ubuntu zesty *

Potential Mitigations

References