Use-after-free in Rsync - CVE-2026-41035

 

Use-after-free in Rsync - CVE-2026-41035

Published: June 4, 2026


Vulnerability identifier: #VU133359
CSH Severity: Medium
CVSS v4: 8.3 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-41035
CWE-ID: CWE-416
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause a denial of service and disclose sensitive information.

The vulnerability exists due to use-after-free in receive_xattr() in xattrs.c when processing xattr data from a malicious rsync sender. A remote attacker can send specially crafted xattr metadata to cause a denial of service and disclose sensitive information.

Exploitation requires xattr transfer to be enabled. On Linux, additional conditions apply: the receiver must use --fake-super or an xattr filter that passes non-user namespace xattrs; on FreeBSD and macOS, configurations using xattrs are affected when more than one xattr is processed.


Affected software

Rsync
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise Server 15 SP4
SUSE Linux Enterprise Server 12 SP5 LTSS Extended
SUSE Linux Enterprise Server 12 SP5
SUSE Linux Enterprise Server 15 SP6
Gentoo Linux
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise High Performance Computing 12
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise Micro
SUSE Linux Enterprise Micro for Rancher
SUSE Linux Micro
Red Hat Enterprise Linux for x86_64
Anolis OS
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Ubuntu
Basesystem Module
openSUSE Leap
openEuler
Fedora
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
rsync (Red Hat package)
rsync (Ubuntu package)
rsync-debugsource
rsync-debuginfo
rsync
rsync-help
rsync-doc
rsync-daemon
net-misc/rsync

How to mitigate CVE-2026-41035

Install security update from vendor's website.

Rsync - addressed in versions 3.4.2, 3.4.3
rsync (Red Hat package) - addressed in versions 3.0.6-12.el6_10.3, 3.1.2-12.el7_9.3, 3.1.3-12.el8_4.7, 3.1.3-14.el8_6.10, 3.1.3-20.el8_8.5, 3.1.3-25.el8_10, 3.4.1-2.el10_0.2
rsync (Ubuntu package) - addressed in versions 3.1.0-2ubuntu0.4+esm3, 3.1.0-2ubuntu0.4+esm4, 3.1.1-3ubuntu1.3+esm5, 3.1.1-3ubuntu1.3+esm6, 3.1.2-2.1ubuntu1.6+esm3, 3.1.2-2.1ubuntu1.6+esm4, 3.1.3-8ubuntu0.9+esm1, 3.1.3-8ubuntu0.9+esm2, 3.2.7-0ubuntu0.22.04.6, 3.2.7-0ubuntu0.22.04.7, 3.2.7-1ubuntu1.4, 3.2.7-1ubuntu1.5, 3.4.1+ds1-7ubuntu0.2, 3.4.1+ds1-7ubuntu0.3, 3.4.1+ds1-5ubuntu1.2, 3.4.1+ds1-5ubuntu1.3
rsync-debugsource - addressed in versions 3.1.3-3.40.1, 3.1.3-3.43.1, 3.2.3-150400.3.31.1, 3.2.3-150400.3.34.1, 3.2.7-7.1, 3.2.7-150600.3.21.1, 3.3.0-slfo.1.1_6.1
rsync-debuginfo - addressed in versions 3.1.3-3.40.1, 3.1.3-3.43.1, 3.2.3-150400.3.31.1, 3.2.3-150400.3.34.1, 3.2.7-7.1, 3.2.7-150600.3.21.1, 3.3.0-slfo.1.1_6.1
rsync - addressed in versions 3.1.3-3.40.1, 3.1.3-3.43.1, 3.2.3-150400.3.31.1, 3.2.3-150400.3.34.1, 3.2.7-7.1, 3.2.7-150600.3.21.1, 3.3.0-slfo.1.1_6.1
rsync - update to 3.1.3-13
rsync-help - update to 3.1.3-13
rsync-debugsource - update to 3.1.3-13
rsync-debuginfo - update to 3.1.3-13
rsync-doc - update to 3.1.3-25.0.1
rsync - update to 3.1.3-25.0.1
rsync-daemon - update to 3.1.3-25.0.1
rsync - addressed in versions 3.4.1-6.fc43, 3.4.1-7.fc44
net-misc/rsync - update to 3.4.3

External References

Related Security Bulletins