Use-after-free in Rsync - CVE-2026-41035

 

Use-after-free in Rsync - CVE-2026-41035

Published: June 4, 2026


Vulnerability identifier: #VU133359
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2026-41035
CWE-ID: CWE-416
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Samba
Affected software:
Rsync

Detailed vulnerability description

The vulnerability allows a remote attacker to cause a denial of service and disclose sensitive information.

The vulnerability exists due to use-after-free in receive_xattr() in xattrs.c when processing xattr data from a malicious rsync sender. A remote attacker can send specially crafted xattr metadata to cause a denial of service and disclose sensitive information.

Exploitation requires xattr transfer to be enabled. On Linux, additional conditions apply: the receiver must use --fake-super or an xattr filter that passes non-user namespace xattrs; on FreeBSD and macOS, configurations using xattrs are affected when more than one xattr is processed.


How to mitigate CVE-2026-41035

Install security update from vendor's website.

Sources