Description
rsync before 3.5.0 contains a logic error in --max-alloc handling that allows a sender or configuration setting --max-alloc=0 to disable allocation sanity checks entirely rather than enforcing a zero-byte cap. Attackers can exploit this flaw to cause the receiver to attempt unbounded memory allocations for file list and data structures, potentially exhausting available memory and causing a denial of service.
Severity (CVSS)
| Base score | 6.9 |
|---|---|
| Severity | Medium |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N |
| Provided by | CNA |
Weaknesses
- CWE-1284 — CWE-1284 Improper Validation of Specified Quantity in Input
Affected products
| Vendor | Product | Versions |
|---|---|---|
| RsyncProject | rsync | 0 to <=3.4.4; 3.5.0 |
References
- https://github.com/RsyncProject/rsync/security/advisories/GHSA-p827-vwcp-m964 (vendor-advisory)
- https://github.com/RsyncProject/rsync/releases/tag/v3.5.0 (release-notes)
- https://www.vulncheck.com/advisories/rsync-denial-of-service-via-max-alloc-0-logic-error (third-party-advisory)
Generated from the official CVE List on 14 Aug 2026 07:02 UTC.