Skip to main content

rsync CVE-2026-41035

| EUVDEUVD-2026-23215 HIGH
Improper Handling of Length Parameter Inconsistency (CWE-130)
2026-04-16 mitre GHSA-m34r-4v3r-pp9v
7.8
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Lure victim to run rsync -X against attacker peer
  2. Delivery
    Send crafted xattr records with malicious length
  3. Exploit
    Trigger use-after-free in receive_xattr qsort
  4. Execution
    Corrupt receiver process memory
  5. Impact
    Crash or potential code execution on victim

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Length parameter validation
Exploitation Conditions

Exploitation requires the victim to run rsync with the -X (aka --xattrs) option - without extended-attribute transfer the vulnerable receive_xattr path is never reached. The malicious xattr data is delivered by the remote peer, so the attacker must control (or interpose on) the rsync server/source the victim connects to, and the victim must initiate that transfer (UI:R). Exploitation is further limited by platform and configuration: on Linux only many-but-not-all common configurations are vulnerable, whereas non-Linux platforms are more widely vulnerable. Affected versions are strictly rsync 3.0.1 through 3.4.1.

Impact

Signals point to a genuine but low-priority issue. The CVSS base score is 7.8 (High) with vector AV:L/AC:L/PR:N/UI:R, but the score is gated by UI:R - the victim must actively run rsync with -X against an attacker-controlled peer - and S:U with full C/I/A impact reflects worst-case memory corruption on the receiver. EPSS is 0.01% (3rd percentile) and CISA SSVC rates Exploitation=none, Automatable=no, Technical Impact=partial, all of which argue against widespread or automated exploitation. There is no KEV listing and no public POC. One inconsistency to verify: the published vector is AV:L, yet the vulnerable data arrives from a remote peer over an rsync/SSH transfer, which is arguably a network-reachable path - defenders should treat the practical attack surface as 'remote malicious peer' rather than purely local. Net: a legitimate use-after-free worth patching in maintenance cycles, but not an emergency given the required user interaction, configuration dependence, and absence of exploitation evidence.

Exploit ScenarioDerived

A victim runs rsync with -X to pull or push files from a server an attacker controls (or a man-in-the-middle on an unauthenticated transfer). The malicious peer sends crafted extended-attribute records with a manipulated length value, triggering the use-after-free in receive_xattr on the victim's receiver process, causing a crash or potentially attacker-influenced code execution. No public POC is available at time of analysis, and the attack requires the victim to initiate an xattr-enabled transfer against the malicious peer.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv6 – Jun 30, 2026

Receiver-side use-after-free in rsync 3.0.1 through 3.4.1 lets a malicious peer corrupt memory on a host running rsync with the -X (--xattrs) option. The receive_xattr function trusts an attacker-supplied length value during a qsort operation, which a malicious sender/server can abuse to crash the receiver or potentially achieve code execution; Linux hosts are vulnerable in many common configurations and non-Linux platforms more broadly. No public exploit identified at time of analysis, EPSS is very low (0.01%), and SSVC scores exploitation as none, indicating a real-but-not-urgent memory-safety bug rather than a mass-exploited threat.

Earlier versions of this analysis (5)
v5 Jun 30, 2026 - 04:36 cvss changed CVSS 7.8

Memory corruption in rsync 3.0.1 through 3.4.1 lets a malicious rsync peer trigger a use-after-free in the receiving process when the victim runs a transfer with the -X (--xattrs) option. The receive_xattr function trusts an attacker-controlled length value passed into a qsort call, corrupting receiver memory and enabling crash or potential code execution in the victim's rsync process. No public exploit identified at time of analysis; EPSS is very low (0.01%), and SSVC records no observed exploitation, so this is a credible-but-not-urgent issue gated behind the non-default xattrs feature.

v4 Jun 30, 2026 - 04:35 cvss changed CVSS 7.8

Receiver-side use-after-free in rsync 3.0.1 through 3.4.1 lets a malicious rsync peer corrupt memory on a victim that transfers files with extended-attribute support (-X/--xattrs). The receive_xattr routine trusts an attacker-supplied length value during a qsort call, enabling memory corruption that could lead to crashes or potential code execution on the receiving host. No public exploit has been identified at time of analysis and EPSS probability is negligible (0.01%), but the flaw is broadly distributed and widely patched by Linux vendors.

v3 Jun 30, 2026 - 04:34 cvss changed CVSS 7.8

Receiver-side use-after-free in rsync versions 3.0.1 through 3.4.1 lets a malicious rsync peer corrupt memory on a victim's machine when the victim transfers files with extended-attribute support enabled (-X/--xattrs). The receive_xattr routine trusts an attacker-supplied length value during a qsort operation, enabling memory corruption that can lead to information disclosure or potentially code execution. There is no public exploit identified at time of analysis, EPSS is very low (0.01%, 3rd percentile), and it is not listed in CISA KEV, but vendor patches are available across major distributions.

