BreachSpiderVerified, not vibes

CVE-2015-5252 in Canonical Ubuntu Linux and 2 more products

High 7.2

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.

Affects 3 products from 3 vendors. Facts below cite their sources.

CVSS 3.17.2
EPSS13.3%
EPSS percentile97th
FixSee advisory

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, can impact systems beyond the vulnerable component, no availability impact.

Affected products and versions

VendorProductAffected versions
Canonical Ubuntu Linux 12.04 14.04 15.04 15.10
Debian Debian Linux 7.0 8.0
Samba Samba ≥ 3.0.0, < 4.1.22 ≥ 4.2.0, < 4.2.7 ≥ 4.3.0, < 4.3.3

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

View Vendor Advisory →

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official 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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2015-5252
BreachSpider IDBS-2015-GLOBAL-259895-H
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
Published2015-12-29
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-264: Permissions, Privileges, and Access Controls

Broad class covering failures in permission enforcement. Deprecated in favor of CWE-284, CWE-862, CWE-863.

Analysis AI-written, not human-reviewed

This vulnerability was disclosed in 2015. A high severity vulnerability affects Canonical systems (CVE-2015-5252). No public exploit code is currently available. Isolate affected systems if patching is not feasible.

Vulnerability details: 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. CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N.

Questions

What is CVE-2015-5252?

This vulnerability was disclosed in 2015. A high severity vulnerability affects Canonical systems (CVE-2015-5252). No public exploit code is currently available. Isolate affected systems if patching is not feasible.

What is the CVSS score for CVE-2015-5252?

CVE-2015-5252 has CVSS 7.2 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N. EPSS: 13.3%.

Is CVE-2015-5252 actively exploited?

No confirmed active exploitation of CVE-2015-5252 as of 2026-09-25.

How do I remediate CVE-2015-5252?

Priority: MEDIUM. Advisory: https://www.samba.org/samba/security/CVE-2015-5252.html

What systems are affected by CVE-2015-5252?

CVE-2015-5252 affects Canonical Ubuntu Linux; Debian Debian Linux; Samba Samba.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Canonical","product":"Ubuntu Linux","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.