CVE-2026-41035 Use after free in rsync

High 7.4 Published Updated

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.

Weakness: CWE-805, CWE-130

Which versions are affected by CVE-2026-41035?

It affects 1 product.

Linux distribution packages (29)
rsync AlmaLinux:10All versions3.4.1-6.el10_2
rsync-daemon AlmaLinux:10All versions3.4.1-6.el10_2
rsync-rrsync AlmaLinux:10All versions3.4.1-6.el10_2
rsync AlmaLinux:8All versions3.1.3-25.el8_10
rsync-daemon AlmaLinux:8All versions3.1.3-25.el8_10
rsync Red Hat:enterprise_linux:10.2All versions0:3.4.1-6.el10_2
rsync-daemon Red Hat:enterprise_linux:10.2All versions0:3.4.1-6.el10_2
rsync-debuginfo Red Hat:enterprise_linux:10.2All versions0:3.4.1-6.el10_2
rsync-debugsource Red Hat:enterprise_linux:10.2All versions0:3.4.1-6.el10_2
rsync-rrsync Red Hat:enterprise_linux:10.2All versions0:3.4.1-6.el10_2
rsync Red Hat:enterprise_linux:8::baseosAll versions0:3.1.3-25.el8_10
rsync-daemon Red Hat:enterprise_linux:8::baseosAll versions0:3.1.3-25.el8_10
rsync-debuginfo Red Hat:enterprise_linux:8::baseosAll versions0:3.1.3-25.el8_10
rsync-debugsource Red Hat:enterprise_linux:8::baseosAll versions0:3.1.3-25.el8_10
rsync Red Hat:rhel_aus:8.4::baseosAll versions0:3.1.3-12.el8_4.7
rsync-daemon Red Hat:rhel_aus:8.4::baseosAll versions0:3.1.3-12.el8_4.7
rsync Red Hat:rhel_aus:8.6::baseosAll versions0:3.1.3-14.el8_6.10
rsync Red Hat:rhel_e4s:8.8::baseosAll versions0:3.1.3-20.el8_8.5
rsync-daemon Red Hat:rhel_e4s:9.0::appstreamAll versions0:3.2.3-9.el9_0.5
rsync Red Hat:rhel_e4s:9.0::baseosAll versions0:3.2.3-9.el9_0.5
rsync Red Hat:rhel_els:6All versions0:3.0.6-12.el6_10.3
rsync Red Hat:rhel_els:7All versions0:3.1.2-12.el7_9.3
rsync Red Hat:rhel_eus_long_life:8.4::baseosAll versions0:3.1.3-12.el8_4.7
rsync-daemon Red Hat:rhel_eus_long_life:8.4::baseosAll versions0:3.1.3-12.el8_4.7
rsync Red Hat:rhel_eus_long_life:8.6::baseosAll versions0:3.1.3-14.el8_6.10
rsync Red Hat:rhel_tus:8.8::baseosAll versions0:3.1.3-20.el8_8.5
rsync Rocky Linux:10All versions0:3.4.1-6.el10_2
rsync Rocky Linux:8All versions0:3.1.3-25.el8_10
rsync openSUSE:TumbleweedAll versions3.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.

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.

Is CVE-2026-41035 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free