Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-41035

CVE-2026-41035: rsync Use-After-Free Vulnerability

CVE-2026-41035 is a use-after-free vulnerability in rsync versions 3.0.1 through 3.4.1 affecting systems using the -X flag. This article covers technical details, affected versions, impact analysis, and mitigation strategies.

Published: April 16, 2026

CVE-2026-41035 Overview

A use-after-free vulnerability has been identified in rsync versions 3.0.1 through 3.4.1. The flaw exists in the receive_xattr function, which relies on an untrusted length value during a qsort call. This memory corruption issue can be triggered when rsync is run with the -X (or --xattrs) option, which enables extended attribute synchronization.

Critical Impact

Attackers can exploit this use-after-free vulnerability to potentially execute arbitrary code or cause denial of service on systems running vulnerable rsync versions with extended attribute support enabled.

Affected Products

  • rsync versions 3.0.1 through 3.4.1
  • Linux systems with common configurations using extended attributes
  • Non-Linux platforms (more widely affected due to extended attribute handling differences)

Discovery Timeline

  • April 16, 2026 - CVE-2026-41035 published to NVD
  • April 16, 2026 - Last updated in NVD database

Technical Details for CVE-2026-41035

Vulnerability Analysis

This vulnerability is classified under CWE-130 (Improper Handling of Length Parameter Inconsistency), which describes flaws where software fails to properly handle discrepancies between actual data lengths and declared length values. In the case of rsync, the receive_xattr function accepts a length value from an untrusted source without adequate validation before using it in memory operations.

The attack can be initiated over the network, as rsync commonly operates in client-server mode for remote file synchronization. Once exploited, the use-after-free condition occurs during the qsort operation, where the sorting algorithm accesses memory that has already been freed. This can lead to memory corruption, information disclosure, or arbitrary code execution depending on the state of the heap and attacker control over the freed memory region.

Linux systems have varying exposure depending on their extended attribute configuration, while non-Linux platforms are generally more susceptible due to differences in how extended attributes are processed.

Root Cause

The root cause stems from improper validation of the length parameter received during extended attribute processing. The receive_xattr function trusts the length value provided in the protocol data without verifying that it accurately represents the data being processed. When this untrusted length is passed to qsort, it can cause the function to access memory outside the intended boundaries, leading to use-after-free conditions when the memory has been deallocated.

Attack Vector

The vulnerability is exploitable over the network when a victim connects to a malicious rsync server or when a malicious client connects to a legitimate server. The attack requires the victim to run rsync with the -X or --xattrs flag enabled. The attacker crafts malformed extended attribute data with an inconsistent length value, triggering the memory corruption during the sorting operation.

The exploitation mechanism involves:

  1. Establishing an rsync connection with the target
  2. Sending crafted extended attribute data with a manipulated length value
  3. Triggering the qsort call in receive_xattr with the malicious length
  4. Exploiting the resulting use-after-free condition to achieve code execution or cause a crash

For detailed technical information, refer to the GitHub Issue #871 and the Openwall OSS Security advisory.

Detection Methods for CVE-2026-41035

Indicators of Compromise

  • Unexpected rsync process crashes or segmentation faults during file synchronization
  • Unusual memory access patterns or corruption detected in rsync processes
  • Rsync connections from untrusted sources requesting extended attribute transfers
  • Abnormal network traffic patterns during rsync sessions with extended attributes enabled

Detection Strategies

  • Monitor rsync processes for abnormal termination signals (SIGSEGV, SIGABRT) that may indicate exploitation attempts
  • Implement network monitoring to detect rsync connections with anomalous extended attribute data sizes
  • Deploy endpoint detection solutions capable of identifying use-after-free exploitation patterns in memory
  • Enable verbose logging for rsync operations to capture detailed transfer information for forensic analysis

Monitoring Recommendations

  • Configure system logging to capture rsync command-line arguments, specifically monitoring for -X or --xattrs usage
  • Implement file integrity monitoring on critical systems that use rsync for synchronization
  • Monitor for unexpected outbound connections from rsync processes that could indicate command-and-control activity
  • Deploy memory protection mechanisms like ASLR and stack canaries to mitigate exploitation success

How to Mitigate CVE-2026-41035

Immediate Actions Required

  • Upgrade rsync to version 3.4.2 or later, which contains the security fix for this vulnerability
  • If immediate patching is not possible, disable extended attribute synchronization by removing the -X or --xattrs flag from rsync commands
  • Restrict rsync access to trusted networks and authenticated users only
  • Implement network segmentation to limit exposure of systems running vulnerable rsync versions

Patch Information

The rsync project has addressed this vulnerability in releases following version 3.4.1. Users should upgrade to the latest stable release available from the official rsync GitHub releases page. Package managers for major Linux distributions should have updated packages available. Verify the integrity of downloaded packages and ensure the version installed is 3.4.2 or higher.

Workarounds

  • Remove the -X or --xattrs option from rsync commands and scripts until patching is complete
  • Use SSH tunneling with strict host verification for all rsync connections to reduce attack surface
  • Implement firewall rules to restrict rsync port access (typically TCP port 873) to trusted IP addresses only
  • Consider using alternative file synchronization tools that do not have this vulnerability for sensitive transfers
bash
# Configuration example
# Disable extended attributes in rsync daemon configuration
# Edit /etc/rsyncd.conf

# Add or modify refuse options to block xattr transfers
refuse options = delete xattrs

# Restrict connections to trusted networks
hosts allow = 192.168.1.0/24
hosts deny = *

# Enable chroot for additional isolation
use chroot = yes

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeUse After Free

  • Vendor/TechRsync

  • SeverityHIGH

  • CVSS Score7.4

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-130
  • Technical References
  • GitHub Issue #871

  • GitHub Release Notes

  • Openwall OSS Security Update

  • Openwall OSS Security Update
  • Related CVEs
  • CVE-2024-12747: rsync Race Condition Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English