CVE-2015-0240 in Canonical Ubuntu Linux and 5 more products
The Netlogon server implementation in smbd in Samba 3.5.x and 3.6.x before 3.6.25, 4.0.x before 4.0.25, 4.1.x before 4.1.17, and 4.2.x before 4.2.0rc5 performs a free operation on an uninitialized stack pointer, which allows remote attackers to execute arbitrary code via crafted Netlogon packets that use the ServerP...
Affects 6 products from 4 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Canonical | Ubuntu Linux | 12.04 14.04 14.10 |
| Novell | Suse Linux Enterprise Server | 12 |
| Novell | Suse Linux Enterprise Desktop | 12 |
| Novell | Suse Linux Enterprise Software Development Kit | 12 |
| Redhat | Enterprise Linux | 5 6.0 7.0 |
| Samba | Samba | 3.5.0 3.5.1 3.5.2 3.5.3 3.5.4 3.5.5+78 more3.5.6 3.5.7 3.5.8 3.5.9 3.5.10 3.5.11 3.5.12 3.5.13 3.5.14 3.5.15 3.5.16 3.5.17 3.5.18 3.5.19 3.5.20 3.5.21 3.5.22 3.6.0 3.6.1 3.6.2 3.6.10 3.6.11 3.6.12 3.6.13 3.6.14 3.6.15 3.6.16 3.6.17 3.6.18 3.6.19 3.6.20 3.6.21 3.6.22 3.6.23 3.6.24 4.0.0 4.0.1 4.0.2 4.0.3 4.0.4 4.0.5 4.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.0.21 4.0.22 4.0.23 4.0.24 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 4.1.11 4.1.12 4.1.13 4.1.14 4.1.15 4.1.16 4.2.0 |
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 | Reported · reference |
Official description
The Netlogon server implementation in smbd in Samba 3.5.x and 3.6.x before 3.6.25, 4.0.x before 4.0.25, 4.1.x before 4.1.17, and 4.2.x before 4.2.0rc5 performs a free operation on an uninitialized stack pointer, which allows remote attackers to execute arbitrary code via crafted Netlogon packets that use the ServerPasswordSet RPC API, as demonstrated by packets reaching the _netr_ServerPasswordSet function in rpc_server/netlogon/srv_netlog_nt.c.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2015-0240 |
|---|---|
| BreachSpider ID | BS-2015-GLOBAL-159408-C |
| CVSS vector | AV:N/AC:L/Au:N/C:C/I:C/A:C |
| Published | 2015-02-24 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-17: CWE-17
Analysis AI-written, not human-reviewed
A critical vulnerability in the Netlogon server implementation in Samba allows remote attackers to execute arbitrary code through crafted Netlogon packets.
The vulnerability occurs due to a free operation on an uninitialized stack pointer in the Netlogon server implementation in smbd. Attackers can exploit this by sending specially crafted Netlogon packets that use the ServerPasswordSet RPC API.
Questions
What is CVE-2015-0240?
A critical vulnerability in the Netlogon server implementation in Samba allows remote attackers to execute arbitrary code through crafted Netlogon packets.
What is the CVSS score for CVE-2015-0240?
CVE-2015-0240 has CVSS 10.0 (Critical). Vector: AV:N/AC:L/Au:N/C:C/I:C/A:C. EPSS: 88.2%.
Is CVE-2015-0240 actively exploited?
Public exploit available for CVE-2015-0240. Exploitation risk elevated.
How do I remediate CVE-2015-0240?
Priority: IMMEDIATE. Advisory: http://rhn.redhat.com/errata/RHSA-2015-0249.html PSIRT: [email protected]
What systems are affected by CVE-2015-0240?
CVE-2015-0240 affects Canonical Ubuntu Linux; Novell Suse Linux Enterprise Server, Suse Linux Enterprise Desktop, Suse Linux Enterprise Software Development Kit; 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.