# CVE-2015-0240

- Priority: **Prioritise**
- Reason: Weaponized exploit (Metasploit, Date unknown)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2015-02-24 · Modified: 2025-05-09
- Aliases: MGASA-2015-0084, SUSE-SU-2015:0353-1, RHSA-2015:0249, RHSA-2015:0250, RHSA-2015:0251, RHSA-2015:0252, RHSA-2015:0253, RHSA-2015:0254, RHSA-2015:0255, RHSA-2015:0256, RHSA-2015:0257, UBUNTU-CVE-2015-0240, USN-2508-1, DEBIAN-CVE-2015-0240, DLA-156-1, DSA-3171-1
- Record: https://cvemate.com/vulnerability/CVE-2015-0240 · JSON: https://cvemate.com/vulnerability/CVE-2015-0240/json

## Description

```text
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.
```

## Signals

- CVSS: 10 high (v2.0, NVD) AV:N/AC:L/Au:N/C:C/I:C/A:C
- EPSS: 88.185%, percentile 99.766%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 3 (reference, exploit-database, metasploit)

## Affected (first 20 of 63)

- canonical ubuntu\_linux: 12.04 \| 14.04 \| 14.10
- debian samba (Debian): \< 2:4.1.17+dfsg-1 \| \< 2:3.5.6~dfsg-3squeeze12 \| \< 2:3.6.6-6+deb7u5
- ubuntu samba (Ubuntu): \< 2:4.1.6+dfsg-1ubuntu2.14.04.7
- mageia samba (Mageia): \< 3.6.25-1.mga4
- novell suse\_linux\_enterprise\_desktop: 12
- novell suse\_linux\_enterprise\_server: 12
- novell suse\_linux\_enterprise\_software\_development\_kit: 12
- redhat enterprise\_linux: 5 \| 6.0 \| 7.0
- redhat libsmbclient (Red Hat): \< 0:3.6.23-14.el6\_6 \| \< 0:4.1.1-38.el7\_0 \| \< 0:3.6.9-151.el6\_4.3 \| \< 0:3.6.9-171.el6\_5 \| \< 0:3.5.10-119.el6\_2 \| \< 0:3.6.509-169.6.el6rhs \| \< 0:3.6.9-167.10.3.el6rhs
- redhat libsmbclient-devel (Red Hat): \< 0:3.6.23-14.el6\_6 \| \< 0:4.1.1-38.el7\_0 \| \< 0:3.6.9-151.el6\_4.3 \| \< 0:3.6.9-171.el6\_5 \| \< 0:3.5.10-119.el6\_2 \| \< 0:3.6.509-169.6.el6rhs \| \< 0:3.6.9-167.10.3.el6rhs
- redhat libwbclient (Red Hat): \< 0:4.1.1-38.el7\_0
- redhat libwbclient-devel (Red Hat): \< 0:4.1.1-38.el7\_0
- redhat samba (Red Hat): \< 0:3.6.23-14.el6\_6 \| \< 0:4.1.1-38.el7\_0 \| \< 0:3.6.9-151.el6\_4.3 \| \< 0:3.6.9-171.el6\_5 \| \< 0:3.5.10-119.el6\_2 \| \< 0:3.6.509-169.6.el6rhs \| \< 0:3.6.9-167.10.3.el6rhs
- redhat samba-client (Red Hat): \< 0:3.6.23-14.el6\_6 \| \< 0:4.1.1-38.el7\_0 \| \< 0:3.6.9-151.el6\_4.3 \| \< 0:3.6.9-171.el6\_5 \| \< 0:3.5.10-119.el6\_2 \| \< 0:3.6.509-169.6.el6rhs \| \< 0:3.6.9-167.10.3.el6rhs
- redhat samba-common (Red Hat): \< 0:3.6.23-14.el6\_6 \| \< 0:4.1.1-38.el7\_0 \| \< 0:3.6.9-151.el6\_4.3 \| \< 0:3.6.9-171.el6\_5 \| \< 0:3.5.10-119.el6\_2 \| \< 0:3.6.509-169.6.el6rhs \| \< 0:3.6.9-167.10.3.el6rhs
- redhat samba-dc (Red Hat): \< 0:4.1.1-38.el7\_0
- redhat samba-dc-libs (Red Hat): \< 0:4.1.1-38.el7\_0
- redhat samba-debuginfo (Red Hat): \< 0:3.6.23-14.el6\_6 \| \< 0:4.1.1-38.el7\_0 \| \< 0:3.6.9-151.el6\_4.3 \| \< 0:3.6.9-171.el6\_5 \| \< 0:3.5.10-119.el6\_2 \| \< 0:3.6.509-169.6.el6rhs \| \< 0:3.6.9-167.10.3.el6rhs
- redhat samba-devel (Red Hat): \< 0:4.1.1-38.el7\_0
- redhat samba-doc (Red Hat): \< 0:3.6.23-14.el6\_6 \| \< 0:3.6.9-151.el6\_4.3 \| \< 0:3.6.9-171.el6\_5 \| \< 0:3.5.10-119.el6\_2 \| \< 0:3.6.509-169.6.el6rhs \| \< 0:3.6.9-167.10.3.el6rhs

## References (first 20 of 75)

- <http://marc.info/?l=bugtraq&m=143039217203031&w=2>
- <http://rhn.redhat.com/errata/RHSA-2015-0257.html>
- <http://rhn.redhat.com/errata/RHSA-2015-0254.html>
- <https://securityblog.redhat.com/2015/02/23/samba-vulnerability-cve-2015-0240/>
- <http://advisories.mageia.org/MGASA-2015-0084.html>
- <http://www.slackware.com/security/viewer.php?l=slackware-security&y=2015&m=slackware-security.360345>
- <https://www.exploit-db.com/exploits/36741/>
- <http://rhn.redhat.com/errata/RHSA-2015-0250.html>
- <https://support.lenovo.com/product_security/samba_remote_vuln>
- <http://www.ubuntu.com/usn/USN-2508-1>
- <http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00042.html>
- <http://lists.opensuse.org/opensuse-security-announce/2015-02/msg00035.html>
- <http://rhn.redhat.com/errata/RHSA-2015-0253.html>
- <https://www.samba.org/samba/security/CVE-2015-0240>
- <http://www.securityfocus.com/bid/72711>
- <http://rhn.redhat.com/errata/RHSA-2015-0249.html>
- <http://rhn.redhat.com/errata/RHSA-2015-0251.html>
- <http://security.gentoo.org/glsa/glsa-201502-15.xml>
- <http://www.debian.org/security/2015/dsa-3171>
- <http://www.securitytracker.com/id/1031783>

---

Data as of 2026-12-05T07:57:58.368Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
