CVEfocus › CVE database › CVE-2007-5398

CVE-2007-5398

EPSS 11.4% (higher than 96% of CVEs)Published 2007-11-16Updated 2024-08-07Assigner: flexera

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.

What to do

Likely to be exploited: EPSS gives a 11% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.

Fixed builds are available from Debian, Red Hat: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

19Fixed

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Debian 14sambaFixed3.0.27-1DEBIAN-CVE-2007-5398
Debian 13sambaFixed3.0.27-1DEBIAN-CVE-2007-5398
Debian 12sambaFixed3.0.27-1DEBIAN-CVE-2007-5398
Red Hat Enterprise Linux 5sambaFixed0:3.0.25b-1.el5_1.2RHSA-2007:1017
Red Hat Enterprise Linux 5samba-clientFixed0:3.0.25b-1.el5_1.2RHSA-2007:1017
Red Hat Enterprise Linux 5samba-commonFixed0:3.0.25b-1.el5_1.2RHSA-2007:1017
Red Hat Enterprise Linux 5samba-swatFixed0:3.0.25b-1.el5_1.2RHSA-2007:1017
Red Hat Enterprise Linux 4sambaFixed0:3.0.25b-1.el4_6.2RHSA-2007:1016
Red Hat Enterprise Linux 4samba-clientFixed0:3.0.25b-1.el4_6.2RHSA-2007:1016
Red Hat Enterprise Linux 4samba-commonFixed0:3.0.25b-1.el4_6.2RHSA-2007:1016
Red Hat Enterprise Linux 4samba-swatFixed0:3.0.25b-1.el4_6.2RHSA-2007:1016
Red Hat Enterprise Linux 3sambaFixed0:3.0.9-1.3E.14.1RHSA-2007:1013
Red Hat Enterprise Linux 3samba-clientFixed0:3.0.9-1.3E.14.1RHSA-2007:1013
Red Hat Enterprise Linux 3samba-commonFixed0:3.0.9-1.3E.14.1RHSA-2007:1013
Red Hat Enterprise Linux 3samba-swatFixed0:3.0.9-1.3E.14.1RHSA-2007:1013
Red Hat Enterprise Linux 2sambaFixed0:2.2.12-1.21as.8.1RHSA-2007:1013
Red Hat Enterprise Linux 2samba-clientFixed0:2.2.12-1.21as.8.1RHSA-2007:1013
Red Hat Enterprise Linux 2samba-commonFixed0:2.2.12-1.21as.8.1RHSA-2007:1013
Red Hat Enterprise Linux 2samba-swatFixed0:2.2.12-1.21as.8.1RHSA-2007:1013

What the vendor says

As published in the CVE record by flexera, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.