CVE-2004-0186

CVE-2004-0186 is a high-severity vulnerability in Samba with a CVSS 2.0 base score of 7.2. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low.

Key facts

Description

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.

Frequently asked questions

What is CVE-2004-0186?
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.
How severe is CVE-2004-0186?
CVE-2004-0186 has a CVSS 2.0 base score of 7.2, rated high severity.
Is CVE-2004-0186 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 2% (73rd percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2004-0186?
CVE-2004-0186 primarily affects Samba. In total, 17 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
How do I fix CVE-2004-0186?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
When was CVE-2004-0186 published?
CVE-2004-0186 was published on 2004-03-15 and last updated on 2026-06-16.

References

Affected products (17)

More vulnerabilities in Samba

All CVEs affecting Samba →