CVE-2026-70457rsync 3.2.3 < 3.5.0 Out-of-Bounds Write via parse_size_arg()
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.
Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.
Affected products and versions
| Vendor | Product | Versions | |
|---|---|---|---|
| RsyncProject | rsync | 3.2.3 – ≤ 3.4.4, fixed 3.5.0 | |
| samba | rsync | 3.2.3 – ≤ 3.4.4 |
References and patches
- GitHub Security Advisory (GHSA-pg7g-xqmr-xpfh) vendor-advisoryVendor Advisory
- rsync 3.5.0 Release Notes release-notesProductRelease Notes
- https://www.vulncheck.com/advisories/rsync-out-of-bounds-write-via-parse-size-arg third-party-advisoryRelease NotesThird Party Advisory
CPE matches (NVD) (1)
cpe:2.3:a:samba:rsync:*:*:*:*:*:*:*:*≥ 3.2.3 < 3.5.0