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…
Check your servers for CVE-2015-0240
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2015-0240 affects a package, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 88.1%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 99.8% of all scored CVEs. Scores of 28 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
n/a
n/a
|
affected all versions
|
Is my server affected?
Find the installed version of the package (replace PACKAGE with its name) and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i PACKAGE
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2015-0240 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2015-0240RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2015-0240Alpine
apk list --installed | grep -i PACKAGEWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2015-0240
trivy image --scanners vuln IMAGE | grep CVE-2015-0240
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- HPSBUX03320 marc.info · vendor advisory
- RHSA-2015:0257 rhn.redhat.com · vendor advisory
- RHSA-2015:0254 rhn.redhat.com · vendor advisory
- https://securityblog.redhat.com/2015/02/23/samba-vulnerability-cve-2015-0240/ securityblog.redhat.com
- http://advisories.mageia.org/MGASA-2015-0084.html advisories.mageia.org
- SSA:2015-064-01 slackware.com · vendor advisory
- RHSA-2015:0250 rhn.redhat.com · vendor advisory
- https://support.lenovo.com/product_security/samba_remote_vuln support.lenovo.com
- USN-2508-1 ubuntu.com · vendor advisory
- openSUSE-SU-2016:1064 lists.opensuse.org · vendor advisory
- SUSE-SU-2015:0386 lists.opensuse.org · vendor advisory
- RHSA-2015:0253 rhn.redhat.com · vendor advisory
20 more
- https://www.samba.org/samba/security/CVE-2015-0240 samba.org
- RHSA-2015:0249 rhn.redhat.com · vendor advisory
- RHSA-2015:0251 rhn.redhat.com · vendor advisory
- GLSA-201502-15 security.gentoo.org · vendor advisory
- DSA-3171 debian.org · vendor advisory
- RHSA-2015:0252 rhn.redhat.com · vendor advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1191325 bugzilla.redhat.com
- MDVSA-2015:082 mandriva.com · vendor advisory
- HPSBGN03288 marc.info · vendor advisory
- openSUSE-SU-2016:1106 lists.opensuse.org · vendor advisory
- https://support.lenovo.com/us/en/product_security/samba_remote_vuln support.lenovo.com
- MDVSA-2015:081 mandriva.com · vendor advisory
- RHSA-2015:0255 rhn.redhat.com · vendor advisory
- https://access.redhat.com/articles/1346913 access.redhat.com
- http://www.oracle.com/technetwork/topics/security/bulletinjan2015-2370101.html oracle.com
- openSUSE-SU-2016:1107 lists.opensuse.org · vendor advisory
- openSUSE-SU-2015:0375 lists.opensuse.org · vendor advisory
- RHSA-2015:0256 rhn.redhat.com · vendor advisory
- SUSE-SU-2015:0371 lists.opensuse.org · vendor advisory
- SUSE-SU-2015:0353 lists.opensuse.org · vendor advisory
Exploits and proof of concept
- 36741 exploit-db.com · exploit
Other references
- 72711 securityfocus.com · vdb entry
- 1031783 securitytracker.com · vdb entry
- https://security.netapp.com/advisory/ntap-20250509-0001/ security.netapp.com
Source: the record CVE-2015-0240 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse