Description
client/mount.cifs.c in mount.cifs in smbfs in Samba 3.0.22, 3.0.28a, 3.2.3, 3.3.2, 3.4.0, and 3.4.5 allows local users to mount a CIFS share on an arbitrary mountpoint, and gain privileges, via a symlink attack on the mountpoint directory file.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | samba | 2:3.4.5~dfsg-2 | — |
| Debian 13 | samba | 2:3.4.5~dfsg-2 | — |
| Debian 12 | samba | 2:3.4.5~dfsg-2 | — |
| Debian 5.0 | samba | 2:3.2.5-4lenny9 | DSA-2004-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 5 | samba +5 | 3.0.33-3.29.el5_7.4 | RHSA-2011:1219 |
| RHEL 5 | samba3x +7 | 3.5.4-0.70.el5 | RHBA-2011:0054 |
| RHEL 4 | samba +3 | 3.0.33-0.34.el4 | RHSA-2011:1219 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | cifs-utils | 6.5-1.5 | openSUSE-SU-2024:10334-1 |
| openSUSE Tumbleweed | samba | 4.5.0-1.1 | openSUSE-SU-2024:10069-1 |
Advisories 5
- RHSA-2011:1219 Red Hat Security Advisory: samba security update Red Hat Security Advisories (RHSA) · Jun 28, 2026
- RHBA-2011:0054 Red Hat Bug Fix Advisory: samba3x bug fix and enhancement update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- DSA-2004-1 samba - several vulnerabilities Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2024:10069-1 ctdb-4.5.0-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:10334-1 cifs-utils-6.5-1.5 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
References
- 38286 third-party-advisory
- ADV-2010-1062 vdb-entry
- FEDORA-2010-1218 vendor-advisory
- 38308 third-party-advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=558833
- GLSA-201206-29 vendor-advisory
- FEDORA-2010-1190 vendor-advisory
- 39898 vdb-entry
- http://git.samba.org/?p=samba.git%3Ba=commit%3Bh=a0c31ec1c8d1220a5884e40d9ba6b191a04a24d5
- USN-893-1 vendor-advisory
- MDVSA-2010:090 vendor-advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=532940
- SUSE-SR:2010:014 vendor-advisory
- 37992 vdb-entry
- http://git.samba.org/?p=samba.git%3Ba=commit%3Bh=3ae5dac462c4ed0fb2cd94553583c56fce2f9d80
- 38357 third-party-advisory
- https://bugzilla.samba.org/show_bug.cgi?id=6853
- sambaclient-mountcifs-symlink(55944) vdb-entry