Skip to content
Fencer Vulns
high 7.2

CVE-2004-0186 json

smbmnt in Samba 2.x and 3.x on Linux 2.6, when installed setuid, allows local users to gain root privileges by mounting a Samba share that…

published 2004-03-15 22 y ago modified 2026-06-16 4 mo ago also EUVD-2004-0186

cvss
7.2
version 2.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
1.6%
EPSS 1.6% chance of exploitation in 30 days, percentile 75%
public exploits
1
Exploit-DB

Summary

smbmnt in Samba 2.x and 3.x on Linux 2.6, when installed setuid, allows local users to gain root privileges by mounting a Samba share that contains a setuid root program, whose setuid attributes are not cleared when the share is mounted.

Patch / fix

  • samba Debian 14, Debian 13, Debian 12 3.0.2-2

debian advisories DEBIAN-CVE-2004-0186

Timeline

  1. First public exploit (EDB-23674)
  2. Published

Exploit prediction

1.59% chance of exploitation in the next 30 days, higher than 75% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • EDB-23674 Samba 2.2.8 (Linux Kernel 2.6 / Debian / Mandrake) - Share Privilege Escalation local, 2004-02-09
  • securityfocus.com http://www.securityfocus.com/bid/9619 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 2.0 7.2 AV:L/AC:L/Au:N/C:C/I:C/A:C

Classification

Technology feeds

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.