CVE-2026-120376: Samba: samba4: samba: nmbd host announcement reads past the packet and can stop the daemon

Published Dec 4, 2026
·
Updated

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

1 affected component
Samba Samba

Event History

Dec 4, 2026
CVE Published
via MITRE·06:50 AM
Data Sourced
via MITRE·06:50 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

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.

2

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.

3

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.

4

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203