Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Samba | Rsync | >= 3.2.3, < 3.5.0 |
Related Weaknesses (CWE)
References
- https://github.com/RsyncProject/rsync/releases/tag/v3.5.0ProductRelease Notes
- https://github.com/RsyncProject/rsync/security/advisories/GHSA-pg7g-xqmr-xpfhVendor Advisory
- https://www.vulncheck.com/advisories/rsync-out-of-bounds-write-via-parse-size-arRelease NotesThird Party Advisory
FAQ
What is CVE-2026-70457?
CVE-2026-70457 is a vulnerability with a CVSS score of 6.5 (MEDIUM). 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 s...
How severe is CVE-2026-70457?
CVE-2026-70457 has been rated MEDIUM with a CVSS base score of 6.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-70457?
Check the references section above for vendor advisories and patch information. Affected products include: Samba Rsync.