CVE-2026-41035: CWE-130 Improper Handling of Length Parameter Inconsistency in Samba rsync
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.
AI Analysis
Technical Summary
This vulnerability involves improper handling of length parameter inconsistency (CWE-130) in the Samba rsync utility. Specifically, the receive_xattr function relies on an untrusted length value during a qsort operation, leading to a use-after-free condition on the receiver side. This can be triggered when rsync is run with the -X option to handle extended attributes. The affected versions are from 3.0.1 through 3.4.1. The vulnerability has a CVSS 3.1 base score of 7.4, indicating high severity with network attack vector, low attack complexity, requiring low privileges but no user interaction, and impacts confidentiality, integrity, and availability.
Potential Impact
Successful exploitation could allow an attacker to cause a use-after-free on the victim's system running rsync with extended attributes enabled, potentially leading to arbitrary code execution or denial of service. The vulnerability affects many Linux configurations and is more widespread on non-Linux platforms. There are no known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, avoid running rsync with the -X or --xattrs option on affected versions. Monitor vendor communications for updates and apply patches promptly once available.
CVE-2026-41035: CWE-130 Improper Handling of Length Parameter Inconsistency in Samba rsync
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.
CVSS v3.1
Score 7.4high
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability involves improper handling of length parameter inconsistency (CWE-130) in the Samba rsync utility. Specifically, the receive_xattr function relies on an untrusted length value during a qsort operation, leading to a use-after-free condition on the receiver side. This can be triggered when rsync is run with the -X option to handle extended attributes. The affected versions are from 3.0.1 through 3.4.1. The vulnerability has a CVSS 3.1 base score of 7.4, indicating high severity with network attack vector, low attack complexity, requiring low privileges but no user interaction, and impacts confidentiality, integrity, and availability.
Potential Impact
Successful exploitation could allow an attacker to cause a use-after-free on the victim's system running rsync with extended attributes enabled, potentially leading to arbitrary code execution or denial of service. The vulnerability affects many Linux configurations and is more widespread on non-Linux platforms. There are no known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, avoid running rsync with the -X or --xattrs option on affected versions. Monitor vendor communications for updates and apply patches promptly once available.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- mitre
- Date Reserved
- 2026-04-16T06:53:04.777Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69e08ce482d89c981f5edf33
Added to database: 4/16/2026, 7:16:52 AM
Last enriched: 4/24/2026, 3:55:05 PM
Last updated: 5/31/2026, 7:24:31 AM
Views: 96
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.