CVE-2017-16548
The receive_xattr function in xattrs.c in rsync 3.1.2 and 3.1.3-development does not check for a...
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
9.8
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.
- Record
CVE-2017-16548- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS 2.0
- 7.5 High
AV:N/AC:L/Au:N/C:P/I:P/A:P - Weakness
- CWE-125
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2017-16548- Updated
- 2026-11-02
EUVDEUVD-2017-7741 No score
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.
- Record
EUVD-2017-7741- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-vp2c-23x9-j4wq
9.8
The receive_xattr function in xattrs.c in rsync 3.1.2 and 3.1.3-development does not check for a...
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.
- Record
GHSA-vp2c-23x9-j4wq- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-125
- Updated
- 2026-11-02
OSVALPINE-CVE-2017-16548
9.8
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.
- Record
ALPINE-CVE-2017-16548- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVBELL-CVE-2017-16548
9.8
CVE-2017-16548 does not affect BellSoft software
- Record
BELL-CVE-2017-16548- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Show 10 moreShow less
OSV
9.8
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.
- Record
CVE-2017-16548- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2017-16548
9.8
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.
- Record
DEBIAN-CVE-2017-16548- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2017-16548
9.8
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.
- Record
UBUNTU-CVE-2017-16548- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVCLSA-2026-1776769741 No score
rsync: Fix of 3 CVEs
- CVE-2017-16548: fix heap overread in receive_xattr by enforcing trailing NUL on received xattr names
- CVE-2017-17434: sanitize xname in read_ndx_and_attrs and check daemon filter against fnamecmp in recv_files
- CVE-2018-5764: prevent client from resetting protect_args during the second parse_arguments pass on the daemon
- Record
CLSA-2026-1776769741- Updated
- 2026-11-02
OSVCLSA-2026-1776791634 No score
rsync: Fix of 3 CVEs
- CVE-2017-16548: fix heap overread in receive_xattr by enforcing trailing NUL on received xattr names
- CVE-2017-17434: sanitize xname in read_ndx_and_attrs and check daemon filter against fnamecmp in recv_files
- CVE-2018-5764: prevent client from resetting protect_args during the second parse_arguments pass on the daemon
- Record
CLSA-2026-1776791634- Updated
- 2026-11-02
OSVMGASA-2017-0459 No score
Updated rsync package fixes security vulnerability
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. (CVE-2017-16548)
- Record
MGASA-2017-0459- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:11308-1 No score
rsync-3.2.3-2.6 on GA media
These are all security issues fixed in the rsync-3.2.3-2.6 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:11308-1- Updated
- 2026-11-02
OSVSUSE-SU-2018:0117-1 No score
Security update for rsync
This update for rsync fixes the following issues:
Security issues fixed:
- CVE-2017-17434: The daemon in rsync did not check for fnamecmp filenames in the daemon_filter_list data structure (in the recv_files function in receiver.c) and also did not apply the sanitize_paths protection mechanism to pathnames found in 'xname follows' strings (in the read_ndx_and_attrs function in rsync.c), which allowed remote attackers to bypass intended access restrictions' (bsc#1071460).
- CVE-2017-17433: The recv_files function in receiver.c in the daemon in rsync, proceeded with certain file metadata updates before checking for a filename in the daemon_filter_list data structure, which allowed remote attackers to bypass intended access restrictions (bsc#1071459).
- CVE-2017-16548: The receive_xattr function in xattrs.c in rsync did not check for a trailing '\0' character in an xattr name, which allowed 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 (bsc#1066644).
- Record
SUSE-SU-2018:0117-1- Updated
- 2026-11-02
OSVSUSE-SU-2018:0118-1 No score
Security update for rsync
This update for rsync fixes several issues.
These security issues were fixed:
- CVE-2017-17434: The daemon in rsync did not check for fnamecmp filenames in the daemon_filter_list data structure (in the recv_files function in receiver.c) and also did not apply the sanitize_paths protection mechanism to pathnames found in 'xname follows' strings (in the read_ndx_and_attrs function in rsync.c), which allowed remote attackers to bypass intended access restrictions' (bsc#1071460).
- CVE-2017-17433: The recv_files function in receiver.c in the daemon in rsync, proceeded with certain file metadata updates before checking for a filename in the daemon_filter_list data structure, which allowed remote attackers to bypass intended access restrictions (bsc#1071459).
- CVE-2017-16548: The receive_xattr function in xattrs.c in rsync did not check for a trailing '\0' character in an xattr name, which allowed 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 (bsc#1066644).
This non-security issue was fixed:
- Stop file upload after errors like a full disk (bsc#1062063)
- Ensure -X flag works even when setting owner/group (bsc#1028842)
- Record
SUSE-SU-2018:0118-1- Updated
- 2026-11-02
OSVUSN-3543-1 No score
rsync vulnerabilities
It was discovered that rsync incorrectly handled certain data input. An attacker could possibly use this to cause a denial of service or execute arbitrary code. (CVE-2017-16548)
It was discovered that rsync incorrectly parsed certain arguments. An attacker could possibly use this to bypass arguments and execute arbitrary code. (CVE-2018-5764)
- Record
USN-3543-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
rsyncAlpine:v3.10 |
before 3.1.2-r7 | 3.1.2-r7 |
rsyncAlpine:v3.11 |
before 3.1.2-r7 | 3.1.2-r7 |
rsyncAlpine:v3.12 |
before 3.1.2-r7 | 3.1.2-r7 |
rsyncAlpine:v3.13 |
before 3.1.2-r7 | 3.1.2-r7 |
rsyncAlpine:v3.14 |
before 3.1.2-r7 | 3.1.2-r7 |
rsyncAlpine:v3.15 |
before 3.1.2-r7 | 3.1.2-r7 |
rsyncAlpine:v3.16 |
before 3.1.2-r7 | 3.1.2-r7 |
rsyncAlpine:v3.17 |
before 3.1.2-r7 | 3.1.2-r7 |
rsyncAlpine:v3.18 |
before 3.1.2-r7 | 3.1.2-r7 |
rsyncAlpine:v3.19 |
before 3.1.2-r7 | 3.1.2-r7 |
Show 35 moreShow less
| Package | Affected | Fixed |
|---|---|---|
rsyncAlpine:v3.20 |
before 3.1.2-r7 | 3.1.2-r7 |
rsyncAlpine:v3.21 |
before 3.1.2-r7 | 3.1.2-r7 |
rsyncAlpine:v3.22 |
before 3.1.2-r7 | 3.1.2-r7 |
rsyncAlpine:v3.23 |
before 3.1.2-r7 | 3.1.2-r7 |
rsyncAlpine:v3.24 |
before 3.1.2-r7 | 3.1.2-r7 |
rsyncAlpine:v3.4 |
before 3.1.2-r3 | 3.1.2-r3 |
rsyncAlpine:v3.5 |
before 3.1.2-r3 | 3.1.2-r3 |
rsyncAlpine:v3.6 |
before 3.1.2-r6 | 3.1.2-r6 |
rsyncAlpine:v3.7 |
before 3.1.2-r7 | 3.1.2-r7 |
rsyncAlpine:v3.8 |
before 3.1.2-r7 | 3.1.2-r7 |
rsyncAlpine:v3.9 |
before 3.1.2-r7 | 3.1.2-r7 |
rsyncTuxCare:OracleLinux:6 From an advisory covering 3 CVEs |
before 3.0.6-12.el6.tuxcare.els7 | 3.0.6-12.el6.tuxcare.els7 |
rsyncTuxCare:CentOS:6 From an advisory covering 3 CVEs |
before 3.0.6-12.el6.tuxcare.els7 | 3.0.6-12.el6.tuxcare.els7 |
rsyncDebian:12 |
before 3.1.2-2.1 | 3.1.2-2.1 |
rsyncDebian:13 |
before 3.1.2-2.1 | 3.1.2-2.1 |
rsyncDebian:14 |
before 3.1.2-2.1 | 3.1.2-2.1 |
rsyncDebian:7 From an advisory covering 3 CVEs |
before 3.0.9-4+deb7u1, plus listed versions 3.0.9-4 |
3.0.9-4+deb7u1 |
rsyncDebian:8 From an advisory covering 3 CVEs |
before 3.1.1-3+deb8u1, plus listed versions 3.1.1-3 |
3.1.1-3+deb8u1 |
rsyncDebian:9 From an advisory covering 3 CVEs |
before 3.1.2-1+deb9u1, plus listed versions 3.1.2-1 |
3.1.2-1+deb9u1 |
rsyncMageia:5 |
before 3.1.1-5.3.mga5 | 3.1.1-5.3.mga5 |
rsyncMageia:6 |
before 3.1.2-1.2.mga6 | 3.1.2-1.2.mga6 |
rsyncSUSE:Linux Enterprise Server 11 SP4 From an advisory covering 3 CVEs |
before 3.0.4-2.53.3.1 | 3.0.4-2.53.3.1 |
rsyncSUSE:Linux Enterprise Server for SAP Applications 11 SP4 From an advisory covering 3 CVEs |
before 3.0.4-2.53.3.1 | 3.0.4-2.53.3.1 |
rsyncSUSE:Linux Enterprise Desktop 12 SP2 From an advisory covering 3 CVEs |
before 3.1.0-13.7.1 | 3.1.0-13.7.1 |
rsyncSUSE:Linux Enterprise Desktop 12 SP3 From an advisory covering 3 CVEs |
before 3.1.0-13.7.1 | 3.1.0-13.7.1 |
rsyncSUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 From an advisory covering 3 CVEs |
before 3.1.0-13.7.1 | 3.1.0-13.7.1 |
rsyncSUSE:Linux Enterprise Server 12 SP2 From an advisory covering 3 CVEs |
before 3.1.0-13.7.1 | 3.1.0-13.7.1 |
rsyncSUSE:Linux Enterprise Server for SAP Applications 12 SP2 From an advisory covering 3 CVEs |
before 3.1.0-13.7.1 | 3.1.0-13.7.1 |
rsyncSUSE:Linux Enterprise Server 12 SP3 From an advisory covering 3 CVEs |
before 3.1.0-13.7.1 | 3.1.0-13.7.1 |
rsyncSUSE:Linux Enterprise Server for SAP Applications 12 SP3 From an advisory covering 3 CVEs |
before 3.1.0-13.7.1 | 3.1.0-13.7.1 |
rsyncUbuntu:14.04:LTS |
before 3.1.0-2ubuntu0.4, plus listed versions 3.0.9-4ubuntu13.1.0-23.1.0-2ubuntu0.13.1.0-2ubuntu0.23.1.0-2ubuntu0.3 |
3.1.0-2ubuntu0.4 |
rsyncUbuntu:16.04:LTS |
before 3.1.1-3ubuntu1.2, plus listed versions 3.1.1-33.1.1-3ubuntu13.1.1-3ubuntu1.1 |
3.1.1-3ubuntu1.2 |
rsyncUbuntu:14.04:LTS From an advisory covering 2 CVEs |
before 3.1.0-2ubuntu0.4, plus listed versions 3.0.9-4ubuntu13.1.0-23.1.0-2ubuntu0.13.1.0-2ubuntu0.23.1.0-2ubuntu0.3 |
3.1.0-2ubuntu0.4 |
rsyncUbuntu:16.04:LTS From an advisory covering 2 CVEs |
before 3.1.1-3ubuntu1.2, plus listed versions 3.1.1-33.1.1-3ubuntu13.1.1-3ubuntu1.1 |
3.1.1-3ubuntu1.2 |
rsyncopenSUSE:Tumbleweed From an advisory covering 5 CVEs |
before 3.2.3-2.6 | 3.2.3-2.6 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2017-16548 is a critical vulnerability (CVSS 9.8) in Samba Rsync, published November 6, 2017. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 5.78%, the 93rd percentile. Fixed in rsync 3.1.2-r7.
References
git.samba.org/rsync.git?p=rsync.git%3Ba=commit%3Bh=47a63d90e71d3e19e0e96052bb8c6b9cb140ecc1
bugzilla.samba.org/show_bug.cgi?id=13112
usn.ubuntu.com/3543-1
debian.org/security/2017/dsa-4068
usn.ubuntu.com/3543-2
lists.debian.org/debian-lts-announce/2017/12/msg00020.html
Show 29 moreShow less
nvd.nist.gov/vuln/detail/CVE-2017-16548
git.samba.org/rsync.git?p=rsync.git;a=commit;h=47a63d90e71d3e19e0e96052bb8c6b9cb140ecc1
github.com/advisories/GHSA-vp2c-23x9-j4wq
security.alpinelinux.org/vuln/CVE-2017-16548
docs.bell-sw.com/security/cves/CVE-2017-16548
errata.tuxcare.com/els_os/oraclelinux6els/CLSA-2026-1776769741.html
errata.tuxcare.com/els_os/centos6els/CLSA-2026-1776791634.html
security-tracker.debian.org/tracker/CVE-2017-16548
advisories.mageia.org/MGASA-2017-0459.html
bugs.mageia.org/show_bug.cgi?id=22216
suse.com/support/update/announcement/2018/suse-su-20180117-1
bugzilla.suse.com/1066644
bugzilla.suse.com/1071459
bugzilla.suse.com/1071460
suse.com/security/cve/CVE-2017-16548
suse.com/security/cve/CVE-2017-17433
suse.com/security/cve/CVE-2017-17434
suse.com/support/update/announcement/2018/suse-su-20180118-1
bugzilla.suse.com/1028842
bugzilla.suse.com/1062063
ubuntu.com/security/CVE-2017-16548
ubuntu.com/security/notices/USN-3543-1
ubuntu.com/security/notices/USN-3543-2
cve.org/CVERecord?id=CVE-2017-16548
ubuntu.com/security/CVE-2018-5764
suse.com/security/cve/CVE-2007-4091
suse.com/security/cve/CVE-2007-6199
suse.com/security/cve/CVE-2018-5764
suse.com/security/cve/CVE-2020-14387