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.
Published: 2026-12-04
Score: 5.9 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

Vendor Workaround

Disable nmbd where it is not required, or to filter UDP port 138 so the datagram cannot reach nmbd. Not running nmbd, or dropping UDP port 138 before it reaches nmbd, stops the datagram from reaching process_dgram(). The disable netbios setting does not do this. nmbd does not consult that setting.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 04 Dec 2026 07:00:00 +0000

Type Values Removed Values Added
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.
Title Samba: samba4: samba: nmbd host announcement reads past the packet and can stop the daemon
First Time appeared Redhat
Redhat enterprise Linux
Redhat openshift
Redhat rhel Els
Weaknesses CWE-125
CPEs cpe:/a:redhat:openshift:4
cpe:/a:redhat:openshift:5
cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
cpe:/o:redhat:rhel_els:6
cpe:/o:redhat:rhel_els:7
Vendors & Products Redhat
Redhat enterprise Linux
Redhat openshift
Redhat rhel Els
References
Metrics cvssV3_1

{'score': 5.9, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H'}


Subscriptions

Redhat Enterprise Linux Openshift Rhel Els
cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2026-12-04T08:28:44.538Z

Reserved: 2026-11-02T02:54:33.677Z

Link: CVE-2026-120376

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-12-04T07:17:26.583

Modified: 2026-12-04T09:17:04.630

Link: CVE-2026-120376

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses