CVE-2004-0186

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.

Severity
not scored
CVSS v3
not scored
Exploit chance (EPSS)
1.595%
chance of exploitation in the next 30 days
higher than 76.1% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 1
Metasploit modules: 0
Nuclei templates: 0
Exploit-DB: 1

Timeline

  1. 2004-02-09First Exploit-DB entry (EDB-ID 23674)35 days before publication
  2. 2004-03-15Published
  3. 2004-09-01Published by the CNA04:00 UTC · 170 days after publication

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

Exploit-DBTypePlatformPublishedEDB-verified
EDB-ID 23674locallinux2004-02-09yes

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
samba samba2.0no fix listed3.0.0no fix listednot listednot listed
linux linux_kernel2.6.0no fix listed2.6.1no fix listed2.6_test9_cvsno fix listednot listednot listednot listed

Products and versions as NVD and the vendor that published the CVE list them.

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources