CVE-2015-0240
HighExploitation Probability (EPSS)
Very high risk100th percentile - higher than 100% of all known CVEs
Summary
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, allowing remote attackers to execute arbitrary code via crafted Netlogon packets.
Risk Assessment
Attackers can exploit this vulnerability to execute arbitrary code remotely, potentially leading to system takeover and access to sensitive data.
Recommendation
It is recommended to upgrade to the latest version of Samba to mitigate this vulnerability and to monitor systems for suspicious activity.
Other vulnerabilities in Samba
See all- CVE-2026-135114Unknown
This CVE has been rejected at Upstream (reference: https://bugzilla.samba.org/show_bug.cgi?id=16403#c12). No confirmed vulnerability to describe.
- CVE-2026-120377Unknown
This CVE has been rejected at Upstream (reference: https://bugzilla.samba.org/show_bug.cgi?id=16169#c6). No confirmed vulnerability to describe.
- CVE-2026-120369Unknown
This CVE has been rejected at Upstream (reference: https://bugzilla.samba.org/show_bug.cgi?id=16161#c10). No confirmed vulnerability to describe.
- CVE-2026-135106Unknown
This CVE has been rejected by Upstream. The rejection is documented with a reference to the Samba bugzilla.
- CVE-2026-58221Medium
A low-privilege authenticated Samba AD user can modify internal LDB special DNs via LDAP access, enabling a domain takeover.
- CVE-2026-4408Critical
A flaw in Samba allows remote command execution due to improper escaping of shell meta-characters in the 'check password script' feature when using the %u substitution. This affects non-standard configurations with samba-dcerpcd running as a system service.
- CVE-2026-4480Critical
The Samba printing subsystem contains a vulnerability where the client-controlled job description string is passed to the command configured with the 'print command' setting via the '%J' substitution character without escaping shell meta characters. A remote attacker can send a specially crafted print job description containing unescaped shell characters, leading to remote code execution.
- CVE-2025-10230Critical
A flaw was found in Samba, in the front-end WINS hook handling: NetBIOS names from registration packets are passed to a shell without proper validation or escaping. Unsanitized NetBIOS name data from WINS registration packets are inserted into a shell command and executed by the Samba Active Directory Domain Controller's wins hook, allowing an unauthenticated network attacker to achieve remote command execution as the Samba process.
- CVE-2023-3961Critical
A path traversal vulnerability was identified in Samba when processing client pipe names connecting to Unix domain sockets within a private directory. Due to inadequate sanitization of incoming client pipe names, a client can send a pipe name containing Unix directory traversal characters (../), potentially causing SMB clients to connect as root to Unix domain sockets outside the private directory.
- CVE-2017-15275High
Samba before 4.7.3 might allow remote attackers to obtain sensitive information by leveraging failure of the server to clear allocated heap memory.
Original NVD description (English source)
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.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

