CVE-2015-0240: Canonical Ubuntu Linux

High severity, CVSS 10.0. EPSS: 88% probability of exploitation activity in the next 30 days.

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.

What to do

No fixed version is stated in NVD's or the CNA's structured data. The description says "before 3.6.25", "before 4.0.25", "before 4.1.17"; check the vendor's advisory for the release that fixes it.

Affected products

Published 2015-02-24. Last modified 2026-06-17.