CVE-2015-0240
CriticalPublic exploitThe 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…
Published Feb 24, 2015 · Updated Aug 4, 2026 · Also known as DEBIAN-CVE-2015-0240, DLA-156-1, DSA-3171-1, SUSE-SU-2015:0353-1, UBUNTU-CVE-2015-0240, USN-2508-1
Key Facts
Patch immediately- CVE-2015-0240 is a critical-severity vulnerability (CVSS 10.0 v2) affecting Samba, Ubuntu Linux (Canonical), Suse Linux Enterprise Desktop (Novell) and 22 more products.
- It is not listed in any known-exploited vulnerabilities catalog. Public exploit code is available.
- EPSS estimates a 88% probability of exploitation in the next 30 days.
- Fixed versions are available, including ctdb 4.2.4-34.1, ctdb 4.5.0-1.1, ctdb-debuginfo 4.2.4-34.1.
- Brandefense priority: patch immediately, because it is very likely to be exploited soon.
CVSS v2
10.0
AV:N/AC:L/Au:N/C:C/I:C/A:C
EPSS (30-day exploit likelihood)
88%
Higher than 99.7% of all scored CVEs
Exploited in the wild
No known
Not in a known-exploited catalog
Public exploit code
Available
Proof-of-concept or weaponized module
Get the full CVE-2015-0240 brief as a PDF
Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.
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.
Affected Products
768 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| SambaSamba | 3.5.0, 3.5.1, 3.5.10, 3.5.11, 3.5.12, 3.5.13, 3.5.14, 3.5.15 | 2:4.1.17+dfsg-1 |
| Ubuntu LinuxCanonical | 12.04, 14.04, 14.10 | n/a |
| Suse Linux Enterprise DesktopNovell | 12 | n/a |
| Suse Linux Enterprise ServerNovell | 12 | n/a |
| Suse Linux Enterprise Software Development KitNovell | 12 | n/a |
Patched Releases
ctdb
4.2.4-34.1, 4.5.0-1.1
ctdb-debuginfo
4.2.4-34.1
ctdb-devel
4.2.4-34.1
ctdb-pcp-pmda
4.2.4-34.1, 4.5.0-1.1
ctdb-pcp-pmda-debuginfo
4.2.4-34.1
ctdb-tests
4.2.4-34.1, 4.5.0-1.1
ctdb-tests-debuginfo
4.2.4-34.1
ldapsmb
1.34b-12.33.39.1, 1.34b-12.56.1
libdcerpc-atsvc-devel
4.1.12-16.1, 4.2.4-34.1
libdcerpc-atsvc0
4.1.12-16.1, 4.2.4-34.1
libdcerpc-atsvc0-32bit
4.2.4-34.1
libdcerpc-atsvc0-debuginfo
4.2.4-34.1
libdcerpc-atsvc0-debuginfo-32bit
4.2.4-34.1
libdcerpc-binding0
4.1.12-16.1, 4.2.4-34.1, 4.5.0-1.1
libdcerpc-binding0-32bit
4.1.12-16.1, 4.2.4-34.1, 4.5.0-1.1
libdcerpc-binding0-debuginfo
4.2.4-34.1
libdcerpc-binding0-debuginfo-32bit
4.2.4-34.1
libdcerpc-devel
4.1.12-16.1, 4.2.4-34.1, 4.5.0-1.1
libdcerpc-samr-devel
4.1.12-16.1, 4.2.4-34.1, 4.5.0-1.1
libdcerpc-samr0
4.1.12-16.1, 4.2.4-34.1, 4.5.0-1.1
libdcerpc-samr0-32bit
4.2.4-34.1, 4.5.0-1.1
libdcerpc-samr0-debuginfo
4.2.4-34.1
libdcerpc-samr0-debuginfo-32bit
4.2.4-34.1
libdcerpc0
4.1.12-16.1, 4.2.4-34.1, 4.5.0-1.1
libdcerpc0-32bit
4.1.12-16.1, 4.2.4-34.1, 4.5.0-1.1
Timeline
Publicly disclosed
Feb 24, 2015
Last updated
Aug 4, 2026
Weakness Type
- CWE-17
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
References
- advisoryRHSA-2015:0249
- advisoryRHSA-2015:0250
- advisoryRHSA-2015:0251
- advisoryRHSA-2015:0252
- advisoryRHSA-2015:0253
FAQ
Common Questions.
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 ServerPas…
Affected: Samba versions 3.5.0, 3.5.1, 3.5.10, 3.5.11, 3.5.12, 3.5.13, 3.5.14, 3.5.15; Ubuntu Linux (Canonical) versions 12.04, 14.04, 14.10; Suse Linux Enterprise Desktop (Novell) versions 12, among others. The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
Public exploit code is available.
Fixed versions are available, including ctdb 4.2.4-34.1, ctdb 4.5.0-1.1, ctdb-debuginfo 4.2.4-34.1.
Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Is CVE-2015-0240 Running On Your Attack Surface?
Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.
Request A Demo