{"schemaVersion":3,"id":"CVE-2015-5252","aliases":["UBUNTU-CVE-2015-5252","DEBIAN-CVE-2015-5252"],"status":"published","duplicateOf":null,"title":null,"description":"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.","dates":{"published":"2015-12-29T22:00:00.000Z","modified":"2024-08-06T06:41:08.927Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.2,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.2,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":5,"severity":"medium","vector":"AV:N/AC:L/Au:N/C:N/I:P/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.2,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N","exploitability":10,"impact":4.5,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":7.2,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N","exploitability":10,"impact":4.5,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":7.2,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N","exploitability":10,"impact":4.5,"computed":true}]},"epss":{"probability":0.13274,"percentile":0.96361,"severity":"medium","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.13274},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.13274,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.13274,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.13274,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.13274,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.13274,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.13274,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.13274,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.13274,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.13274,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.13274,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.13274,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.13274,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.13274,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.13274,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.13274,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.13274,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.13274,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.13274,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.13274,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.13274,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.13274,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.13274,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.13274,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.13274,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.13274,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.13274,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.13274,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.13274,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.13274,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.13274,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.13274,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.13274,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.13274,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.13274,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.13274,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.13274,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.13274,"percentile":0.96361}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.13274,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.13274,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.13274,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.13274,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.13274,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.13274,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.13274,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.13274,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.13274,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.13274,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.13274,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.13274,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.13274,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.13274,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.13274,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.13274,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.13274,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.13274,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.13274,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.13274,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.13274,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.13274,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.13274,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.13274,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.13274,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.13274,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.13274,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.13274,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.13274,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.13274,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.13274,"percentile":0.96361}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_BA1F3C39F97B983D","name":"Exploit Reference (samba.org)","source":"reference","url":"https://www.samba.org/samba/security/CVE-2015-5252.html","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-264","name":"Permissions, Privileges, and Access Controls","description":"Weaknesses in this category are related to the management of permissions, privileges, and other security features that are used to perform access control.","type":"category","status":"Obsolete","abstraction":null,"likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/264.html"}],"affected":[{"vendor":"canonical","product":"ubuntu_linux","name":"ubuntu linux","label":"ubuntu_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"12.04","noFixRecorded":false,"fixedIn":null},{"text":"14.04","noFixRecorded":false,"fixedIn":null},{"text":"15.04","noFixRecorded":false,"fixedIn":null},{"text":"15.10","noFixRecorded":false,"fixedIn":null}],"versionsText":"12.04 | 14.04 | 15.04 | 15.10","eol":{"isEol":true,"eolDate":"2017-04-28T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"12.04","label":"12.04 'Precise Pangolin' (LTS)","eolFrom":"2017-04-28T00:00:00.000Z","isLts":true,"isMaintained":false,"latestVersion":"12.04.5"},"product":{"name":"ubuntu","label":"Ubuntu","category":"os"}},"hubHref":"/vendor/canonical/ubuntu_linux"},{"vendor":"debian","product":"samba","name":"samba","label":"samba","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/samba","purlType":"deb","versions":[{"text":"< 2:4.1.22+dfsg-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2:4.1.22+dfsg-1","eol":{"isEol":null,"eolDate":null,"matchMethod":"name_exact","cycle":null,"product":{"name":"samba","label":"Samba","category":"server-app"}},"hubHref":null},{"vendor":"ubuntu","product":"samba","name":"samba","label":"samba","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/samba","purlType":"deb","versions":[{"text":"< 2:4.1.6+dfsg-1ubuntu2.14.04.11","noFixRecorded":false,"fixedIn":null},{"text":"< 2:4.3.3+dfsg-1ubuntu1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2:4.1.6+dfsg-1ubuntu2.14.04.11 | < 2:4.3.3+dfsg-1ubuntu1","eol":{"isEol":null,"eolDate":null,"matchMethod":"name_exact","cycle":null,"product":{"name":"samba","label":"Samba","category":"server-app"}},"hubHref":null},{"vendor":"debian","product":"debian_linux","name":"debian linux","label":"debian_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"7.0","noFixRecorded":false,"fixedIn":null},{"text":"8.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"7.0 | 8.0","eol":{"isEol":true,"eolDate":"2018-05-31T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"7","label":"7 (Wheezy)","eolFrom":"2018-05-31T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":"7.11"},"product":{"name":"debian","label":"Debian","category":"os"}},"hubHref":"/vendor/debian/debian_linux"},{"vendor":"samba","product":"samba","name":"Samba","label":"samba","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 3.0.0, < 4.1.22","noFixRecorded":false,"fixedIn":null},{"text":"≥ 4.2.0, < 4.2.7","noFixRecorded":false,"fixedIn":null},{"text":"≥ 4.3.0, < 4.3.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 3.0.0, < 4.1.22 | ≥ 4.2.0, < 4.2.7 | ≥ 4.3.0, < 4.3.3","eol":{"isEol":null,"eolDate":null,"matchMethod":"name_exact","cycle":null,"product":{"name":"samba","label":"Samba","category":"server-app"}},"hubHref":"/vendor/samba/samba"}],"affectedCount":5,"eol":{"hasEol":true,"count":2},"references":[{"url":"http://www.securityfocus.com/bid/79733","label":"www.securityfocus.com/bid/79733","hostname":"www.securityfocus.com","tags":["VDB Entry","X Refsource BID","Third Party Advisory"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2015-December/174391.html","label":"lists.fedoraproject.org/pipermail/package-announce/2015-December/174391.html","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA","Third Party Advisory"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00042.html","label":"lists.opensuse.org/opensuse-security-announce/2016-04/msg00042.html","hostname":"lists.opensuse.org","tags":["Vendor Advisory","X Refsource SUSE","Mailing List","Third Party Advisory"]},{"url":"http://www.ubuntu.com/usn/USN-2855-2","label":"www.ubuntu.com/usn/USN-2855-2","hostname":"www.ubuntu.com","tags":["Vendor Advisory","X Refsource UBUNTU","Third Party Advisory"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-01/msg00002.html","label":"lists.opensuse.org/opensuse-security-announce/2016-01/msg00002.html","hostname":"lists.opensuse.org","tags":["Vendor Advisory","X Refsource SUSE","Mailing List","Third Party Advisory"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2015-12/msg00019.html","label":"lists.opensuse.org/opensuse-security-announce/2015-12/msg00019.html","hostname":"lists.opensuse.org","tags":["Vendor Advisory","X Refsource SUSE","Mailing List","Third Party Advisory"]},{"url":"http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html","label":"www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html","hostname":"www.oracle.com","tags":["X Refsource CONFIRM","Third Party Advisory"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2015-12/msg00020.html","label":"lists.opensuse.org/opensuse-security-announce/2015-12/msg00020.html","hostname":"lists.opensuse.org","tags":["Vendor Advisory","X Refsource SUSE","Mailing List","Third Party Advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1290288","label":"bugzilla.redhat.com/show_bug.cgi?id=1290288","hostname":"bugzilla.redhat.com","tags":["X Refsource CONFIRM","Issue Tracking","Third Party Advisory"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-01/msg00017.html","label":"lists.opensuse.org/opensuse-security-announce/2016-01/msg00017.html","hostname":"lists.opensuse.org","tags":["Vendor Advisory","X Refsource SUSE","Mailing List","Third Party Advisory"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2015-12/msg00032.html","label":"lists.opensuse.org/opensuse-security-announce/2015-12/msg00032.html","hostname":"lists.opensuse.org","tags":["Vendor Advisory","X Refsource SUSE","Mailing List","Third Party Advisory"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00046.html","label":"lists.opensuse.org/opensuse-security-announce/2016-04/msg00046.html","hostname":"lists.opensuse.org","tags":["Vendor Advisory","X Refsource SUSE","Mailing List","Third Party Advisory"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2015-December/174076.html","label":"lists.fedoraproject.org/pipermail/package-announce/2015-December/174076.html","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA","Third Party Advisory"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00047.html","label":"lists.opensuse.org/opensuse-security-announce/2016-04/msg00047.html","hostname":"lists.opensuse.org","tags":["Vendor Advisory","X Refsource SUSE","Mailing List","Third Party Advisory"]},{"url":"https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05115993","label":"h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05115993","hostname":"h20566.www2.hpe.com","tags":["X Refsource CONFIRM","Third Party Advisory"]},{"url":"https://git.samba.org/?p=samba.git%3Ba=commit%3Bh=4278ef25f64d5fdbf432ff1534e275416ec9561e","label":"git.samba.org?p=samba.git%3Ba=commit%3Bh=4278ef25f64d5fdbf432ff1534e275416ec9561e","hostname":"git.samba.org","tags":["X Refsource CONFIRM"]},{"url":"http://www.securitytracker.com/id/1034493","label":"www.securitytracker.com/id/1034493","hostname":"www.securitytracker.com","tags":["VDB Entry","X Refsource SECTRACK","Third Party Advisory"]},{"url":"http://www.debian.org/security/2016/dsa-3433","label":"www.debian.org/security/2016/dsa-3433","hostname":"www.debian.org","tags":["Vendor Advisory","X Refsource DEBIAN","Third Party Advisory"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00048.html","label":"lists.opensuse.org/opensuse-security-announce/2016-04/msg00048.html","hostname":"lists.opensuse.org","tags":["Vendor Advisory","X Refsource SUSE","Mailing List","Third Party Advisory"]},{"url":"http://www.oracle.com/technetwork/topics/security/bulletinjan2016-2867206.html","label":"www.oracle.com/technetwork/topics/security/bulletinjan2016-2867206.html","hostname":"www.oracle.com","tags":["X Refsource CONFIRM","Third Party Advisory"]},{"url":"https://security.gentoo.org/glsa/201612-47","label":"security.gentoo.org/glsa/201612-47","hostname":"security.gentoo.org","tags":["Vendor Advisory","X Refsource GENTOO","Third Party Advisory"]},{"url":"https://www.samba.org/samba/security/CVE-2015-5252.html","label":"www.samba.org/samba/security/CVE-2015-5252.html","hostname":"www.samba.org","tags":["X Refsource CONFIRM","Exploit","Vendor Advisory","REPORT"]},{"url":"http://www.ubuntu.com/usn/USN-2855-1","label":"www.ubuntu.com/usn/USN-2855-1","hostname":"www.ubuntu.com","tags":["Vendor Advisory","X Refsource UBUNTU","Third Party Advisory"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2015-12/msg00033.html","label":"lists.opensuse.org/opensuse-security-announce/2015-12/msg00033.html","hostname":"lists.opensuse.org","tags":["Vendor Advisory","X Refsource SUSE","Mailing List","Third Party Advisory"]},{"url":"https://ubuntu.com/security/CVE-2015-5252","label":"ubuntu.com/security/CVE-2015-5252","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-2855-1","label":"ubuntu.com/security/notices/USN-2855-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/notices/USN-2855-2","label":"ubuntu.com/security/notices/USN-2855-2","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2015-5252","label":"www.cve.org/CVERecord?id=CVE-2015-5252","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2015-5252","label":"security-tracker.debian.org/tracker/CVE-2015-5252","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DLA-379-1","DSA-3433-1","MGASA-2016-0094","OPENSUSE-SU-2024:10069-1","RHSA-2016:0006","RHSA-2016:0010","RHSA-2016:0011","RHSA-2016:0015","RHSA-2016:0016","SUSE-SU-2015:2304-1","SUSE-SU-2015:2305-1","SUSE-SU-2016:0032-1","SUSE-SU-2016:0164-1","USN-2855-1"],"duplicates":[],"related":["OPENSUSE-SU-2024:10069-1","SUSE-SU-2015:2304-1","SUSE-SU-2015:2305-1","SUSE-SU-2016:0032-1","SUSE-SU-2016:0164-1","USN-2855-1","USN-2855-2"]},"timeline":[{"kind":"published","date":"2015-12-29T22:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-06T06:41:08.927Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":41,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T03:12:00.978Z","stale":false,"partial":false}}