
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-120376 is an out-of-bounds read vulnerability in the process_host_announce() function within source3/nmbd/nmbd_incomingdgrams.c of Samba's NetBIOS browse handling. The flaw allows an unauthenticated network attacker to send a single crafted UDP datagram to port 138, causing the nmbd daemon to crash and remain stopped until manually restarted. All Samba versions from 3.0.0 onward are affected, as well as Red Hat products shipping Samba (including RHEL variants and OpenShift CoreOS images). It was published on December 4, 2026, with a CVSS v3.1 base score of 5.9 (Medium) (Red Hat Advisory, Github Advisory).
The root cause is CWE-125 (Out-of-bounds Read): the process_host_announce() function reads an announcement comment from a NetBIOS datagram without first verifying that the comment field lies within the datagram boundaries. The read proceeds byte-by-byte until a null (zero) byte is encountered, potentially reading beyond the allocated buffer into unmapped memory. The same missing bounds check also affects local master announcements. Additionally, the Red Hat Bugzilla report details a related vector in process_election() within nmbd_elections.c, where fixed-offset reads occur without validating the election body length, reachable via a crafted SMBtrans mailslot datagram with manipulated DataOffset/DataLength values. No authentication or user interaction is required; the attacker only needs network reachability to UDP port 138 (Red Hat Advisory, Red Hat Bugzilla).
Successful exploitation causes the nmbd daemon to crash and remain stopped until manually restarted, resulting in a complete loss of NetBIOS name service availability. There is no demonstrated confidentiality or integrity impact — the vulnerability is purely a denial-of-service condition. In environments relying on nmbd for Windows network browsing and NetBIOS name resolution, this could disrupt file sharing and network discovery services until an administrator intervenes (Red Hat Advisory, Github Advisory).
No public proof-of-concept exploit code is known to exist, and there is no evidence of in-the-wild exploitation at this time (Github Advisory). The EPSS score is 0.0, reflecting a currently low probability of exploitation. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Attack complexity is rated High because, while the out-of-bounds read always occurs, nmbd exits only when strlen() reaches unmapped memory before encountering a null byte — a condition the attacker cannot directly control (Red Hat Advisory).
nmbd daemon with UDP port 138 accessible, using network scanning tools such as Nmap (nmap -sU -p 138 <target>) or passive NetBIOS traffic analysis.nmbd is listening for (e.g., the workgroup or host name), containing a host announcement or local master announcement packet where the announcement comment field extends beyond the datagram boundary — specifically, omitting the null terminator within the datagram payload.nmbd's process_host_announce() reads past the end of the datagram buffer seeking a null byte, eventually accessing unmapped memory and causing a segmentation fault.nmbd crashes and remains stopped, disrupting NetBIOS name services until an administrator manually restarts the daemon (Red Hat Advisory, Red Hat Bugzilla)./var/log/samba/log.nmbd) showing nmbd process termination with a segmentation fault or signal 11 (SIGSEGV); absence of expected nmbd heartbeat or registration log entries following the crash.nmbd process from the process list (ps aux | grep nmbd) without a scheduled restart; repeated nmbd crash-restart cycles if a watchdog is configured./var/lib/samba/ following an unexpected nmbd crash.Red Hat recommends disabling nmbd where it is not required, or filtering UDP port 138 at the network perimeter or host firewall to prevent untrusted datagrams from reaching nmbd. Note that the disable netbios Samba configuration setting does not prevent nmbd from processing these datagrams. A patch is referenced in the GitHub Advisory (GHSA-mgpj-j7w6-4rpw), though specific fixed Samba version numbers have not yet been published. The proposed code fix involves propagating the election payload length into process_election() and rejecting undersized bodies before any fixed-offset reads (Red Hat Advisory, Github Advisory, Red Hat Bugzilla).
Red Hat Product Security rated this vulnerability as Moderate impact, noting that while the flaw is reachable in the default nmbd configuration without authentication, the High attack complexity (due to the probabilistic nature of the crash) limits the overall severity. Red Hat credited AISLE Research with discovering and reporting the issue. The CVE status remains "Awaiting Analysis" as of publication, and no significant broader media coverage or notable researcher commentary beyond the official advisories has been observed (Red Hat Advisory, Github Advisory).
Fix availability across major Linux distributions and their releases.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."