CVE-2015-0240 Code
No CVSS score yet. EPSS 88% estimated probability of exploitation activity in the next 30 days.
On this page
- EPSS
- 88% (unchanged from 88% a week ago; 88% 30 days ago) estimated probability of exploitation activity in the next 30 days; 100th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
- CWE
- CWE-17 Code deprecated by MITRE
- Published
- Modified
- NVD analysis
- Analyzed, since modified
- Record from
- the NVD, synced
Fix and patched versions
- Debian, Ubuntu, Red Hat, SUSE, openSUSE: fixed package versions per release
- Vendor advisory: https://www.samba.org/samba/security/CVE-2015-0240
Ask an AI about this CVE
Show the prompt
Explain CVE-2015-0240 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2015-0240?via=ask-ai-copy and https://cve.bz/cve/CVE-2015-0240?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2015-0240 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
Affected
- canonical:ubuntu_linux
- novell:suse_linux_enterprise_desktop
- novell:suse_linux_enterprise_server
- novell:suse_linux_enterprise_software_development_kit
- redhat:enterprise_linux
- samba:samba
Versions
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| redhat:enterprise_linux | 5 |
| redhat:enterprise_linux | 6.0 |
| redhat:enterprise_linux | 7.0 |
| samba:samba | 3.5.0 |
| samba:samba | 3.5.1 |
| samba:samba | 3.5.2 |
| samba:samba | 3.5.3 |
| samba:samba | 3.5.4 |
| samba:samba | 3.5.5 |
| samba:samba | 3.5.6 |
| samba:samba | 3.5.7 |
| samba:samba | 3.5.8 |
| samba:samba | 3.5.9 |
| samba:samba | 3.5.10 |
| samba:samba | 3.5.11 |
| samba:samba | 3.5.12 |
| samba:samba | 3.5.13 |
| samba:samba | 3.5.14 |
| samba:samba | 3.5.15 |
| samba:samba | 3.5.16 |
| samba:samba | 3.5.17 |
| samba:samba | 3.5.18 |
| samba:samba | 3.5.19 |
| samba:samba | 3.5.20 |
| samba:samba | 3.5.21 |
| samba:samba | 3.5.22 |
| samba:samba | 3.6.0 |
| samba:samba | 3.6.1 |
| samba:samba | 3.6.2 |
| samba:samba | 3.6.10 |
| samba:samba | 3.6.11 |
| samba:samba | 3.6.12 |
| samba:samba | 3.6.13 |
| samba:samba | 3.6.14 |
| samba:samba | 3.6.15 |
| samba:samba | 3.6.16 |
| samba:samba | 3.6.17 |
| samba:samba | 3.6.18 |
| samba:samba | 3.6.19 |
| samba:samba | 3.6.20 |
| samba:samba | 3.6.21 |
| samba:samba | 3.6.22 |
| samba:samba | 3.6.23 |
| samba:samba | 3.6.24 |
| samba:samba | 4.0.0 |
| samba:samba | 4.0.1 |
| samba:samba | 4.0.2 |
| samba:samba | 4.0.3 |
| samba:samba | 4.0.4 |
| samba:samba | 4.0.5 |
| samba:samba | 4.0.6 |
| samba:samba | 4.0.7 |
| samba:samba | 4.0.8 |
| samba:samba | 4.0.9 |
| samba:samba | 4.0.10 |
| samba:samba | 4.0.11 |
| samba:samba | 4.0.12 |
| samba:samba | 4.0.13 |
| samba:samba | 4.0.14 |
| samba:samba | 4.0.15 |
| samba:samba | 4.0.16 |
| samba:samba | 4.0.17 |
| samba:samba | 4.0.18 |
| samba:samba | 4.0.19 |
| samba:samba | 4.0.20 |
| samba:samba | 4.0.21 |
| samba:samba | 4.0.22 |
| samba:samba | 4.0.23 |
| samba:samba | 4.0.24 |
| samba:samba | 4.1.0 |
| samba:samba | 4.1.1 |
| samba:samba | 4.1.2 |
| samba:samba | 4.1.3 |
| samba:samba | 4.1.4 |
| samba:samba | 4.1.5 |
| samba:samba | 4.1.6 |
| samba:samba | 4.1.7 |
| samba:samba | 4.1.8 |
| samba:samba | 4.1.9 |
| samba:samba | 4.1.10 |
| samba:samba | 4.1.11 |
| samba:samba | 4.1.12 |
| samba:samba | 4.1.13 |
| samba:samba | 4.1.14 |
| samba:samba | 4.1.15 |
| samba:samba | 4.1.16 |
| samba:samba | 4.2.0:rc1 |
| samba:samba | 4.2.0:rc2 |
| samba:samba | 4.2.0:rc3 |
| samba:samba | 4.2.0:rc4 |
| novell:suse_linux_enterprise_desktop | 12 |
| novell:suse_linux_enterprise_server | 12 |
| novell:suse_linux_enterprise_software_development_kit | 12 |
| canonical:ubuntu_linux | 12.04 |
| canonical:ubuntu_linux | 14.04 |
| canonical:ubuntu_linux | 14.10 |
Linux distributions
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 6.0 | samba | 2:3.5.6~dfsg-3squeeze12 | DLA-156-1 |
| Debian | 7 | samba | 2:3.6.6-6+deb7u5 | DSA-3171-1 |
| Debian | 12, 13, 14 | samba | 2:4.1.17+dfsg-1 | DEBIAN-CVE-2015-0240 |
| Ubuntu | 14.04:LTS | samba | 2:4.1.6+dfsg-1ubuntu2.14.04.7 | UBUNTU-CVE-2015-0240 USN-2508-1 |
| Red Hat | enterprise_linux:5::client | samba3x, samba3x-doc, samba3x-swat and 5 more | 0:3.6.23-9.el5_11 | RHSA-2015:0249 |
| Red Hat | enterprise_linux:5::client_workstation | samba3x, samba3x-debuginfo, samba3x-winbind-devel | 0:3.6.23-9.el5_11 | RHSA-2015:0249 |
| Red Hat | enterprise_linux:5::server | samba3x, samba3x-doc, samba3x-swat and 6 more | 0:3.6.23-9.el5_11 | RHSA-2015:0249 |
| Red Hat | enterprise_linux:6::client, enterprise_linux:6::computenode, enterprise_linux:6::server and 1 more | samba, samba-doc, samba-swat and 11 more | 0:3.6.23-14.el6_6 | RHSA-2015:0251 |
| Red Hat | enterprise_linux:6::client, enterprise_linux:6::computenode, enterprise_linux:6::server and 1 more | samba4, samba4-dc, samba4-libs and 12 more | 0:4.0.0-66.el6_6.rc4 | RHSA-2015:0250 |
| Red Hat | enterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 more | samba, samba-dc, samba-libs and 18 more | 0:4.1.1-38.el7_0 | RHSA-2015:0252 |
| Red Hat | rhel_eus:5.9 | samba3x, samba3x-doc, samba3x-swat and 6 more | 0:3.6.6-0.131.el5_9 | RHSA-2015:0253 |
| Red Hat | rhel_eus:6.4::computenode, rhel_eus:6.4::server | samba, samba-doc, samba-swat and 10 more | 0:3.6.9-151.el6_4.3 | RHSA-2015:0254 |
| Red Hat | rhel_eus:6.4::computenode, rhel_eus:6.4::server | samba4, samba4-dc, samba4-libs and 12 more | 0:4.0.0-57.el6_4.rc4 | RHSA-2015:0255 |
| Red Hat | rhel_eus:6.5::computenode, rhel_eus:6.5::server | samba, samba-doc, samba-swat and 10 more | 0:3.6.9-171.el6_5 | RHSA-2015:0254 |
| Red Hat | rhel_eus:6.5::computenode, rhel_eus:6.5::server | samba4, samba4-dc, samba4-libs and 12 more | 0:4.0.0-65.el6_5.rc4 | RHSA-2015:0255 |
| Red Hat | rhel_mission_critical:5.6 | samba3x, samba3x-doc, samba3x-swat and 6 more | 0:3.5.4-0.70.el5_6.4 | RHSA-2015:0253 |
| 3 more for Red Hat in the JSON and on Red Hat's page. | ||||
| SUSE | Linux Enterprise Desktop 12, Linux Enterprise Server 12, Linux Enterprise Server for SAP Applications 12 and 1 more | samba | 4.1.12-16.1 | SUSE-SU-2015:0353-1 |
| openSUSE | Tumbleweed | samba | 4.5.0-1.1 | openSUSE-SU-2024:10069-1 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.
Red Hat
Red Hat rates this Critical.
This issue does not affect the version of samba package as shipped with Red Hat Enterprise Linux 4 and 5. It does affect the version of samba as shipped with Red Hat Enterprise Linux 6 and 7, as well as the version of samba3x shipped with Red Hat Enterprise Linux 5 and the version of samba4 as shipped with Red Hat Enterprise Linux 6.
Red Hat Product Security has determined that this vulnerability has Important impact on Red Hat Enterprise Linux 7 because the Samba version shipped in this version of the operating system only executes the vulnerable code after a memory allocation failure, making it more difficult to exploit this flaw.
On Samba versions 4.0.0 and above, add the line:
rpc_server:netlogon=disabled
to the [global] section of your smb.conf. For Samba versions 3.6.x and
earlier, this workaround is not available.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 5 | samba3x-0:3.6.23-9.el5_11 | Fixed 2015-02-23 | RHSA-2015:0249 |
| Red Hat Enterprise Linux 5.6 Long Life | samba3x-0:3.5.4-0.70.el5_6.4 | Fixed 2015-02-23 | RHSA-2015:0253 |
| Red Hat Enterprise Linux 5.9 Extended Update Support | samba3x-0:3.6.6-0.131.el5_9 | Fixed 2015-02-23 | RHSA-2015:0253 |
| Red Hat Enterprise Linux 6 | samba4-0:4.0.0-66.el6_6.rc4 | Fixed 2015-02-23 | RHSA-2015:0250 |
| Red Hat Enterprise Linux 6 | samba-0:3.6.23-14.el6_6 | Fixed 2015-02-23 | RHSA-2015:0251 |
| Red Hat Enterprise Linux 6.2 Advanced Update Support | samba-0:3.5.10-119.el6_2 | Fixed 2015-02-23 | RHSA-2015:0254 |
| Red Hat Enterprise Linux 6.4 Extended Update Support | samba-0:3.6.9-151.el6_4.3 | Fixed 2015-02-23 | RHSA-2015:0254 |
| Red Hat Enterprise Linux 6.4 Extended Update Support | samba4-0:4.0.0-57.el6_4.rc4 | Fixed 2015-02-23 | RHSA-2015:0255 |
| Red Hat Enterprise Linux 6.5 Extended Update Support | samba-0:3.6.9-171.el6_5 | Fixed 2015-02-23 | RHSA-2015:0254 |
| Red Hat Enterprise Linux 6.5 Extended Update Support | samba4-0:4.0.0-65.el6_5.rc4 | Fixed 2015-02-23 | RHSA-2015:0255 |
| Red Hat Enterprise Linux 7 | samba-0:4.1.1-38.el7_0 | Fixed 2015-02-23 | RHSA-2015:0252 |
| Red Hat Storage 2.1 | samba-0:3.6.9-167.10.3.el6rhs | Fixed 2015-02-23 | RHSA-2015:0257 |
| Red Hat Storage 3 for RHEL 6 | samba-0:3.6.509-169.6.el6rhs | Fixed 2015-02-23 | RHSA-2015:0256 |
| Red Hat Enterprise Linux 4 | samba | Not affected | |
| Red Hat Enterprise Linux 5 | samba | Not affected |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2015-0240.
Public exploits
- Exploit-DB Samba < 3.6.2 (x86) - Denial of Service (PoC)
- Metasploit Samba _netr_ServerPasswordSet Uninitialized Credential State
References
- https://www.samba.org/samba/security/CVE-2015-0240
- 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://securityblog.redhat.com/2015/02/23/samba-vulnerability-cve-2015-0240/
- 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://security.netapp.com/advisory/ntap-20250509-0001/