Home / Samba / Samba / CVE-2015-5252
CVE-2015-5252: is it exploited, and which versions of Samba are affected and fixed?
CVE-2015-5252 is a vulnerability in Samba. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 09:08 UTC). Affected: samba from 3.0.0 before 4.1.22, samba from 4.2.0 before 4.2.7, samba from 4.3.0 before 4.3.3 and 6 more (NVD). Fixed in 4.1.22, 4.2.7 and 4.3.3 (NVD). Severity: High (7.2, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 09:08 UTC, CVE record November 19, 2026, 07:19 UTC and NVD November 19, 2026, 08:46 UTC.
What is CVE-2015-5252?
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.
From the CVE record by redhat, last updated August 6, 2024, 06:41 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| samba | samba | from 3.0.0 before 4.1.22 | application |
| samba | samba | from 4.2.0 before 4.2.7 | application |
| samba | samba | from 4.3.0 before 4.3.3 | application |
| canonical | ubuntu linux | 12.04 | operating system |
| canonical | ubuntu linux | 14.04 | operating system |
| canonical | ubuntu linux | 15.04 | operating system |
| canonical | ubuntu linux | 15.10 | operating system |
| debian | debian linux | 7.0 | operating system |
| debian | debian linux | 8.0 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 00:28 UTC.
How severe is CVE-2015-5252?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.2 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N | NVD |
| Medium 5.0 | CVSS 2.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2015-5252 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 13.3% probability of exploitation activity in the next 30 days, percentile 96.5 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- 79733 vdb-entry, x_refsource_BID
- FEDORA-2015-0e0879cc8a vendor-advisory, x_refsource_FEDORA
- openSUSE-SU-2016:1064 vendor-advisory, x_refsource_SUSE
- USN-2855-2 vendor-advisory, x_refsource_UBUNTU
- SUSE-SU-2016:0032 vendor-advisory, x_refsource_SUSE
- SUSE-SU-2015:2304 vendor-advisory, x_refsource_SUSE
- http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html x_refsource_CONFIRM
- SUSE-SU-2015:2305 vendor-advisory, x_refsource_SUSE
- https://bugzilla.redhat.com/show_bug.cgi?id=1290288 x_refsource_CONFIRM
- SUSE-SU-2016:0164 vendor-advisory, x_refsource_SUSE
- openSUSE-SU-2015:2354 vendor-advisory, x_refsource_SUSE
- SUSE-SU-2016:1105 vendor-advisory, x_refsource_SUSE
- FEDORA-2015-b36076d32e vendor-advisory, x_refsource_FEDORA
- openSUSE-SU-2016:1106 vendor-advisory, x_refsource_SUSE
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05115993 x_refsource_CONFIRM
- https://git.samba.org/?p=samba.git%3Ba=commit%3Bh=4278ef25f64d5fdbf432ff1534e275416ec9561e x_refsource_CONFIRM
- 1034493 vdb-entry, x_refsource_SECTRACK
- DSA-3433 vendor-advisory, x_refsource_DEBIAN
- openSUSE-SU-2016:1107 vendor-advisory, x_refsource_SUSE
- http://www.oracle.com/technetwork/topics/security/bulletinjan2016-2867206.html x_refsource_CONFIRM
- GLSA-201612-47 vendor-advisory, x_refsource_GENTOO
- https://www.samba.org/samba/security/CVE-2015-5252.html x_refsource_CONFIRM
- USN-2855-1 vendor-advisory, x_refsource_UBUNTU
- openSUSE-SU-2015:2356 vendor-advisory, x_refsource_SUSE
When was it published, and where is the official record?
- Reserved
- July 1, 2015
- Published
- December 29, 2015, 22:00 UTC
- CVE record updated
- August 6, 2024, 06:41 UTC by redhat
- NVD
- Modified, last modified June 17, 2026, 00:28 UTC
- Last checked
- CVE list November 19, 2026, 07:19 UTC; NVD November 19, 2026, 08:46 UTC; KEV December 3, 2026, 09:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Samba?
- May 30, 2017CVE-2017-7494 samba: code injection (remote code execution) exploited
- Dec 1, 2026CVE-2026-135111 Samba: resource not released after use
- Nov 30, 2026CVE-2026-125628 Samba: type confusion
- Nov 27, 2026CVE-2026-125633 Samba: type confusion
- Nov 27, 2026CVE-2026-125627 Samba: NULL pointer dereference (crash)
- Nov 26, 2026CVE-2026-135107 Samba: memory Allocation with Excessive Size Value
- Nov 25, 2026CVE-2026-125634 Samba: NULL pointer dereference (crash)
- Oct 28, 2026CVE-2026-109411 Samba: improper Handling of Case Sensitivity
Questions about CVE-2015-5252
Is CVE-2015-5252 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 09:08 UTC. FIRST's EPSS gives it a 13.3% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Samba are affected by CVE-2015-5252?
samba from 3.0.0 before 4.1.22, samba from 4.2.0 before 4.2.7, samba from 4.3.0 before 4.3.3, ubuntu linux 12.04, ubuntu linux 14.04, ubuntu linux 15.04 and 3 more, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2015-5252?
4.1.22, 4.2.7 and 4.3.3, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2015-5252?
High (7.2, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2015-5252?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.