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
root.io logo minimus.io logo echo.ai logo

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

NameVendorStart VersionEnd Version
SambaSamba4.0.0 (including)4.5.0 (excluding)
SambaSamba4.5.0 (including)4.5.15 (excluding)
SambaSamba4.6.0 (including)4.6.11 (excluding)
SambaSamba4.7.0 (including)4.7.3 (excluding)
Red Hat Enterprise Linux 6RedHatsamba4-0:4.2.10-12.el6_9*
Red Hat Enterprise Linux 7RedHatsamba-0:4.6.2-12.el7_4*
Red Hat Gluster Storage 3.3 for RHEL 6RedHatsamba-0:4.6.3-9.el6rhs*
Red Hat Gluster Storage 3.3 for RHEL 7RedHatsamba-0:4.6.3-9.el7rhgs*
SambaUbuntuartful*
SambaUbuntudevel*
SambaUbuntuesm-infra-legacy/trusty*
SambaUbuntuesm-infra/xenial*
SambaUbuntutrusty*
SambaUbuntutrusty/esm*
SambaUbuntuxenial*
SambaUbuntuzesty*

Potential Mitigations

References