UnratedFix available
samba — security advisory
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.
- Products
- samba
- Affected versions
- Not specified
- Fixed versions
- 3.0.27-1
- CVEs
- CVE-2007-5398
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 15:54 UTC · Revision 1
Source evidence
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.
osv:DEBIAN-CVE-2007-5398
samba
Fixed versions: 3.0.27-1
samba
Fixed versions: 3.0.27-1
samba
Fixed versions: 3.0.27-1
Complete source record
{
"id": "77006a0b89adc8227dd58050233858a41f221a91faa7d3f6438e0dc5401543eb",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2007-5398",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2007-5398",
"summary": "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.",
"evidence": "osv:DEBIAN-CVE-2007-5398",
"products": [
{
"name": {
"value": "samba",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "3.0.27-1",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "samba",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "3.0.27-1",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "samba",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "3.0.27-1",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "DEBIAN-CVE-2007-5398",
"aliases": [
"DEBIAN-CVE-2007-5398"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "3.0.27-1"
}
]
}
],
"package": {
"name": "samba",
"purl": "pkg:deb/debian/samba?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2007-5398.json"
},
"ecosystem_specific": {
"urgency": "high"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "3.0.27-1"
}
]
}
],
"package": {
"name": "samba",
"purl": "pkg:deb/debian/samba?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2007-5398.json"
},
"ecosystem_specific": {
"urgency": "high"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "3.0.27-1"
}
]
}
],
"package": {
"name": "samba",
"purl": "pkg:deb/debian/samba?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2007-5398.json"
},
"ecosystem_specific": {
"urgency": "high"
}
}
],
"modified": "2026-10-21T17:47:43.758559838Z",
"provider": "osv",
"upstream": [
"CVE-2007-5398"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2007-5398"
]
},
"related_cves": [
{
"value": "CVE-2007-5398",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 398534,
"published_at": "2007-11-16T18:46:00+00:00"
}