Skip to content
Vulnerability Intelligence

CVE-2015-0240

CriticalPublic exploit

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 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
ProductAffected versionsFixed in
SambaSamba3.5.0, 3.5.1, 3.5.10, 3.5.11, 3.5.12, 3.5.13, 3.5.14, 3.5.152:4.1.17+dfsg-1
Ubuntu LinuxCanonical12.04, 14.04, 14.10n/a
Suse Linux Enterprise DesktopNovell12n/a
Suse Linux Enterprise ServerNovell12n/a
Suse Linux Enterprise Software Development KitNovell12n/a
20 more affected products in the full CVE brief

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

  1. Publicly disclosed

    Feb 24, 2015

  2. Last updated

    Aug 4, 2026

Weakness Type

  • CWE-17
  • CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer

References

15 more references in the full CVE brief

FAQ

Common Questions.

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