CVE-2026-41035 Use after free in rsync
An attacker can trigger a use-after-free in rsync when the receiver uses the -X flag, potentially leading to code execution or denial of service.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-41035?
CVE-2026-41035 is a high-severity use after free vulnerability in Samba rsync, published on 16 Apr 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
In rsync 3.0.1 through 3.4.1, receive_xattr relies on an untrusted length value during a qsort call, leading to a receiver use-after-free. The victim must run rsync with -X (aka --xattrs). On Linux, many (but not all) common configurations are vulnerable. Non-Linux platforms are more widely vulnerable.
Which versions are affected by CVE-2026-41035?
It affects 1 product.
Linux distribution packages (29)
rsync AlmaLinux:10 | All versions | 3.4.1-6.el10_2 |
rsync-daemon AlmaLinux:10 | All versions | 3.4.1-6.el10_2 |
rsync-rrsync AlmaLinux:10 | All versions | 3.4.1-6.el10_2 |
rsync AlmaLinux:8 | All versions | 3.1.3-25.el8_10 |
rsync-daemon AlmaLinux:8 | All versions | 3.1.3-25.el8_10 |
rsync Red Hat:enterprise_linux:10.2 | All versions | 0:3.4.1-6.el10_2 |
rsync-daemon Red Hat:enterprise_linux:10.2 | All versions | 0:3.4.1-6.el10_2 |
rsync-debuginfo Red Hat:enterprise_linux:10.2 | All versions | 0:3.4.1-6.el10_2 |
rsync-debugsource Red Hat:enterprise_linux:10.2 | All versions | 0:3.4.1-6.el10_2 |
rsync-rrsync Red Hat:enterprise_linux:10.2 | All versions | 0:3.4.1-6.el10_2 |
rsync Red Hat:enterprise_linux:8::baseos | All versions | 0:3.1.3-25.el8_10 |
rsync-daemon Red Hat:enterprise_linux:8::baseos | All versions | 0:3.1.3-25.el8_10 |
rsync-debuginfo Red Hat:enterprise_linux:8::baseos | All versions | 0:3.1.3-25.el8_10 |
rsync-debugsource Red Hat:enterprise_linux:8::baseos | All versions | 0:3.1.3-25.el8_10 |
rsync Red Hat:rhel_aus:8.4::baseos | All versions | 0:3.1.3-12.el8_4.7 |
rsync-daemon Red Hat:rhel_aus:8.4::baseos | All versions | 0:3.1.3-12.el8_4.7 |
rsync Red Hat:rhel_aus:8.6::baseos | All versions | 0:3.1.3-14.el8_6.10 |
rsync Red Hat:rhel_e4s:8.8::baseos | All versions | 0:3.1.3-20.el8_8.5 |
rsync-daemon Red Hat:rhel_e4s:9.0::appstream | All versions | 0:3.2.3-9.el9_0.5 |
rsync Red Hat:rhel_e4s:9.0::baseos | All versions | 0:3.2.3-9.el9_0.5 |
rsync Red Hat:rhel_els:6 | All versions | 0:3.0.6-12.el6_10.3 |
rsync Red Hat:rhel_els:7 | All versions | 0:3.1.2-12.el7_9.3 |
rsync Red Hat:rhel_eus_long_life:8.4::baseos | All versions | 0:3.1.3-12.el8_4.7 |
rsync-daemon Red Hat:rhel_eus_long_life:8.4::baseos | All versions | 0:3.1.3-12.el8_4.7 |
rsync Red Hat:rhel_eus_long_life:8.6::baseos | All versions | 0:3.1.3-14.el8_6.10 |
rsync Red Hat:rhel_tus:8.8::baseos | All versions | 0:3.1.3-20.el8_8.5 |
rsync Rocky Linux:10 | All versions | 0:3.4.1-6.el10_2 |
rsync Rocky Linux:8 | All versions | 0:3.1.3-25.el8_10 |
rsync openSUSE:Tumbleweed | All versions | 3.4.1-5.1 |
Products include Samba Rsync.
How do I fix CVE-2026-41035?
Upgrade to a fixed version.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2026-41035 being exploited?
There is no known exploitation of CVE-2026-41035 in the wild and no public exploit code.
Other vulnerabilities in Samba rsync
- CVE-2017-15994 Security feature bypass in n/a
- CVE-2026-53791 rsync < 3.5.0 Daemon IP Spoofing via PROXY Protocol Header
- CVE-2026-70461 rsync 3.2.5 < 3.5.0 Heap Out-of-Bounds Write via files-from Entry
- CVE-2026-70455 rsync 3.4.2 < 3.5.0 DoS via --zt Zstandard Compression Thread Exhaustion
- CVE-2026-70463 rsync 3.1.0 < 3.5.0 Authorization Bypass via auth users Directive Parsing
Sources
Also known as ALPINE-CVE-2026-41035, ALSA-2026:17481, ALSA-2026:19152, AZL-82958, BELL-CVE-2026-41035, CLSA-2026-1778940132 and 33 more.