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.
Does this matter?
A public exploit is published in Exploit-DB (verified) and the impact is high, while EPSS rates exploitation at 1.6%. Anyone can run this; patch or mitigate before the next change window and check exposed instances for signs of use.
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.
- CVSS 2.0
- 7.2 HIGHAV:L/AC:L/Au:N/C:C/I:C/A:C
- EPSS
- 1.59% probability · 76th percentile
- Public exploits
- 1 in Exploit-DB · verified · first 9 February 2004
- CISA KEV
- Not listed
- Affected
- samba/samba · linux/linux kernel
- Source
- cve@mitre.org
EPSS 1.6% since 26 October 2026; no change recorded yet. Points are recorded when the score first appears and whenever it moves by a percentage point or more.
Public exploits (1)
Entries in Exploit-DB that cite this CVE. Links go to the Exploit-DB page and to the file in the public repository; nothing is hosted here. A verified tick means the Exploit-DB team confirmed the exploit works against the stated version.
References
- http://marc.info/?l=bugtraq&m=107636290906296&w=2
- http://marc.info/?l=bugtraq&m=107657505718743&w=2
- http://www.debian.org/security/2004/dsa-463Patch, Vendor Advisory
- http://www.osvdb.org/3916
- http://www.securityfocus.com/bid/9619Exploit, Patch, Vendor Advisory
- https://exchange.xforce.ibmcloud.com/vulnerabilities/15131
- http://marc.info/?l=bugtraq&m=107636290906296&w=2
- http://marc.info/?l=bugtraq&m=107657505718743&w=2
- http://www.debian.org/security/2004/dsa-463Patch, Vendor Advisory
- http://www.osvdb.org/3916
- http://www.securityfocus.com/bid/9619Exploit, Patch, Vendor Advisory
- https://exchange.xforce.ibmcloud.com/vulnerabilities/15131
Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.