CVE-2026-41035
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.
Description as published by the source, in English.
Key facts
- Published
- 2026-04-16
- Last modified
- 2026-10-26
- Assigned by
- cve@mitre.org
- CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H- Scored by
- nvd@nist.gov (NVD Primary)
- Probability of exploitation
-
0.4 %
higher than 32 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Not registered in the sources
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Samba | Rsync | ≥ 3.0.1, ≤ 3.4.1 | Affected |
Weakness type
-
CWE-130: Improper Handling of Length Parameter Inconsistency
The product parses a formatted message or structure, but it does not handle or incorrectly handles a length field that is inconsistent with the actual length of the associated data.
-
CWE-805: Buffer Access with Incorrect Length Value
The product uses a sequential operation to read or write a buffer, but it uses an incorrect length value that causes it to access memory that is outside of the bounds of the buffer.
References
- https://github.com/RsyncProject/rsync/issues/871
- https://github.com/RsyncProject/rsync/releases
- https://www.openwall.com/lists/oss-security/2026/04/16/2
- http://www.openwall.com/lists/oss-security/2026/04/16/9
- http://www.openwall.com/lists/oss-security/2026/04/22/3
- https://access.redhat.com/errata/RHSA-2026:17481
- https://access.redhat.com/errata/RHSA-2026:19152
- https://access.redhat.com/errata/RHSA-2026:19368
- https://access.redhat.com/errata/RHSA-2026:20601
- https://access.redhat.com/errata/RHSA-2026:20602
- https://access.redhat.com/errata/RHSA-2026:20603
- https://access.redhat.com/errata/RHSA-2026:20604
- https://access.redhat.com/errata/RHSA-2026:20696
- https://access.redhat.com/errata/RHSA-2026:23233
- https://access.redhat.com/errata/RHSA-2026:23245
- https://access.redhat.com/errata/RHSA-2026:25044
- https://access.redhat.com/errata/RHSA-2026:25149
- https://access.redhat.com/errata/RHSA-2026:25170
- https://access.redhat.com/errata/RHSA-2026:25172
- https://access.redhat.com/errata/RHSA-2026:25173
Related at Berigo
Articles
-
Six Samba vulnerabilities, two of them at maximum severity
Same product
2026-05-26
The Samba project has released fixes for six vulnerabilities, two of which allow remote code execution at CVSS 10.
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.