CVE-2014-3560 in Canonical Ubuntu Linux and 2 more products
NetBIOS name services daemon (nmbd) in Samba 4.0.x before 4.0.21 and 4.1.x before 4.1.11 allows remote attackers to execute arbitrary code via unspecified vectors that modify heap memory, involving a sizeof operation on an incorrect variable in the unstrcpy macro in string_wrappers.h.
Affects 3 products from 3 vendors. Facts below cite their sources.
Exploitable from adjacent network.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Canonical | Ubuntu Linux | 14.04 |
| Redhat | Enterprise Linux | 6.0 7.0 |
| Samba | Samba | 4.0.0 4.0.1 4.0.2 4.0.3 4.0.4 4.0.5+26 more4.0.6 4.0.7 4.0.8 4.0.9 4.0.10 4.0.11 4.0.12 4.0.13 4.0.14 4.0.15 4.0.16 4.0.17 4.0.18 4.0.19 4.0.20 4.1.0 4.1.1 4.1.2 4.1.3 4.1.4 4.1.5 4.1.6 4.1.7 4.1.8 4.1.9 4.1.10 |
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
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
NetBIOS name services daemon (nmbd) in Samba 4.0.x before 4.0.21 and 4.1.x before 4.1.11 allows remote attackers to execute arbitrary code via unspecified vectors that modify heap memory, involving a sizeof operation on an incorrect variable in the unstrcpy macro in string_wrappers.h.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2014-3560 |
|---|---|
| BreachSpider ID | BS-2014-GLOBAL-016775-H |
| CVSS vector | AV:A/AC:M/Au:N/C:C/I:C/A:C |
| Published | 2014-08-06 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-94: Code Injection
Attacker injects arbitrary code that is executed by the application process.
Related attack patterns (CAPEC)
CAPEC-35 Leverage Executable Code in Non-Executable Files via CWE-94
CAPEC-77 Manipulating User-Controlled Variables via CWE-94
CAPEC-242 Code Injection via CWE-94
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
This vulnerability was disclosed in 2014. A high severity vulnerability affects Canonical systems (CVE-2014-3560). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
Vulnerability details: NetBIOS name services daemon (nmbd) in Samba 4.0.x before 4.0.21 and 4.1.x before 4.1.11 allows remote attackers to execute arbitrary code via unspecified vectors that modify heap memory, involving a sizeof operation on an incorrect variable in the unstrcpy macro in string_wrappers.h. CVSS vector: AV:A/AC:M/Au:N/C:C/I:C/A:C.
Questions
What is CVE-2014-3560?
This vulnerability was disclosed in 2014. A high severity vulnerability affects Canonical systems (CVE-2014-3560). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
What is the CVSS score for CVE-2014-3560?
CVE-2014-3560 has CVSS 7.9 (High). Vector: AV:A/AC:M/Au:N/C:C/I:C/A:C. EPSS: 56.4%.
Is CVE-2014-3560 actively exploited?
No confirmed active exploitation of CVE-2014-3560 as of 2026-09-25.
How do I remediate CVE-2014-3560?
Priority: MEDIUM. Advisory: https://bugzilla.redhat.com/show_bug.cgi?id=1126010 PSIRT: [email protected]
What systems are affected by CVE-2014-3560?
CVE-2014-3560 affects Canonical Ubuntu Linux; Redhat Enterprise 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"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.