Description
Multiple off-by-one errors in the sender.c in rsync 2.6.9 might allow remote attackers to execute arbitrary code via directory names that are not properly handled when calling the f_name function.
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 | rsync | 2.6.9-5 | — |
| Debian 13 | rsync | 2.6.9-5 | — |
| Debian 12 | rsync | 2.6.9-5 | — |
| Debian 4.0 | rsync | 2.6.9-2etch1 | DSA-1360-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | rsync | 3.2.3-2.6 | openSUSE-SU-2024:11308-1 |
Advisories 2
- DSA-1360-1 rsync - arbitrary code execution Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2024:11308-1 rsync-3.2.3-2.6 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
References
- 27896 third-party-advisory
- GLSA-200709-13 vendor-advisory
- 26822 third-party-advisory
- rsync-fname-bo(36072) vdb-entry
- USN-500-1 vendor-advisory
- 26493 third-party-advisory
- 61039 third-party-advisory
- 26634 third-party-advisory
- SUSE-SR:2007:017 vendor-advisory
- 26543 third-party-advisory
- https://issues.rpath.com/browse/RPL-1647
- 20070823 FLEA-2007-0047-1 rsync mailing-list
- DSA-1360 vendor-advisory
- http://article.gmane.org/gmane.linux.debian.devel.bugs.general/291908
- SSA:2007-335-01 vendor-advisory
- 2007-0026 vendor-advisory
- http://c-skills.blogspot.com/2007/08/cve-2007-4091.html
- http://support.f5.com/kb/en-us/solutions/public/15000/500/sol15548.html
- 25336 vdb-entry
- 26537 third-party-advisory
- ADV-2007-2915 vdb-entry
- 26518 third-party-advisory
- 26548 third-party-advisory
- 26911 third-party-advisory