CVE-2026-41035: Use After Free

Published Apr 16, 2026
·
Updated

In rsync 3.0.1 through 3.4.1, receivexattr 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.

Affected Software

4 affected componentsFixes available
rsync rsync>=3.0.1<=3.4.1
Samba rsync>=3.0.1<=3.4.1
Microsoft azl3 rsync 3.4.1-2
debian/rsync<=3.2.3-4+deb11u1, <=3.2.3-4+deb11u4, <=3.2.7-1+deb12u4, <=3.2.7-1+deb12u5
3.4.1+ds1-5+deb13u23.4.1+ds1-5+deb13u33.4.3+ds1-2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/rsync to a version that resolves this vulnerability.

    Fixed in 3.4.1+ds1-5+deb13u2Fixed in 3.4.1+ds1-5+deb13u3Fixed in 3.4.3+ds1-2
  2. Configuration

    Do not run rsync with -X (aka --xattrs) on vulnerable versions, since the vulnerability is triggered by receive_xattr when xattrs are enabled.

    rsync --xattrs / -X = disable
  3. Compensating control

    If possible, restrict/avoid rsync receiver operation for non-Linux platforms and common vulnerable Linux configurations, as the receiver-side use-after-free is reachable when the victim runs rsync with -X (--xattrs).

Event History

Apr 16, 2026
CVE Published
via MITRE·06:53 AM
Data Sourced
via MITRE·06:53 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·07:16 AM
DescriptionSeverityWeaknessAffected Software
Data Sourced
via Red Hat·08:01 AM
DescriptionSeverityAffected Software
Apr 17, 2026
Data Sourced
via Microsoft·08:02 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·08:02 AM
Affected Software
Updated
via Microsoft·08:02 AM
DescriptionSeverity
May 20, 2026
Data Sourced
via Launchpad·02:42 PM
Description
Jun 1, 2026
Data Sourced
via Debian·11:32 AM
DescriptionAffected Software
Jun 2, 2026
Data Sourced
via Ubuntu·11:33 AM
RemedyDescriptionSeverityAffected Software
Aug 5, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-41035?

CVE-2026-41035 is classified as a high severity vulnerability due to its potential for exploitation leading to a use-after-free condition.

2

How do I fix CVE-2026-41035?

To mitigate CVE-2026-41035, ensure that you upgrade rsync to a version later than 3.4.1.

3

What is the impact of CVE-2026-41035?

CVE-2026-41035 can potentially allow an attacker to execute arbitrary code via a specially crafted xattr during an rsync operation.

4

Which versions of rsync are affected by CVE-2026-41035?

Rsync versions from 3.0.1 to 3.4.1 are affected by CVE-2026-41035.

5

Is CVE-2026-41035 present on non-Linux platforms?

CVE-2026-41035 is more widely vulnerable on Linux platforms, while the presence of the vulnerability on non-Linux platforms is limited.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203