Remote code executionin CVE-2015-0240.
Weaponized: a Metasploit exploit is public.
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.
- 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.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 18 Nov 2014CVE ID reserved by redhat.
- 24 Feb 2015Published in the CVE List.
- 9 May 2025CVE record last updated.
Attack code anyone can find
Exploit maturity: Weaponized (Metasploit).
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.
Report a link
Nothing on this page links to exploit code right now. To report anything else, write to the contact point in the legal notice.
- marc.info vendor-advisory, x_refsource_HP
- rhn.redhat.com vendor-advisory, x_refsource_REDHAT
- rhn.redhat.com vendor-advisory, x_refsource_REDHAT
- securityblog.redhat.com x_refsource_CONFIRM
- advisories.mageia.org x_refsource_CONFIRM
- www.slackware.com vendor-advisory, x_refsource_SLACKWARE
- rhn.redhat.com vendor-advisory, x_refsource_REDHAT
- support.lenovo.com x_refsource_CONFIRM
- www.ubuntu.com vendor-advisory, x_refsource_UBUNTU
- lists.opensuse.org vendor-advisory, x_refsource_SUSE
- lists.opensuse.org vendor-advisory, x_refsource_SUSE
- rhn.redhat.com vendor-advisory, x_refsource_REDHAT
- www.samba.org x_refsource_CONFIRM
- www.securityfocus.com vdb-entry, x_refsource_BID
- rhn.redhat.com vendor-advisory, x_refsource_REDHAT
- rhn.redhat.com vendor-advisory, x_refsource_REDHAT
- security.gentoo.org vendor-advisory, x_refsource_GENTOO
- www.debian.org vendor-advisory, x_refsource_DEBIAN
- www.securitytracker.com vdb-entry, x_refsource_SECTRACK
- rhn.redhat.com vendor-advisory, x_refsource_REDHAT
- bugzilla.redhat.com x_refsource_CONFIRM
- www.mandriva.com vendor-advisory, x_refsource_MANDRIVA
- marc.info vendor-advisory, x_refsource_HP
- lists.opensuse.org vendor-advisory, x_refsource_SUSE
- support.lenovo.com x_refsource_CONFIRM
- www.mandriva.com vendor-advisory, x_refsource_MANDRIVA
- rhn.redhat.com vendor-advisory, x_refsource_REDHAT
- access.redhat.com x_refsource_CONFIRM
- www.oracle.com x_refsource_CONFIRM
- lists.opensuse.org vendor-advisory, x_refsource_SUSE
Patchminder. CVE-2015-0240: Remote code execution in CVE-2015-0240. https://patchminder.com/cve/cve-2015-0240/ (accessed 5 December 2026).