CVE-2015-0240
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.
Key facts
- CVSS score
- 10.0 (v2.0)
- Severity
- HIGH
- CVSS vector
AV:N/AC:L/Au:N/C:C/I:C/A:C- Weakness (CWE)
- CWE-17
- EPSS score
- 87.6% (100th percentile)
- In CISA KEV
- No
- In EU EUVD
- Yes (EUVD-2015-0262)
- Published
- February 24, 2015
- NVD last modified
- June 17, 2026
- Status
- Modified
EU Vulnerability Database (EUVD)
This vulnerability is also tracked by ENISA as EUVD-2015-0262 in the EU Vulnerability Database. Last updated in EUVD on May 9, 2025.
View on the EU Vulnerability DatabaseAffected products
- canonical / ubuntu linux
- canonical / ubuntu linux
- canonical / ubuntu linux
- novell / suse linux enterprise desktop
- novell / suse linux enterprise server
- novell / suse linux enterprise software development kit
- redhat / enterprise linux
- redhat / enterprise linux
- redhat / enterprise linux
- samba / samba
- samba / samba
- samba / samba
- samba / samba
- samba / samba
- samba / samba
- samba / samba
- samba / samba
- samba / samba
- samba / samba
- samba / samba
- samba / samba
- samba / samba
- samba / samba
- samba / samba
- samba / samba
- samba / samba
- samba / samba
- samba / samba
- samba / samba
- samba / samba
- samba / samba
- samba / samba
- samba / samba
- samba / samba
- samba / samba
- samba / samba
- samba / samba
- samba / samba
- samba / samba
- samba / samba
- samba / samba
- samba / samba
- samba / samba
- samba / samba
- samba / samba
- samba / samba
- samba / samba
- samba / samba
- samba / samba
- samba / samba
and 46 more…
Certified products that may be affected
6 FIPS 140 or Common Criteria certified products, from automated matching by sec-certs.org.
- Red Hat Enterprise Linux 5 OpenSSH-Server Cryptographic Module - Red Hat®, Inc. - FIPS 140 1384 - historical
- Red Hat Enterprise Linux 5 OpenSSH Client Cryptographic Module - Red Hat®, Inc. - FIPS 140 1385 - historical
- Red Hat Enterprise Linux 5 OpenSwan Cryptographic Module - Red Hat®, Inc. - FIPS 140 1386 - historical
- Red Hat Enterprise Linux 5 Kernel Crypto API Cryptographic Module - Red Hat®, Inc. - FIPS 140 1387 - historical
- Red Hat Enterprise Linux 5 OpenSSL Cryptographic Module - Red Hat®, Inc. - FIPS 140 1320 - historical
See all 6 in the Security Certifications Explorer.
References
- http://advisories.mageia.org/MGASA-2015-0084.html
- http://lists.opensuse.org/opensuse-security-announce/2015-02/msg00028.html
- http://lists.opensuse.org/opensuse-security-announce/2015-02/msg00030.html
- http://lists.opensuse.org/opensuse-security-announce/2015-02/msg00031.html
- http://lists.opensuse.org/opensuse-security-announce/2015-02/msg00035.html
- http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00042.html
- http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00047.html
- http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00048.html
- http://marc.info/?l=bugtraq&m=142722696102151&w=2
- http://marc.info/?l=bugtraq&m=143039217203031&w=2
- http://rhn.redhat.com/errata/RHSA-2015-0249.html
- http://rhn.redhat.com/errata/RHSA-2015-0250.html
- http://rhn.redhat.com/errata/RHSA-2015-0251.html
- http://rhn.redhat.com/errata/RHSA-2015-0252.html
- http://rhn.redhat.com/errata/RHSA-2015-0253.html
- http://rhn.redhat.com/errata/RHSA-2015-0254.html
- http://rhn.redhat.com/errata/RHSA-2015-0255.html
- http://rhn.redhat.com/errata/RHSA-2015-0256.html
- http://rhn.redhat.com/errata/RHSA-2015-0257.html
- http://security.gentoo.org/glsa/glsa-201502-15.xml
- http://www.debian.org/security/2015/dsa-3171
- http://www.mandriva.com/security/advisories?name=MDVSA-2015:081
- http://www.mandriva.com/security/advisories?name=MDVSA-2015:082
- http://www.oracle.com/technetwork/topics/security/bulletinjan2015-2370101.html
- http://www.securityfocus.com/bid/72711
- http://www.securitytracker.com/id/1031783
- http://www.slackware.com/security/viewer.php?l=slackware-security&y=2015&m=slackware-security.360345
- http://www.ubuntu.com/usn/USN-2508-1
- https://access.redhat.com/articles/1346913
- https://bugzilla.redhat.com/show_bug.cgi?id=1191325
- https://security.netapp.com/advisory/ntap-20250509-0001/
- https://securityblog.redhat.com/2015/02/23/samba-vulnerability-cve-2015-0240/(Exploit)
- https://support.lenovo.com/product_security/samba_remote_vuln
- https://support.lenovo.com/us/en/product_security/samba_remote_vuln
- https://www.exploit-db.com/exploits/36741/
- https://www.samba.org/samba/security/CVE-2015-0240(Vendor Advisory)
Last updated September 17, 2026 · Source: NVD, CISA KEV, FIRST.org EPSS
Query CVEs from your AI assistant
The CVE/NVD Explorer brain answers CVE questions directly inside Claude, ChatGPT, or any MCP assistant — always up to date, no setup. Add it once and stop pasting advisories into chat.
Add the CVE brain