Description
The mksmbpasswd shell script (mksmbpasswd.sh) in Samba 3.0.0 and 3.0.1, when creating an account but marking it as disabled, may overwrite the user password with an uninitialized buffer, which could enable the account with a more easily guessable password.
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 | 3.0.7 | — |
| Debian 13 | samba | 3.0.7 | — |
| Debian 12 | samba | 3.0.7 | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 3 | samba +3 | 3.0.2-6.3E | RHSA-2004:064 |
Advisories 1
- RHSA-2004:064 Red Hat Security Advisory: samba security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
References
- 9637 vdb-entry
- samba-mksmbpasswd-gain-access(15132) vdb-entry
- O-078 third-party-advisory government-resource
- http://www.vuxml.org/freebsd/3388eff9-5d6e-11d8-80e3-0020ed76ef5a.html
- oval:org.mitre.oval:def:827 vdb-entry signature
- http://us1.samba.org/samba/ftp/WHATSNEW-3.0.2a.txt
- RHSA-2004:064 vendor-advisory
- 3919 vdb-entry