v2 Apr 22, 2026 - 04:28 cvss changed CVSS 7.4

Use-after-free in rsync 3.0.1 through 3.4.1 allows authenticated remote attackers to compromise confidentiality, integrity, and availability when the victim runs rsync with extended attribute support (-X/--xattrs) enabled. The vulnerability stems from qsort operations on untrusted length values during extended attribute processing, with Linux systems in common configurations being widely vulnerable, and non-Linux platforms facing even broader exposure. EPSS probability is negligible (0.01%, 3rd percentile) with no confirmed active exploitation (SSVC: none) and publicly available exploit code not identified, suggesting this is a patch-now-but-not-emergency priority despite the 7.4 CVSS score.

v1 Apr 16, 2026 - 07:50 CVSS 7.4

Use-after-free in rsync 3.0.1-3.4.1 allows authenticated remote attackers to corrupt memory during xattr synchronization on the receiver side. Exploitation requires victim to run 'rsync -X' (extended attributes enabled). Linux systems with certain configurations and all non-Linux platforms are vulnerable. EPSS data not provided; no CISA KEV status confirmed. CVSS 7.4 (High) with scope change indicates potential for cross-privilege-boundary impact beyond simple denial of service.

RemediationAI

Patch available per vendor advisory: upgrade rsync beyond 3.4.1 to the upstream fixed release (see https://github.com/RsyncProject/rsync/releases and issue https://github.com/RsyncProject/rsync/issues/871; an exact upstream tag is not independently confirmed from the provided data). Distribution users should apply their packaged fixes - Ubuntu USN-8283-1 (https://ubuntu.com/security/notices/USN-8283-1) and Red Hat errata RHSA-2026:17481/19152/19368/20601-20604 (https://access.redhat.com/errata/). Where immediate patching is not possible, the most effective compensating control is to avoid the -X/--xattrs option on the receiving side, since the bug is only reachable when extended-attribute transfer is enabled - the trade-off is that extended attributes (SELinux labels, ACprobably-related metadata, user.* attributes) will no longer be synchronized. Additionally, only synchronize with trusted peers/servers and restrict rsync transfers to authenticated, trusted endpoints (e.g., over SSH with known hosts), since the malicious data originates from the remote peer; the trade-off is reduced flexibility for ad-hoc transfers.

Affected VersionsENISA

rsync 3.0.1 ≤3.4.1

Affected Packages

euvd rsync no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

rsync is a widely used file-synchronization and transfer utility (the affected codebase is tracked under the CPE cpe:2.3:a:samba:rsync). The flaw is in receive_xattr, the routine that parses extended-attribute (xattr) metadata sent by the remote peer when extended-attribute preservation is requested via -X/--xattrs. The root cause maps to CWE-130 (Improper Handling of Length Parameter Inconsistency): the receiver relies on an untrusted length value supplied over the wire and uses it during a qsort call, producing a use-after-free condition on the receiving side. Extended attributes are a filesystem feature (e.g., security.*, user.*, system.* namespaces) whose handling differs across platforms, which is why exposure varies - only some Linux configurations exercise the vulnerable path while non-Linux platforms are more uniformly affected.

Know when Rsync gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 7.8 HIGH
AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
vuln.today AI 7.5 HIGH

Malicious data arrives from a remote peer (AV:N) but victim must run -X against an attacker-controlled host and only some configs are vulnerable (UI:R, AC:H); use-after-free yields full memory-corruption impact.

3.1 AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:N/AC:H/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
SUSE 7.4 HIGH
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L
Red Hat 7.4 HIGH

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

8
Analysis Updated
Jun 30, 2026 - 04:36 vuln.today
v6 - CVSS changed
Analysis Updated
Jun 30, 2026 - 04:36 vuln.today
v5 - CVSS changed
Analysis Updated
Jun 30, 2026 - 04:35 vuln.today
v4 - CVSS changed
Analysis Updated
Jun 30, 2026 - 04:34 vuln.today
v3 - CVSS changed
CVSS changed
Jun 30, 2026 - 03:24 NVD
7.4 (HIGH) 7.8 (HIGH)
Analysis Updated
Apr 22, 2026 - 04:28 vuln.today
v2 - CVSS changed
Patch released
Apr 19, 2026 - 08:30 nvd
Patch available
CVE Published
Apr 16, 2026 - 06:53 nvd
HIGH 7.4

DescriptionNVD

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.

Executive ViewAI

Why It Matters

rsync versions 3.0.1 through 3.4.1 contain a memory corruption vulnerability exploitable by malicious remote peers when the -X (extended attributes) option is enabled, potentially allowing remote code execution on affected systems; no public exploit identified at time of analysis. Organizations using rsync should prioritize patching to prevent potential system compromise.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.0%
Top 97% exploitable
Prevalence
Ubiquitous
rsync is a default file-transfer tool across nearly all Linux/Unix systems
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in Rsync

View all
CVE-2024-12085 HIGH POC
7.5 Jan 14

A flaw was found in rsync which could be triggered when rsync compares file checksums. Rated high severity (CVSS 7.5), t

CVE-2024-12084 CRITICAL POC
9.8 Jan 15

A heap-based buffer overflow flaw was found in the rsync daemon. Rated critical severity (CVSS 9.8), this vulnerability

CVE-2014-9512 MEDIUM POC
6.4 Feb 12

rsync 3.1.1 allows remote attackers to write to arbitrary files via a symlink attack on a file in the synchronization pa

CVE-2024-12087 HIGH POC
7.5 Jan 14

Server-to-client path traversal in rsync lets a malicious or compromised rsync server write files outside the client's i

CVE-2022-29154 HIGH POC
7.4 Aug 02

An issue was discovered in rsync before 3.2.5 that allows malicious remote servers to write arbitrary files inside the d

CVE-2014-2855 HIGH
7.8 Apr 23

The check_secret function in authenticate.c in rsync 3.1.0 and earlier allows remote attackers to cause a denial of serv

CVE-2024-12086 MEDIUM POC
6.8 Jan 14

A flaw was found in rsync. Rated medium severity (CVSS 6.1), this vulnerability is remotely exploitable, no authenticati

CVE-2017-16548 CRITICAL
9.8 Nov 06

The receive_xattr function in xattrs.c in rsync 3.1.2 and 3.1.3-development does not check for a trailing '\0' character

CVE-2017-17434 CRITICAL
9.8 Dec 06

The daemon in rsync 3.1.2, and 3.1.3-development before 2017-12-03, does not check for fnamecmp filenames in the daemon_

CVE-2017-15994 CRITICAL
9.8 Oct 29

rsync 3.1.3-development before 2017-10-24 mishandles archaic checksums, which makes it easier for remote attackers to by

CVE-2026-53790 CRITICAL
9.2 Aug 13

Arbitrary command execution in rsync before 3.5.0 arises from multiple unsanitized code paths - the RSYNC_CONNECT_PROG e

CVE-2026-70460 CRITICAL
9.2 Aug 13

Arbitrary file write in rsync 2.3.3 through 3.4.4 lets a malicious sender escape a daemon module's root by abusing symli

Vendor StatusVendor

SUSE

Severity: High
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP7 Fixed
SUSE Linux Enterprise Micro 5.2 Fixed
SUSE Linux Enterprise Micro 5.3 Fixed
SUSE Linux Enterprise Micro 5.4 Fixed

References

Advisories & patches
ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2026-41035 ADVISORY https://ubuntu.com/security/notices/USN-8283-1 ADVISORY https://vuldb.com/vuln/357897 REF http://www.openwall.com/lists/oss-security/2026/04/16/9 REF http://www.openwall.com/lists/oss-security/2026/04/22/3 REF https://access.redhat.com/errata/RHSA-2026:17481 REF https://access.redhat.com/errata/RHSA-2026:19152 REF https://access.redhat.com/errata/RHSA-2026:19368 REF https://access.redhat.com/errata/RHSA-2026:20601 REF https://access.redhat.com/errata/RHSA-2026:20602 REF https://access.redhat.com/errata/RHSA-2026:20603 REF https://access.redhat.com/errata/RHSA-2026:20604 REF https://access.redhat.com/errata/RHSA-2026:20696 REF https://access.redhat.com/errata/RHSA-2026:23233 REF https://access.redhat.com/errata/RHSA-2026:23245 REF https://access.redhat.com/errata/RHSA-2026:25044 REF https://access.redhat.com/errata/RHSA-2026:25149 REF https://access.redhat.com/errata/RHSA-2026:25170 REF https://access.redhat.com/errata/RHSA-2026:25172 REF https://access.redhat.com/errata/RHSA-2026:25173 REF https://access.redhat.com/errata/RHSA-2026:25181 REF https://access.redhat.com/errata/RHSA-2026:25190 REF https://access.redhat.com/errata/RHSA-2026:26542 REF https://access.redhat.com/errata/RHSA-2026:28887 REF https://access.redhat.com/errata/RHSA-2026:29197 REF https://access.redhat.com/errata/RHSA-2026:34098 REF https://access.redhat.com/errata/RHSA-2026:59831 REF https://access.redhat.com/security/cve/CVE-2026-41035 REF https://bugzilla.redhat.com/show_bug.cgi?id=2458898 REF https://github.com/RsyncProject/rsync/issues/871 REF https://github.com/RsyncProject/rsync/releases REF https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-41035.json REF https://www.openwall.com/lists/oss-security/2026/04/16/2

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy