Vulnerabilities · 2007 · Samba
CVE-2007-5398
Samba vulnerability
Stack-based buffer overflow in the reply_netbios_packet function in nmbd/nmbd_packets.c in nmbd in Samba 3.0.0 through 3.0.26a, when operating as a WINS server, allows remote attackers to execute arbitrary code via crafted WINS Name Registration requests followed by a WINS Name Query request.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Samba. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Samba runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- secunia.com/advisories/27450 · Vendor Advisory
- docs.info.apple.com/article.html?artnum=307179
- lists.apple.com/archives/security-announce/2007/Dec/msg00002.html
- lists.vmware.com/pipermail/security-announce/2008/000002.html
- marc.info/?l=bugtraq&m=120524782005154&w=2
- secunia.com/advisories/27679
- secunia.com/advisories/27682
- secunia.com/advisories/27691
- nvd.nist.gov/vuln/detail/CVE-2007-5398
- cve.org/CVERecord?id=CVE-2007-5398
More vulnerabilities in Samba products
CVE-2025-0620CVE-2024-12088CVE-2024-12087CVE-2024-12086CVE-2024-12085CVE-2024-12084CVE-2023-42670CVE-2023-42669All 234
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.