cve.bz

CVE-2017-14746 Use After Free

9.8 criticalEPSS 9.9%

Critical (9.8). EPSS 9.9% estimated probability of exploitation activity in the next 30 days.

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

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
9.9% (unchanged from 9.9% a week ago; 9.9% 30 days ago) estimated probability of exploitation activity in the next 30 days; 96th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-416 Use After Free
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2017-14746 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2017-14746?via=ask-ai-copy and https://cve.bz/cve/CVE-2017-14746?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2017-14746 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
samba:sambafrom 4.0.0 before 4.5.0
samba:sambafrom 4.5.0 before 4.5.15
samba:sambafrom 4.6.0 before 4.6.11
samba:sambafrom 4.7.0 before 4.7.3
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
redhat:enterprise_linux_server6.0
redhat:enterprise_linux_server7.0
redhat:enterprise_linux_workstation6.0
redhat:enterprise_linux_workstation7.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian8samba2:4.2.14+dfsg-0+deb8u9DSA-4043-1
Debian9samba2:4.5.12+dfsg-2+deb9u1DSA-4043-1
Debian12, 13, 14samba2:4.7.1+dfsg-2DEBIAN-CVE-2017-14746
Ubuntu14.04:LTSsamba2:4.3.11+dfsg-0ubuntu0.14.04.13UBUNTU-CVE-2017-14746 USN-3486-1
Ubuntu16.04:LTSsamba2:4.3.11+dfsg-0ubuntu0.16.04.12UBUNTU-CVE-2017-14746 USN-3486-1
Red Hatenterprise_linux:6::client, enterprise_linux:6::computenode, enterprise_linux:6::server and 1 moresamba4, samba4-dc, samba4-libs and 11 more0:4.2.10-12.el6_9RHSA-2017:3278
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::workstationsamba, samba-dc, samba-libs and 22 more0:4.6.2-12.el7_4RHSA-2017:3260
Red Hatenterprise_linux:7::serverctdb, samba, samba-dc and 24 more0:4.6.2-12.el7_4RHSA-2017:3260
Red Hatstorage:3.3:samba:el6ctdb, samba, samba-dc and 24 more0:4.6.3-9.el6rhsRHSA-2017:3261
Red Hatstorage:3.3:samba:el7ctdb, samba, samba-dc and 24 more0:4.6.3-9.el7rhgsRHSA-2017:3261
SUSEEnterprise Storage 5, Linux Enterprise Desktop 12 SP3, Linux Enterprise High Availability Extension 12 SP3 and 3 moresamba4.6.9+git.59.c2cff9cea4c-3.17.1SUSE-SU-2017:3155-1
SUSELinux Enterprise Desktop 12 SP2, Linux Enterprise High Availability Extension 12 SP1, Linux Enterprise Server 12 SP1-LTSS and 6 moresamba4.2.4-28.24.1SUSE-SU-2017:3086-1
SUSELinux Enterprise Desktop 12 SP2, Linux Enterprise High Availability Extension 12 SP2, Linux Enterprise Server 12 SP2 and 3 moresamba4.4.2-38.14.1SUSE-SU-2017:3104-1
SUSELinux Enterprise High Availability Extension 12, Linux Enterprise Server 12-LTSSsamba4.2.4-18.49.1SUSE-SU-2018:2321-1
openSUSETumbleweedsamba4.14.6+git.182.2205d5224e3-1.1openSUSE-SU-2024:11365-1
Alpinev3.4samba4.4.16-r1ALPINE-CVE-2017-14746
Alpinev3.7, v3.8, v3.9 and 15 moresamba4.7.3-r0ALPINE-CVE-2017-14746

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Important.

Red Hat's mitigation

Prevent SMB1 access to the server by setting the parameter:

"server min protocol = SMB2"

to the [global] section of your smb.conf and restart smbd. This prevents and SMB1 access to the server. Note this could cause older clients to be unable to connect to the server.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6samba4-0:4.2.10-12.el6_9Fixed 2017-11-29RHSA-2017:3278
Red Hat Enterprise Linux 7samba-0:4.6.2-12.el7_4Fixed 2017-11-27RHSA-2017:3260
Red Hat Gluster Storage 3.3 for RHEL 6samba-0:4.6.3-9.el6rhsFixed 2017-11-27RHSA-2017:3261
Red Hat Gluster Storage 3.3 for RHEL 7samba-0:4.6.3-9.el7rhgsFixed 2017-11-27RHSA-2017:3261
Red Hat Enterprise Linux 5sambaNot affected
Red Hat Enterprise Linux 6sambaNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2017-14746.

References

Check your stackJSON