cvelo
P3 · MediumCVSS 5.9EPSS 0.7%

Samba: samba4: samba: nmbd host announcement reads past the packet and can stop the daemon

  • CVE-2026-120376
  • GHSA-mgpj-j7w6-4rpw
  • EUVD-2026-144053

Summary

A flaw in the process_host_announce() function in Samba's nmbd NetBIOS browse handling reads the announcement comment without verifying that it lies within the received datagram, continuing until a zero byte is found. The same missing check affects local master announcements. A network attacker, or a user able to reach nmbd, can send a single datagram to UDP port 138 to trigger the out-of-bounds read, which can stop nmbd and leave it stopped until restarted, causing denial of service. The record scores the issue at CVSS 5.9 and does not list it in the CISA known exploited vulnerabilities catalog.

AI summary · verify against the vendor advisory

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.

Text from the CVE.org record.

Recommendation

No source states a fixed version. Check the vendor advisory.

Affected

  • Red Hat Red Hat Enterprise Linux 10

    No versions listed

  • Red Hat Red Hat Enterprise Linux 6

    No versions listed

  • Red Hat Red Hat Enterprise Linux 7

    No versions listed

  • Red Hat Red Hat Enterprise Linux 8

    No versions listed

  • Red Hat Red Hat Enterprise Linux 9

    No versions listed

  • Red Hat Red Hat OpenShift Container Platform 4

    No versions listed

  • Red Hat Red Hat OpenShift Container Platform 5

    No versions listed

  • Samba

    Affected versionsFixed in
    from 3.0.0 onwardsnone stated

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.