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 22y ago modified 5mo 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 76%
- 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 unstable, Debian 14, Debian 13 +4 more 3.0.2-2
debian advisories debian-elts:CVE-2004-0186debian-tracker:CVE-2004-0186DEBIAN-CVE-2004-0186
- debian.org/security/2004/dsa-463 advisory
- securityfocus.com/bid/9619 advisory
Is CVE-2004-0186 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerTimeline
- First public exploit (EDB-23674)
- Published
Exploit prediction
1.60% chance of exploitation in the next 30 days, higher than 76% of all scored CVEs (FIRST EPSS, 2026-11-24).
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
-
debian.org
/security/2004/dsa-463
vendor-advisory, patch
-
securityfocus.com
/bid/9619
vdb-entry, exploit, patch, vendor-advisory
-
marc.info
/?l=bugtraq&m=107657505718743&w=2
mailing-list
-
osvdb.org
/3916
vdb-entry
-
exchange.xforce.ibmcloud.com
/vulnerabilities/15131
vdb-entry
-
marc.info
/?l=bugtraq&m=107636290906296&w=2
mailing-list
Sources
- CVE List CVE-2004-0186
- NVD CVE-2004-0186
Fencer Intel 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.