Every CVE Search/ Get API key

CVE-2004-0186

smbmnt in Samba 2.x and 3.x on Linux 2.6, when installed setuid, allows local users to gain root...

7.2 HighPublic exploitFix available

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

1.59%Down 0.3 points since Feb 4, 2022
90%50%10%1%

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 HighAV: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

Affected packages
PackageAffectedFixed
samba
Debian:12
before 3.0.2-2
3.0.2-2
samba
Debian:13
before 3.0.2-2
3.0.2-2
samba
Debian:14
before 3.0.2-2
3.0.2-2
samba
Debian:3.0
before 2.2.3a-13
2.2.3a-13

Public exploits

Links only. Every CVE stores no exploit code.

Public exploits
SourceLinkDate
Exploit-DBSamba 2.2.8 (Linux Kernel 2.6 / Debian / Mandrake) - Share Privilege Escalation2004-02-09

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE 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

MoveEnter Open