vfs.c in smbd in Samba 3.x and 4.x before 4.1.22, 4.2.x before 4.2.7, and 4.3.x before…
Priority MEDIUM 46CWE-264Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Partial Red Hat: 19 fixed, 1 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-264.
Summary
vfs.c in smbd in Samba 3.x and 4.x before 4.1.22, 4.2.x before 4.2.7, and 4.3.x before 4.3.3, when share names with certain substring relationships exist, allows remote attackers to bypass intended file-access restrictions via a symlink that points outside of a share.
Why it matters now
EPSS 0.13274 96th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Partial Red Hat: 5 advisoriesRed Hat: 19 fixed, 1 without a fix
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 7
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:* | 3.0.0 to before 4.1.22; 4.2.0 to before 4.2.7; 4.3.0 to before 4.3.3 | Vulnerable | Samba |
| cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:-:*:*:* | 12.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:esm:*:*:* | 14.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:15.04:*:*:*:*:*:*:* | 15.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:15.10:*:*:*:*:*:*:* | 15.10 | Vulnerable | Canonical |
| cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:* | 7.0 | Vulnerable | Debian |
| cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* | 8.0 | Vulnerable | Debian |
- cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:* Versions 3.0.0 to before 4.1.22; 4.2.0 to before 4.2.7; 4.3.0 to before 4.3.3 Vulnerable ·Samba
- cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:-:*:*:* Versions 12.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:esm:*:*:* Versions 14.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:15.04:*:*:*:*:*:*:* Versions 15.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:15.10:*:*:*:*:*:*:* Versions 15.10 Vulnerable ·Canonical
- cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Debian
- cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* Versions 8.0 Vulnerable ·Debian
Remediation
Red Hat 5 advisories
- RHSA-2016:0015 Released 2016-01-08 · Red Hat rating Moderatesamba security update
- Red Hat Gluster 3 Samba on RHEL-6 libsmbclient-4.1.17-16.el6rhs, libsmbclient-devel-4.1.17-16.el6rhs, libwbclient-4.1.17-16.el6rhs +18
- RHSA-2016:0016 Released 2016-01-08 · Red Hat rating Moderatesamba security update
- Red Hat Gluster 3 Samba on RHEL-7 ctdb-4.2.4-9.1.el7rhgs, ctdb-devel-4.2.4-9.1.el7rhgs, ctdb-tests-4.2.4-9.1.el7rhgs +24
- RHSA-2016:0006 Released 2016-01-08 · Red Hat rating Moderatesamba security update
- Red Hat Enterprise Linux Client (v. 7) libsmbclient-4.2.3-11.el7_2, libwbclient-4.2.3-11.el7_2, samba-4.2.3-11.el7_2 +9
- Red Hat Enterprise Linux Client Optional (v. 7) libsmbclient-devel-4.2.3-11.el7_2, libwbclient-devel-4.2.3-11.el7_2, samba-4.2.3-11.el7_2 +10
- Red Hat Enterprise Linux ComputeNode (v. 7) libsmbclient-4.2.3-11.el7_2, libwbclient-4.2.3-11.el7_2, samba-4.2.3-11.el7_2 +9
- Red Hat Enterprise Linux ComputeNode Optional (v. 7) libsmbclient-devel-4.2.3-11.el7_2, libwbclient-devel-4.2.3-11.el7_2, samba-4.2.3-11.el7_2 +10
- Red Hat Enterprise Linux Server (v. 7) libsmbclient-4.2.3-11.el7_2, libsmbclient-4.2.3-11.el7_2.ppc, libwbclient-4.2.3-11.el7_2 +15
- Red Hat Enterprise Linux Server Optional (v. 7) libsmbclient-devel-4.2.3-11.el7_2, libsmbclient-devel-4.2.3-11.el7_2.ppc, libwbclient-devel-4.2.3-11.el7_2 +13
- Red Hat Enterprise Linux Server Resilient Storage (v. 7) ctdb-4.2.3-11.el7_2, ctdb-devel-4.2.3-11.el7_2, ctdb-tests-4.2.3-11.el7_2
- Red Hat Enterprise Linux Workstation (v. 7) libsmbclient-4.2.3-11.el7_2, libwbclient-4.2.3-11.el7_2, samba-4.2.3-11.el7_2 +10
- Red Hat Enterprise Linux Workstation Optional (v. 7) libsmbclient-devel-4.2.3-11.el7_2, libwbclient-devel-4.2.3-11.el7_2, samba-dc-4.2.3-11.el7_2 +8
Show 2 more Red Hat advisories
- RHSA-2016:0011 Released 2016-01-07 · Red Hat rating Moderatesamba security update
- Red Hat Enterprise Linux Desktop (v. 6) libsmbclient-3.6.23-24.el6_7, samba-3.6.23-24.el6_7, samba-client-3.6.23-24.el6_7 +3
- Red Hat Enterprise Linux Desktop Optional (v. 6) libsmbclient-devel-3.6.23-24.el6_7, samba-3.6.23-24.el6_7, samba-doc-3.6.23-24.el6_7 +5
- Red Hat Enterprise Linux HPC Node (v. 6) samba-3.6.23-24.el6_7, samba-client-3.6.23-24.el6_7, samba-common-3.6.23-24.el6_7 +2
- Red Hat Enterprise Linux HPC Node Optional (v. 6) libsmbclient-3.6.23-24.el6_7, libsmbclient-devel-3.6.23-24.el6_7, samba-3.6.23-24.el6_7 +6
- Red Hat Enterprise Linux Server (v. 6) libsmbclient-3.6.23-24.el6_7, libsmbclient-3.6.23-24.el6_7.ppc, samba-3.6.23-24.el6_7 +6
- Red Hat Enterprise Linux Server Optional (v. 6) libsmbclient-devel-3.6.23-24.el6_7, libsmbclient-devel-3.6.23-24.el6_7.ppc, samba-doc-3.6.23-24.el6_7 +6
- Red Hat Enterprise Linux Workstation (v. 6) libsmbclient-3.6.23-24.el6_7, samba-3.6.23-24.el6_7, samba-client-3.6.23-24.el6_7 +3
- Red Hat Enterprise Linux Workstation Optional (v. 6) libsmbclient-devel-3.6.23-24.el6_7, samba-doc-3.6.23-24.el6_7, samba-domainjoin-gui-3.6.23-24.el6_7 +4
- RHSA-2016:0010 Released 2016-01-07 · Red Hat rating Moderatesamba4 security update
- Red Hat Enterprise Linux Desktop (v. 6) samba4-4.0.0-67.el6_7.rc4, samba4-client-4.0.0-67.el6_7.rc4, samba4-common-4.0.0-67.el6_7.rc4 +11
- Red Hat Enterprise Linux HPC Node (v. 6) samba4-4.0.0-67.el6_7.rc4, samba4-client-4.0.0-67.el6_7.rc4, samba4-common-4.0.0-67.el6_7.rc4 +11
- Red Hat Enterprise Linux Server (v. 6) samba4-4.0.0-67.el6_7.rc4, samba4-client-4.0.0-67.el6_7.rc4, samba4-common-4.0.0-67.el6_7.rc4 +11
- Red Hat Enterprise Linux Workstation (v. 6) samba4-4.0.0-67.el6_7.rc4, samba4-client-4.0.0-67.el6_7.rc4, samba4-common-4.0.0-67.el6_7.rc4 +11
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 5 | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux Client (v. 7) | Fixed | RHSA-2016:0006 |
| Red Hat Enterprise Linux Client Optional (v. 7) | Fixed | RHSA-2016:0006 |
| Red Hat Enterprise Linux ComputeNode (v. 7) | Fixed | RHSA-2016:0006 |
| Red Hat Enterprise Linux ComputeNode Optional (v. 7) | Fixed | RHSA-2016:0006 |
| Red Hat Enterprise Linux Desktop (v. 6) | Fixed | RHSA-2016:0010, RHSA-2016:0011 |
| Red Hat Enterprise Linux Desktop Optional (v. 6) | Fixed | RHSA-2016:0011 |
| Red Hat Enterprise Linux HPC Node (v. 6) | Fixed | RHSA-2016:0010, RHSA-2016:0011 |
| Red Hat Enterprise Linux HPC Node Optional (v. 6) | Fixed | RHSA-2016:0011 |
| Red Hat Enterprise Linux Server (v. 6) | Fixed | RHSA-2016:0010, RHSA-2016:0011 |
| Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2016:0006 |
| Red Hat Enterprise Linux Server Optional (v. 6) | Fixed | RHSA-2016:0011 |
| Red Hat Enterprise Linux Server Optional (v. 7) | Fixed | RHSA-2016:0006 |
| Red Hat Enterprise Linux Server Resilient Storage (v. 7) | Fixed | RHSA-2016:0006 |
| Red Hat Enterprise Linux Workstation (v. 6) | Fixed | RHSA-2016:0010, RHSA-2016:0011 |
| Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2016:0006 |
| Red Hat Enterprise Linux Workstation Optional (v. 6) | Fixed | RHSA-2016:0011 |
| Red Hat Enterprise Linux Workstation Optional (v. 7) | Fixed | RHSA-2016:0006 |
| Red Hat Gluster 3 Samba on RHEL-6 | Fixed | RHSA-2016:0015 |
| Red Hat Gluster 3 Samba on RHEL-7 | Fixed | RHSA-2016:0016 |
Timeline
- 2026-10-02 Threatist record created from CVE-2015-5252
- 2026-10-03 Alias added: GHSA-v8hr-9qpr-jrwc
References
Advisory 20
- FEDORA-2015-0e0879cc8a
- openSUSE-SU-2016:1064
- USN-2855-2
- SUSE-SU-2016:0032
- SUSE-SU-2015:2304
- http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html
- SUSE-SU-2015:2305
- https://bugzilla.redhat.com/show_bug.cgi?id=1290288
- SUSE-SU-2016:0164
- openSUSE-SU-2015:2354
- SUSE-SU-2016:1105
- FEDORA-2015-b36076d32e
- openSUSE-SU-2016:1106
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05115993
- DSA-3433
- openSUSE-SU-2016:1107
- http://www.oracle.com/technetwork/topics/security/bulletinjan2016-2867206.html
- GLSA-201612-47
- USN-2855-1
- openSUSE-SU-2015:2356
Sources
- CVE-2015-5252 · CVE Program
- CVE-2015-5252 · NVD
- FIRST EPSS
- GHSA-v8hr-9qpr-jrwc · GitHub Advisory Database · CC BY 4.0
- CVE-2015-5252 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences