Critical Security Flaw in rsync Package: Use-After-Free Vulnerability
Summary
ALSA-2026:17481: Important: rsync security update. Affects rsync versions < 3.1.3-25.el8_10. Fixed in 3.1.3-25.el8_10. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The rsync utility is a widely used tool for copying and synchronizing files both locally and across networks. It is known for its efficiency, as it only transfers the differences between files rather than the entire file, making it a preferred choice for mirroring and backup tasks. However, a recently identified vulnerability poses a significant risk to users of the rsync package, particularly in its handling of extended attributes.
Vulnerability Detail
The vulnerability identified as CVE-2026-41035 is a use-after-free issue in the extended attribute handling of the rsync utility. This flaw can potentially allow an attacker to exploit the memory management of the application, leading to arbitrary code execution or crashes. The origin of this vulnerability lies in improper handling of memory allocation and deallocation, which can be triggered during file synchronization processes. The ramifications of this vulnerability are severe, as it could compromise the integrity and security of the systems utilizing rsync, especially in environments where untrusted data is processed.
How To Fix
Minimum fixed version
3.1.3-25.el8_10
This is the first release that contains the fix.
sudo dnf update rsync
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
As a temporary workaround, users can avoid using the extended attribute features of rsync until the package is updated. This can be done by specifying options that disable extended attributes during synchronization.
Conclusion
The rsync utility is a critical tool for file synchronization, but the recent use-after-free vulnerability poses a significant threat to its users. It is essential to update to the latest patched version to safeguard against potential exploits. Utilizing tools like Vulert can help monitor and manage vulnerabilities effectively.
See every vulnerability recorded for rsync →
FAQ
A use-after-free vulnerability occurs when a program continues to use a pointer after the memory it points to has been freed, potentially leading to arbitrary code execution or crashes.
You can use Vulert, which monitors open-source vulnerabilities in your software. By simply uploading your manifest file like package-lock.json, you can check for vulnerabilities without needing to install any software.
Failing to update rsync may leave your system vulnerable to exploitation, which could result in unauthorized access, data loss, or system instability.
Yes, you can disable the use of extended attributes in rsync operations as a temporary measure until the package is updated.
For more details, you can refer to the CVE page for CVE-2026-41035, which provides comprehensive information about the vulnerability, its impact, and the fix.
Related vulnerabilities
Recent vulnerabilities recorded for rsync.