Description
client/mount.cifs.c in mount.cifs in smbfs in Samba 3.4.5 and earlier does not verify that the (1) device name and (2) mountpoint strings are composed of valid characters, which allows local users to cause a denial of service (mtab corruption) via a crafted string.
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
- ADV-2010-1062 vdb-entry
- 39317 third-party-advisory
- GLSA-201206-29 vendor-advisory
- 38326 vdb-entry
- http://git.samba.org/?p=samba.git%3Ba=commit%3Bh=a065c177dfc8f968775593ba00dffafeebb2e054
- MDVSA-2010:090 vendor-advisory
- SUSE-SR:2010:008 vendor-advisory
- SUSE-SR:2010:014 vendor-advisory