CVE-2004-0186
smbmnt in Samba 2.x and 3.x on Linux 2.6, when installed setuid, allows local users to gain root...
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.
Exploit likelihood
What each source reports
NVD Score used
7.2
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.
- Record
CVE-2004-0186- CVSS 2.0
- 7.2 High
AV:L/AC:L/Au:N/C:C/I:C/A:C - Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2004-0186- Updated
- 2026-11-02
EUVDEUVD-2004-0186 No score
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.
- Record
EUVD-2004-0186- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-99qv-m5mw-g4v6 No score
smbmnt in Samba 2.x and 3.x on Linux 2.6, when installed setuid, allows local users to gain root...
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.
- Record
GHSA-99qv-m5mw-g4v6- Updated
- 2026-11-02
OSV No score
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.
- Record
CVE-2004-0186- Updated
- 2026-11-02
OSVDEBIAN-CVE-2004-0186 No score
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.
- Record
DEBIAN-CVE-2004-0186- Updated
- 2026-11-02
Affected products
Affected packages
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| Exploit-DB | Samba 2.2.8 (Linux Kernel 2.6 / Debian / Mandrake) - Share Privilege Escalation | 2004-02-09 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, Exploit-DB, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2004-0186 is a high vulnerability (CVSS 7.2) in Samba, published March 12, 2004. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 1.59%, the 75th percentile. Fixed in samba 3.0.2-2.
References
marc.info?l=bugtraq&m=107657505718743&w=2
osvdb.org/3916
exchange.xforce.ibmcloud.com/vulnerabilities/15131
marc.info?l=bugtraq&m=107636290906296&w=2
debian.org/security/2004/dsa-463
securityfocus.com/bid/9619
nvd.nist.gov/vuln/detail/CVE-2004-0186
github.com/advisories/GHSA-99qv-m5mw-g4v6
security-tracker.debian.org/tracker/CVE-2004-0186