CVE-2026-120376: Samba: samba4: samba: nmbd host announcement reads past the packet and can stop the daemon
An out-of-bounds read flaw has been found in the processhostannounce() function in source3/nmbd/nmbdincomingdgrams.c of the NetBIOS browse handling in the Samba package. The function reads the announcement comment without checking that the comment is inside the datagram. The read continues until it finds a zero byte. The same missing check applies to a local master announcement. A network attacker or user who can reach nmbd can send one datagram to UDP port 138 and nmbd can stop and stay stopped until it is started again, leading to a denial of service.
Affected Software
Event History
Frequently Asked Questions
Which systems are exposed to this issue?
Systems running Samba with nmbd reachable on UDP port 138 are exposed. The attacker can be remote or any user able to send a datagram to that service.
Does exploitation require authentication or user interaction?
No. The vector is network-based, with no privileges or user interaction required, although exploitation is rated high complexity.
What is the operational impact if exploitation succeeds?
A crafted host announcement or local master announcement datagram can cause nmbd to stop. It remains stopped until it is started again, disrupting NetBIOS browse handling.
How can administrators determine whether they may be affected?
Identify Samba installations where nmbd is running and UDP port 138 is reachable by potentially untrusted hosts. Review nmbd availability and logs for unexpected daemon termination after receiving NetBIOS browse traffic.