Description
Buffer overflow in the QFILEPATHINFO request handler in Samba 3.0.x through 3.0.7 may allow remote attackers to execute arbitrary code via a TRANSACT2_QFILEPATHINFO request with a small "maximum data bytes" value.
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.7-1.3E.1 | RHSA-2004:632 |
Advisories 1
- RHSA-2004:632 Red Hat Security Advisory: samba security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
References
- 1012235 vdb-entry
- 20041115 [SAMBA] CAN-2004-0882: Possiebl Buffer Overrun in smbd mailing-list
- 20041217 [OpenPKG-SA-2004.054] OpenPKG Security Advisory (samba) mailing-list
- samba-qfilepathinfo-bo(18070) vdb-entry
- VU#457622 third-party-advisory
- CLA-2004:899 vendor-advisory
- 13189 third-party-advisory
- http://security.e-matters.de/advisories/132004.html
- 20041115 Advisory 13/2004: Samba 3.x QFILEPATHINFO unicode filename buffer overflow mailing-list
- oval:org.mitre.oval:def:9969 vdb-entry signature
- APPLE-SA-2005-03-21 vendor-advisory
- 2004-0058 vendor-advisory
- 11782 vdb-entry
- P-038 third-party-advisory government-resource
- SUSE-SA:2004:040 vendor-advisory