Security Experts:

Connect with us

Hi, what are you looking for?



Remote Code Execution Flaw Patched in Samba 4

All versions of Samba 4.x.x are affected by a vulnerability that could be exploited for remote code execution. Patches for this security hole were released on Friday.

All versions of Samba 4.x.x are affected by a vulnerability that could be exploited for remote code execution. Patches for this security hole were released on Friday.

Samba is an open source software suite that provides file and print services to Server Message Block (SMB) and Common Internet File System (CIFS) clients. The solution is designed for interoperability between Linux/Unix servers and Windows-based clients.

According to the advisory published by Samba developers, the vulnerability affects the nmbd NetBIOS name services daemon. nmbd is a NetBIOS name server that provides NetBIOS over IP naming services to clients.

“A malicious browser can send packets that may overwrite the heap of the target nmbd NetBIOS name services daemon. It may be possible to use this to generate a remote code execution vulnerability as the superuser (root),” reads the advisory from Samba.

All versions of Samba 4.x.x are affected by the flaw. Samba 4.1.11 and 4.0.21 have been released to address the issue, but patches for older versions have also been made available. Vendors and administrators are advised to update their installations or apply the patches to mitigate potential attacks.

As a workaround for users that can’t apply the patches immediately, Samba recommends not running nmbd.

The vulnerability was reported by Volker Lendecke, a Samba Team member at SerNet. Lendecke has also provided a fix for the flaw, which has been assigned the CVE identifier CVE-2014-3560.

Last month, Samba published a series of updates and patches to address a couple of denial-of-service (DoS) issues, one of which, CVE-2014-0244, enabled attacks on unauthenticated nmbd NetBIOS name services. The other security bug fixed in June, CVE-2014-3493, was described as a “denial of service crash involving overwriting memory on an authenticated connection to the smbd file server.”

Written By

Eduard Kovacs (@EduardKovacs) is a contributing editor at SecurityWeek. He worked as a high school IT teacher for two years before starting a career in journalism as Softpedia’s security news reporter. Eduard holds a bachelor’s degree in industrial informatics and a master’s degree in computer techniques applied in electrical engineering.

Click to comment

Expert Insights

Related Content

Cloud Security

VMware vRealize Log Insight vulnerability allows an unauthenticated attacker to take full control of a target system.

IoT Security

Lexmark warns of a remote code execution (RCE) vulnerability impacting over 120 printer models, for which PoC code has been published.

Mobile & Wireless

Apple rolled out iOS 16.3 and macOS Ventura 13.2 to cover serious security vulnerabilities.

Mobile & Wireless

Technical details published for an Arm Mali GPU flaw leading to arbitrary kernel code execution and root on Pixel 6.


Security researchers have observed an uptick in attacks targeting CVE-2021-35394, an RCE vulnerability in Realtek Jungle SDK.

Email Security

Microsoft is urging customers to install the latest Exchange Server updates and harden their environments to prevent malicious attacks.

Mobile & Wireless

Apple’s iOS 12.5.7 update patches CVE-2022-42856, an actively exploited vulnerability, in old iPhones and iPads.


Google has awarded more than $25,000 to the researchers who reported the vulnerabilities patched with the release of the latest Chrome update.