Description
The receive_xattr function in xattrs.c in rsync 3.1.2 and 3.1.3-development does not check for a trailing '\0' character in an xattr name, which allows remote attackers to cause a denial of service (heap-based buffer over-read and application crash) or possibly have unspecified other impact by sending crafted data to the daemon.
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 | 3.1.2-2.1 | — |
| Debian 13 | rsync | 3.1.2-2.1 | — |
| Debian 12 | rsync | 3.1.2-2.1 | — |
| Debian 9 | rsync | 3.1.2-1+deb9u1 | DSA-4068-1 |
| Debian 8 | rsync | 3.1.1-3+deb8u1 | DSA-4068-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 7 | rsync | 3.0.9-4+deb7u1 | DLA-1218-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | rsync | 3.1.1-3ubuntu1.2 | USN-3543-1 |
| Ubuntu 14.04 LTS | rsync | 3.1.0-2ubuntu0.4 | USN-3543-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP3 | rsync | 3.1.0-13.7.1 | SUSE-SU-2018:0118-1 |
| SLES 12 SP2 | rsync | 3.1.0-13.7.1 | SUSE-SU-2018:0118-1 |
| SLES 11 SP4 | rsync | 3.0.4-2.53.3.1 | SUSE-SU-2018:0117-1 |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 12 SP3 | rsync | 3.1.0-13.7.1 | SUSE-SU-2018:0118-1 |
| SLES for SAP 12 SP2 | rsync | 3.1.0-13.7.1 | SUSE-SU-2018:0118-1 |
| SLES for SAP 11 SP4 | rsync | 3.0.4-2.53.3.1 | SUSE-SU-2018:0117-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | rsync | 3.2.3-2.6 | openSUSE-SU-2024:11308-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | rsync | 3.1.2-r7 | — |
| Alpine v3.23 | rsync | 3.1.2-r7 | — |
| Alpine v3.22 | rsync | 3.1.2-r7 | — |
| Alpine v3.21 | rsync | 3.1.2-r7 | — |
| Alpine v3.20 | rsync | 3.1.2-r7 | — |
Show 16 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | rsync | 3.1.2-r7 | — |
| Alpine v3.18 | rsync | 3.1.2-r7 | — |
| Alpine v3.17 | rsync | 3.1.2-r7 | — |
| Alpine v3.16 | rsync | 3.1.2-r7 | — |
| Alpine v3.15 | rsync | 3.1.2-r7 | — |
| Alpine v3.14 | rsync | 3.1.2-r7 | — |
| Alpine v3.13 | rsync | 3.1.2-r7 | — |
| Alpine v3.12 | rsync | 3.1.2-r7 | — |
| Alpine v3.11 | rsync | 3.1.2-r7 | — |
| Alpine v3.10 | rsync | 3.1.2-r7 | — |
| Alpine v3.9 | rsync | 3.1.2-r7 | — |
| Alpine v3.8 | rsync | 3.1.2-r7 | — |
| Alpine v3.7 | rsync | 3.1.2-r7 | — |
| Alpine v3.6 | rsync | 3.1.2-r6 | — |
| Alpine v3.5 | rsync | 3.1.2-r3 | — |
| Alpine v3.4 | rsync | 3.1.2-r3 | — |
Advisories 6
- DSA-4068-1 rsync - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-1218-1 rsync - security update Debian Security (DSA / DLA) · Mar 9, 2026
- USN-3543-1 rsync vulnerabilities Ubuntu Security Notices (USN) · Feb 10, 2026
- SUSE-SU-2018:0118-1 Security update for rsync SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:0117-1 Security update for rsync SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:11308-1 rsync-3.2.3-2.6 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
References
- https://git.samba.org/rsync.git/?p=rsync.git%3Ba=commit%3Bh=47a63d90e71d3e19e0e96052bb8c6b9cb140ecc1
- https://bugzilla.samba.org/show_bug.cgi?id=13112
- USN-3543-1 vendor-advisory
- DSA-4068 vendor-advisory
- USN-3543-2 vendor-advisory
- [debian-lts-announce] 20171222 [SECURITY] [DLA 1218-1] rsync security update mailing-list