CVE-2015-0240Samba Memory Corruption
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…
Published Feb 24, 2015 · Updated Sep 9, 2026 · Also known as DEBIAN-CVE-2015-0240, DLA-156-1, DSA-3171-1, ECHO-2110-1c89-9bef, MGASA-2015-0084, 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. A public exploit is reported by tracking sources, but no code link is listed yet.
- 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.
Scores
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
Exploit maturity
Proof of concept
ATLAS score
57/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Not listed
Federal due date
None
No federal due date
Ransomware use
Not reported
Attributed actors
None named
Exploit & Defence Guidance
Exploit maturity
Proof of concept
Public exploit code
1
Proof-of-concept links
In-the-wild evidence
1
Reports of active use
Advisories And Exploit References
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
770 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
Sep 9, 2026
Weakness Type
- CWE-17
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
References
- advisorysecurity-tracker.debian.org · CVE-2015-0240
- advisoryubuntu.com · CVE-2015-0240
- advisorycve.org · CVERecord
- advisorysamba.org · CVE-2015-0240
- advisoryRHSA-2015:0249
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.
A public exploit is reported by tracking sources, but no code link is listed yet.
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 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo