Description
The code for writing reg files in Samba before 2.2.8 allows local users to overwrite arbitrary files via a race condition involving chown.
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.2.8 | — |
| Debian 13 | samba | 2.2.8 | — |
| Debian 12 | samba | 2.2.8 | — |
| Debian 3.0 | samba | 2.2.3a-12.1 | DSA-262 |
Advisories 1
- DSA-262 samba - remote exploit Debian Security (DSA / DLA) · Mar 9, 2026
References
- oval:org.mitre.oval:def:554 vdb-entry signature
- 20030317 GLSA: samba (200303-11) mailing-list
- GLSA-200303-11 vendor-advisory
- 20030325 Fwd: APPLE-SA-2003-03-24 Samba, OpenSSL mailing-list
- RHSA-2003:096 vendor-advisory
- 7107 vdb-entry
- 20030318 [OpenPKG-SA-2003.021] OpenPKG Security Advisory (samba) mailing-list
- RHSA-2003:095 vendor-advisory
- SuSE-SA:2003:016 vendor-advisory
- MDKSA-2003:032 vendor-advisory
- DSA-262 vendor-advisory
- 8303 third-party-advisory
- 8299 third-party-advisory