Description
rsync 3.2.3 before 3.5.0 contains an out-of-bounds write in parse_size_arg() where the return value of snprintf() is used directly as an index into a .bss-segment array without bounds checking. When snprintf truncates the formatted size string, the return value equals the number of characters that would have been written including the truncated portion, and this value may exceed the array length. The subsequent indexed write targets memory outside the intended array bounds, corrupting .bss memory.
Severity (CVSS)
| Base score | 8.3 |
|---|---|
| Severity | High |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N |
| Provided by | CNA |
Weaknesses
- CWE-131 — CWE-131 Incorrect Calculation of Buffer Size
- CWE-787 — CWE-787 Out-of-bounds Write
Affected products
| Vendor | Product | Versions |
|---|---|---|
| RsyncProject | rsync | 3.2.3 to <=3.4.4; 3.5.0 |
References
- https://github.com/RsyncProject/rsync/security/advisories/GHSA-pg7g-xqmr-xpfh (vendor-advisory)
- https://github.com/RsyncProject/rsync/releases/tag/v3.5.0 (release-notes)
- https://www.vulncheck.com/advisories/rsync-out-of-bounds-write-via-parse-size-arg (third-party-advisory)
Generated from the official CVE List on 14 Aug 2026 07:02 UTC.