Skip to main content
Mallory
← Back to News
widely-deployed-product-advisory

Rsync xattr Handling Flaw Can Crash Receivers and Risk Code Execution

Patch & Detection Intelligence · 17 sources · Updated 3mo ago · First seen May 19, 2026

Rsync xattr Handling Flaw Can Crash Receivers and Risk Code Execution

A vulnerability tracked as CVE-2026-41035 affects rsync extended attribute handling and can be triggered when transfers use -X or --xattrs. The flaw occurs in receive_xattr(), where untrusted extended-attribute metadata is mishandled during sorting, causing memory corruption. Red Hat rated the issue Important with a CVSS v3 score of 7.4, warning that successful exploitation can crash the rsync process for denial of service and may also allow arbitrary code execution.

Public debugging details tied the bug to rsync 3.4.1, where qsort() used the wire-provided attribute count instead of the number of entries actually retained after filtering. On non-Linux, non-root receivers such as FreeBSD, filtered namespaces like security.* or trusted.* could leave stale or uninitialized array elements that led to a SIGSEGV in rsync_xal_compare_names() via strcmp() on a NULL pointer. Red Hat said exploitation requires extended attributes to be explicitly enabled, advised administrators to avoid -X or --xattrs unless necessary, and published fixes across affected Red Hat Enterprise Linux product streams.

Patch this, or something else?See real exploitation activity before you spend the cycle.
Triage this advisory
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

12 events · Nov 18, 2025 – Aug 25, 2026
  1. Aug 25, 20263mo ago

    Rsync release fixes 33 vulnerabilities affecting FreeBSD packages

    The rsync project released fixes for 33 security issues identified through path-handling and daemon-protocol audits, fuzzing, and external reports. FreeBSD's net/rsync advisory directed affected systems to update, covering CVEs including CVE-2026-53783 through CVE-2026-53803 and CVE-2026-70452 through CVE-2026-70464.

    FreeBSD : net/rsync -- multiple vulnerabilities (fee67ad5-a05e... | Tenable®
  2. May 26, 20266mo ago

    Red Hat ships RHEL 9.4 fix for CVE-2026-41035

    Red Hat issued RHSA-2026:20604 for RHEL 9.4 Extended Update Support and related lifecycle channels, providing rsync-3.2.3-19.el9_4.3. The update remediates CVE-2026-41035 and CVE-2025-10158 across x86_64, aarch64, ppc64le, and s390x.

    RHSA-2026:20604 - Security Advisory - Red Hat Customer Portal
  3. May 26, 20266mo ago

    Red Hat ships RHEL 9.6 servicing-channel fix for CVE-2026-41035

    Red Hat issued RHSA-2026:20603 for RHEL 9.6 servicing channels, providing rsync-3.2.5-3.el9_6.1 to remediate CVE-2026-41035 along with CVE-2024-12086 and CVE-2025-10158. Fixed packages were supplied for supported x86_64, aarch64, ppc64le, and s390x offerings.

    RHSA-2026:20603 - Security Advisory - Red Hat Customer Portal
  4. May 26, 20266mo ago

    Red Hat ships RHEL 9.2 SAP Solutions fix for CVE-2026-41035

    Red Hat issued RHSA-2026:20602 for RHEL 9.2 Update Services for SAP Solutions and associated lifecycle channels, providing rsync 3.2.3-19.el9_2.3. The update remediates CVE-2026-41035 and CVE-2025-10158 for x86_64, aarch64, ppc64le, and s390x systems.

    RHSA-2026:20602 - Security Advisory - Red Hat Customer Portal
  5. Reported May 19, 20266mo ago

    Red Hat ships multiple June fixes for CVE-2026-41035

    On June 11, 2026, Red Hat listed fixes for CVE-2026-41035 across several product streams, including RHEL 6 ELS Extension, RHEL 7 ELS, RHEL 8.4 AMCU and EUS Long-Life Add-On, RHEL 8.6 AMCU and EUS Long-Life Add-On, and RHEL 8.8 TUS. These advisories expanded remediation coverage for the rsync flaw.

    CVE-2026-41035 - Red Hat Customer Portal
  6. Reported May 19, 20266mo ago

    Red Hat ships RHEL 10.0 EUS fix for CVE-2026-41035

    Red Hat listed Red Hat Enterprise Linux 10.0 Extended Update Support as fixed for CVE-2026-41035 via RHSA-2026:20696. The fix addressed the rsync extended-attribute vulnerability in that product stream.

    CVE-2026-41035 - Red Hat Customer Portal
  7. May 19, 20266mo ago

    Red Hat ships RHEL 10 fix for CVE-2026-41035

    Red Hat listed Red Hat Enterprise Linux 10 as fixed for CVE-2026-41035 via advisory RHSA-2026:19152. This was one of the product-stream remediations published for the rsync vulnerability.

    CVE-2026-41035 - Red Hat Customer Portal
  8. May 14, 20266mo ago

    Red Hat ships RHEL 8 fix for CVE-2026-41035

    Red Hat listed Red Hat Enterprise Linux 8 as fixed for CVE-2026-41035 via advisory RHSA-2026:17481. The advisory identifies the issue as an Important-severity rsync flaw in extended attribute handling.

    CVE-2026-41035 - Red Hat Customer Portal
  9. May 2026

    Red Hat ships RHEL 9 fix for CVE-2026-41035

    Red Hat listed Red Hat Enterprise Linux 9 as fixed for CVE-2026-41035 via advisory RHSA-2026:19368. The Bugzilla notice identifies the issue as an rsync receive_xattr use-after-free vulnerability triggered when xattrs are enabled.

    2458898 - (CVE-2026-41035) CVE-2026-41035 rsync: Rsync: Use-after-free vulnerability in extended attribute handling
  10. Reported Apr 18, 20267mo ago

    Rsync bug report documents receive_xattr crash and proposed fix

    A GitHub issue documented that rsync 3.4.1 can crash with SIGSEGV in receive_xattr() because qsort() uses the wire-provided xattr count instead of the filtered entry count. The report included a reproducible FreeBSD/Linux scenario and proposed changing the qsort() call to use temp_xattr.count.

    SIGSEGV in receive_xattr() on FreeBSD - qsort() called with wrong element count · Issue #871 · RsyncProject/rsync
  11. Apr 16, 20267mo ago

    CVE-2026-41035 is made public

    The Red Hat advisory states that CVE-2026-41035 was made public as an rsync vulnerability involving extended attribute handling. The flaw can be triggered when rsync is run with -X or --xattrs and may lead to denial of service or possible code execution.

    CVE-2026-41035 - Red Hat Customer Portal
  12. Nov 18, 20251y ago

    CVE-2025-10158 rsync negative-index flaw is reported

    Red Hat Bug 2415637 reported CVE-2025-10158, an rsync out-of-bounds heap-buffer read caused by negative array-index access. A malicious receiving rsync client with read access to a remote module can trigger the issue.

    2415637 - (CVE-2025-10158) CVE-2025-10158 rsync: Rsync: Out of bounds array access via negative index
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

Open in app →

Affected products

3 linked
RsyncRsyncRsync
Do you run this?See real exploitation activity behind this advisory so you can triage it against everything else in the queue.
Prioritize This Patch
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.