patchminder
Weaponized · Metasploit CVE-2015-0240

Remote code executionin CVE-2015-0240.

Published 24 Feb 2015 · Updated 9 May 2025 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Weaponized: a Metasploit exploit is public.

Attack code is public
Severity
Not scored
No source has scored it yet
Attack likelihood
Very high
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 88.2% chance in 30 days · 4 Dec 2026
Fix
Not confirmed
See the vendor advisory
In plain words

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.

What to do now
  • No source names a fix yet. Watch this page or the product for updates; we never guess a fixed version.

Not confirmed by any source yet: affected versions not confirmed; fixed version not confirmed; severity not scored yet. We show these as not confirmed instead of guessing.

Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
n/a
Not confirmed
Not confirmed
CVE record

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 18 Nov 2014
    CVE ID reserved by redhat.
  2. 24 Feb 2015
    Published in the CVE List.
  3. 9 May 2025
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Weaponized (Metasploit).

Metasploit module
1 module
Nuclei scan template
None known
Exploit-DB
1 entry
GitHub proof of concepts
None known
MetasploitSamba _netr_ServerPasswordSet Uninitialized Credential Staterank normalLinked once a fix or workaround is known.
Exploit-DBEDB-ID 36741denial of service exploit for linux_x86, published 13 Apr 2015Linked once a fix or workaround is known.
Referencewww.exploit-db.comnamed as exploit in the CVE recordLinked once a fix or workaround is known.

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

References
Cite this page

Patchminder. CVE-2015-0240: Remote code execution in CVE-2015-0240. https://patchminder.com/cve/cve-2015-0240/ (accessed 5 December 2026).