Original 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 software
- Samba = 4.0.17= 3.5.0= 4.0.22= 3.5.15= 3.6.19= 4.0.4 exact match
Details
- Published
- 2015-02-24
- Last modified
- 2026-06-17
- CVSS vector
AV:N/AC:L/Au:N/C:C/I:C/A:C- CWE
- CWE-17
- EPSS (30-day exploit probability)
- 88.19% (percentile 100)
References
- cve.org/CVE-2015-0240
- nvd.nist.gov/vuln/detail/CVE-2015-0240
- advisories.mageia.org/MGASA-2015-0084.html
- lists.opensuse.org/opensuse-security-announce/2015-02/msg00028.html
- lists.opensuse.org/opensuse-security-announce/2015-02/msg00030.html
- lists.opensuse.org/opensuse-security-announce/2015-02/msg00031.html
- lists.opensuse.org/opensuse-security-announce/2015-02/msg00035.html
- lists.opensuse.org/opensuse-security-announce/2016-04/msg00042.html
- lists.opensuse.org/opensuse-security-announce/2016-04/msg00047.html
- lists.opensuse.org/opensuse-security-announce/2016-04/msg00048.html
- marc.info/?l=bugtraq&m=142722696102151&w=2
- marc.info/?l=bugtraq&m=143039217203031&w=2
- rhn.redhat.com/errata/RHSA-2015-0249.html
- rhn.redhat.com/errata/RHSA-2015-0250.html
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.