{"id":"CVE-2026-120376","aliases":["EUVD-2026-144053","GHSA-mgpj-j7w6-4rpw"],"status":"published","title":"Samba: samba4: samba: nmbd host announcement reads past the packet and can stop the daemon","description":"An **out-of-bounds read** flaw has been found in the process_host_announce() function in source3/nmbd/nmbd_incomingdgrams.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.","severity":{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-12-04","score":0.00745,"percentile":0.56138,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-125"],"published":"2026-12-04T06:50:43Z","modified":"2026-12-04T09:30:32Z","products":[{"vendor":"red hat","product":"red hat enterprise linux 10"},{"vendor":"red hat","product":"red hat enterprise linux 6"},{"vendor":"red hat","product":"red hat enterprise linux 7"},{"vendor":"red hat","product":"red hat enterprise linux 8"},{"vendor":"red hat","product":"red hat enterprise linux 9"},{"vendor":"red hat","product":"red hat openshift container platform 4"},{"vendor":"red hat","product":"red hat openshift container platform 5"},{"vendor":"samba","product":"samba"}],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2026-120376","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2474774","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://bugzilla.samba.org/show_bug.cgi?id=16159"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-120376"},{"url":"https://github.com/advisories/GHSA-mgpj-j7w6-4rpw"}],"sources":{"cve":[{"id":"CVE-2026-120376","title":"Samba: samba4: samba: nmbd host announcement reads past the packet and can stop the daemon","description":"An **out-of-bounds read** flaw has been found in the process_host_announce() function in source3/nmbd/nmbd_incomingdgrams.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.","status":"published","published":"2026-12-04T06:50:43.801Z","modified":"2026-12-04T08:28:44.538Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"medium","assessor":"cna"}],"cwes":["CWE-125"],"updated_at":"2026-12-04T08:42:15.418747Z"}],"euvd":[{"id":"EUVD-2026-144053","description":"An **out-of-bounds read** flaw has been found in the process_host_announce() function in source3/nmbd/nmbd_incomingdgrams.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.","status":"published","published":"2026-12-04T06:50:43Z","modified":"2026-12-04T08:28:44Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-12-04T12:40:09.707689Z"}],"ghsa":[{"id":"GHSA-mgpj-j7w6-4rpw","title":"An **out-of-bounds read** flaw has been found in the process_host_announce() function in source3...","description":"An **out-of-bounds read** flaw has been found in the process_host_announce() function in source3/nmbd/nmbd_incomingdgrams.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.","status":"published","published":"2026-12-04T09:30:22Z","modified":"2026-12-04T09:30:32Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-125"],"updated_at":"2026-12-04T09:55:06.306777Z"}],"nvd":[{"id":"CVE-2026-120376","description":"An **out-of-bounds read** flaw has been found in the process_host_announce() function in source3/nmbd/nmbd_incomingdgrams.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.","status":"published","published":"2026-12-04T07:17:26.583Z","modified":"2026-12-04T09:17:04.63Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"medium","assessor":"secondary"}],"cwes":["CWE-125"],"updated_at":"2026-12-04T09:21:59.82775Z"}]}}
