{"id":"CVE-2007-5398","aliases":[],"kind":"cve","tier":"cold","status":"published","title":"Stack-based buffer overflow in the reply_netbios_packet function in nmbd/nmbd_packets.c in nmbd in Samba 3.0.0 through…","description":"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.","ai_summary":null,"severity":"critical","cvss":{"score":9.3,"version":"2.0","vector":"AV:N/AC:M/Au:N/C:C/I:C/A:C","source":"NVD"},"scores":[{"score":9.3,"version":"2.0","vector":"AV:N/AC:M/Au:N/C:C/I:C/A:C","source":"nvd"}],"cwe":["CWE-119"],"remote":true,"remote_unauth":true,"epss":{"score":0.11396,"percentile":0.96107,"date":"2026-12-03"},"kev":{"listed":false,"added":null,"due":null,"ransomware":null},"exploit":{"public":false,"exploitdb_ids":[]},"affected":[],"affected_products":[{"vendor":"n/a","product":"n/a","versions":"","source":"nvd"}],"ai_versions":null,"mitigation":"No fix listed yet: follow the vendor advisory.","technologies":[],"references":[{"url":"http://www.redhat.com/support/errata/RHSA-2007-1016.html","kind":"vendor"},{"url":"https://usn.ubuntu.com/544-1/","kind":"vendor"},{"url":"http://slackware.com/security/viewer.php?l=slackware-security&y=2007&m=slackware-security.447739","kind":"vendor"},{"url":"http://marc.info/?l=bugtraq&m=120524782005154&w=2","kind":"vendor"},{"url":"http://www.redhat.com/support/errata/RHSA-2007-1013.html","kind":"vendor"},{"url":"http://www11.itrc.hp.com/service/cki/docDisplay.do?docId=emr_na-c01475657","kind":"vendor"},{"url":"http://www.debian.org/security/2007/dsa-1409","kind":"vendor"},{"url":"http://secunia.com/advisories/27450","kind":"vendor"},{"url":"http://lists.apple.com/archives/security-announce/2007/Dec/msg00002.html","kind":"vendor"},{"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2007:224","kind":"vendor"},{"url":"http://www.gentoo.org/security/en/glsa/glsa-200711-29.xml","kind":"vendor"},{"url":"https://www.redhat.com/archives/fedora-package-announce/2007-November/msg00472.html","kind":"vendor"},{"url":"http://sunsolve.sun.com/search/document.do?assetkey=1-26-237764-1","kind":"vendor"},{"url":"http://www.redhat.com/support/errata/RHSA-2007-1017.html","kind":"vendor"},{"url":"http://www.novell.com/linux/security/advisories/2007_65_samba.html","kind":"vendor"},{"url":"http://secunia.com/advisories/27691","kind":"other"},{"url":"http://secunia.com/secunia_research/2007-90/advisory/","kind":"other"},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10230","kind":"other"},{"url":"http://www.vupen.com/english/advisories/2007/4238","kind":"other"},{"url":"http://www.us-cert.gov/cas/techalerts/TA07-352A.html","kind":"other"},{"url":"http://secunia.com/advisories/30835","kind":"other"},{"url":"http://secunia.com/advisories/29341","kind":"other"},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A5811","kind":"other"},{"url":"http://secunia.com/advisories/28136","kind":"other"},{"url":"http://www.vupen.com/english/advisories/2007/3869","kind":"other"},{"url":"http://secunia.com/advisories/27679","kind":"other"},{"url":"http://secunia.com/advisories/27682","kind":"other"},{"url":"http://secunia.com/advisories/27701","kind":"other"},{"url":"http://securitytracker.com/id?1018953","kind":"other"},{"url":"http://www.vupen.com/english/advisories/2008/1908","kind":"other"},{"url":"http://secunia.com/advisories/27720","kind":"other"},{"url":"http://secunia.com/advisories/27742","kind":"other"},{"url":"http://secunia.com/advisories/30484","kind":"other"},{"url":"http://www.securityfocus.com/archive/1/485936/100/0/threaded","kind":"other"},{"url":"http://secunia.com/advisories/27731","kind":"other"},{"url":"http://lists.vmware.com/pipermail/security-announce/2008/000002.html","kind":"other"},{"url":"http://secunia.com/advisories/27787","kind":"other"},{"url":"http://docs.info.apple.com/article.html?artnum=307179","kind":"other"},{"url":"http://secunia.com/advisories/28368","kind":"other"},{"url":"http://www.securityfocus.com/bid/26455","kind":"other"},{"url":"https://issues.rpath.com/browse/RPL-1894","kind":"other"},{"url":"http://www.securityfocus.com/archive/1/483744/100/0/threaded","kind":"other"},{"url":"http://secunia.com/advisories/27927","kind":"other"},{"url":"http://www.vupen.com/english/advisories/2008/1712/references","kind":"other"},{"url":"http://www.vupen.com/english/advisories/2008/0859/references","kind":"other"},{"url":"http://securityreason.com/securityalert/3372","kind":"other"},{"url":"http://us1.samba.org/samba/security/CVE-2007-5398.html","kind":"other"},{"url":"http://www.vmware.com/security/advisories/VMSA-2008-0001.html","kind":"other"},{"url":"http://www.vupen.com/english/advisories/2008/0064","kind":"other"},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/38502","kind":"other"},{"url":"http://www.securityfocus.com/archive/1/486859/100/0/threaded","kind":"other"}],"workarounds":null,"vendors":["samba"],"products":["samba"],"cpes":["cpe:2.3:a:samba:samba:3.0.0:*:*:*:*:*:*:*","cpe:2.3:a:samba:samba:3.0.10:*:*:*:*:*:*:*","cpe:2.3:a:samba:samba:3.0.11:*:*:*:*:*:*:*","cpe:2.3:a:samba:samba:3.0.12:*:*:*:*:*:*:*","cpe:2.3:a:samba:samba:3.0.13:*:*:*:*:*:*:*","cpe:2.3:a:samba:samba:3.0.14:*:*:*:*:*:*:*","cpe:2.3:a:samba:samba:3.0.14a:*:*:*:*:*:*:*","cpe:2.3:a:samba:samba:3.0.15:*:*:*:*:*:*:*","cpe:2.3:a:samba:samba:3.0.16:*:*:*:*:*:*:*","cpe:2.3:a:samba:samba:3.0.17:*:*:*:*:*:*:*","cpe:2.3:a:samba:samba:3.0.18:*:*:*:*:*:*:*","cpe:2.3:a:samba:samba:3.0.19:*:*:*:*:*:*:*","cpe:2.3:a:samba:samba:3.0.1:*:*:*:*:*:*:*","cpe:2.3:a:samba:samba:3.0.20:*:*:*:*:*:*:*","cpe:2.3:a:samba:samba:3.0.20a:*:*:*:*:*:*:*","cpe:2.3:a:samba:samba:3.0.20b:*:*:*:*:*:*:*","cpe:2.3:a:samba:samba:3.0.21:*:*:*:*:*:*:*","cpe:2.3:a:samba:samba:3.0.21a:*:*:*:*:*:*:*","cpe:2.3:a:samba:samba:3.0.21b:*:*:*:*:*:*:*","cpe:2.3:a:samba:samba:3.0.21c:*:*:*:*:*:*:*","cpe:2.3:a:samba:samba:3.0.22:*:*:*:*:*:*:*","cpe:2.3:a:samba:samba:3.0.23:*:*:*:*:*:*:*","cpe:2.3:a:samba:samba:3.0.23a:*:*:*:*:*:*:*","cpe:2.3:a:samba:samba:3.0.23b:*:*:*:*:*:*:*","cpe:2.3:a:samba:samba:3.0.23c:*:*:*:*:*:*:*","cpe:2.3:a:samba:samba:3.0.23d:*:*:*:*:*:*:*","cpe:2.3:a:samba:samba:3.0.24:*:*:*:*:*:*:*","cpe:2.3:a:samba:samba:3.0.25:*:*:*:*:*:*:*","cpe:2.3:a:samba:samba:3.0.25:pre1:*:*:*:*:*:*","cpe:2.3:a:samba:samba:3.0.25:pre2:*:*:*:*:*:*","cpe:2.3:a:samba:samba:3.0.25:rc1:*:*:*:*:*:*","cpe:2.3:a:samba:samba:3.0.25:rc2:*:*:*:*:*:*","cpe:2.3:a:samba:samba:3.0.25:rc3:*:*:*:*:*:*","cpe:2.3:a:samba:samba:3.0.25a:*:*:*:*:*:*:*","cpe:2.3:a:samba:samba:3.0.25b:*:*:*:*:*:*:*","cpe:2.3:a:samba:samba:3.0.25c:*:*:*:*:*:*:*","cpe:2.3:a:samba:samba:3.0.26:*:*:*:*:*:*:*","cpe:2.3:a:samba:samba:3.0.26a:*:*:*:*:*:*:*","cpe:2.3:a:samba:samba:3.0.2:*:*:*:*:*:*:*","cpe:2.3:a:samba:samba:3.0.2a:*:*:*:*:*:*:*","cpe:2.3:a:samba:samba:3.0.3:*:*:*:*:*:*:*","cpe:2.3:a:samba:samba:3.0.4:*:*:*:*:*:*:*","cpe:2.3:a:samba:samba:3.0.4:rc1:*:*:*:*:*:*","cpe:2.3:a:samba:samba:3.0.5:*:*:*:*:*:*:*","cpe:2.3:a:samba:samba:3.0.6:*:*:*:*:*:*:*","cpe:2.3:a:samba:samba:3.0.7:*:*:*:*:*:*:*","cpe:2.3:a:samba:samba:3.0.8:*:*:*:*:*:*:*","cpe:2.3:a:samba:samba:3.0.9:*:*:*:*:*:*:*"],"published_at":"2007-11-16T18:00:00.000Z","modified_at":"2026-06-16T22:46:02.827Z","promoted_at":null,"attribution":[{"source":"CVE Program","text":"CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation.","url":"https://www.cve.org/Legal/TermsOfUse"},{"source":"NVD","text":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","url":"https://nvd.nist.gov/vuln/detail/CVE-2007-5398"}],"links":{"html":"https://flawdb.com/CVE-2007-5398","markdown":"https://flawdb.com/CVE-2007-5398.md","json":"https://flawdb.com/api/v1/entries/CVE-2007-5398"}}