All reports
Medium

rsync: rsync: Memory corruption via out-of-bounds write in size parsing

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-70457

Probability of exploitation in the next 30 days: 0.38%

FIRST EPSS · 2026-11-22

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.

An out-of-bounds write vulnerability in rsync's parse_size_arg() function allows a remote attacker to cause memory corruption. The flaw is triggered when snprintf() truncates a formatted size string, resulting in an incorrect memory array index. Exploitation can lead to a denial of service and potentially compromise data integrity.