{"id":"DEBIAN-CVE-2007-5398","details":"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.","modified":"2026-09-01T20:02:48.651040045Z","published":"2007-11-16T18:46:00Z","upstream":["CVE-2007-5398"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2007-5398"}],"affected":[{"package":{"name":"samba","ecosystem":"Debian:12","purl":"pkg:deb/debian/samba?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.27-1"}]}],"ecosystem_specific":{"urgency":"high"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2007-5398.json"}},{"package":{"name":"samba","ecosystem":"Debian:13","purl":"pkg:deb/debian/samba?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.27-1"}]}],"ecosystem_specific":{"urgency":"high"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2007-5398.json"}},{"package":{"name":"samba","ecosystem":"Debian:14","purl":"pkg:deb/debian/samba?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.27-1"}]}],"ecosystem_specific":{"urgency":"high"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2007-5398.json"}}],"schema_version":"1.9.0"}