CVE-2015-5252Samba
High 7.2 No auth neededHigh EPSS
Follow: this CVE · Samba · Samba We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.2
- EPSS
- 13.3% probability of exploitation in 30 days · percentile 97
- Auth required
- No
- Published
- Dec 29, 2015
- Updated
- Jun 17, 2026
- Category
- Server · Linux
- Weakness (CWE)
- CWE-264
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Samba.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| samba | samba | ≥ 3.0.0 < 4.1.22 |
| samba | samba | ≥ 4.2.0 < 4.2.7 |
| samba | samba | ≥ 4.3.0 < 4.3.3 |
| canonical | ubuntu_linux | 12.04 |
| canonical | ubuntu_linux | 14.04 |
| canonical | ubuntu_linux | 15.04 |
| canonical | ubuntu_linux | 15.10 |
| debian | debian_linux | 7.0 |
| debian | debian_linux | 8.0 |
Official sources
References
Links published by the sources. Open them with care.
- lists.fedoraproject.org Third Party Advisory
- lists.fedoraproject.org Third Party Advisory
- lists.opensuse.org Mailing List Third Party Advisory
- lists.opensuse.org Mailing List Third Party Advisory
- lists.opensuse.org Mailing List Third Party Advisory
- lists.opensuse.org Mailing List Third Party Advisory
- lists.opensuse.org Mailing List Third Party Advisory
- lists.opensuse.org Mailing List Third Party Advisory
- lists.opensuse.org Mailing List Third Party Advisory
- lists.opensuse.org Mailing List Third Party Advisory
- lists.opensuse.org Mailing List Third Party Advisory
- lists.opensuse.org Mailing List Third Party Advisory
- www.debian.org Third Party Advisory
- www.oracle.com Third Party Advisory
- www.oracle.com Third Party Advisory
- www.securityfocus.com Third Party Advisory VDB Entry
- www.securitytracker.com Third Party Advisory VDB Entry
- www.ubuntu.com Third Party Advisory
- www.ubuntu.com Third Party Advisory
- bugzilla.redhat.com Issue Tracking Third Party Advisory
- git.samba.org
- h20566.www2.hpe.com Third Party Advisory
- security.gentoo.org Third Party Advisory
- www.samba.org Exploit Vendor Advisory