CVE-2026-70457

high

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.

References

https://www.vulncheck.com/advisories/rsync-out-of-bounds-write-via-parse-size-arg

https://github.com/RsyncProject/rsync/security/advisories/GHSA-pg7g-xqmr-xpfh

https://github.com/RsyncProject/rsync/releases/tag/v3.5.0

Details

Source: Mitre, NVD

Published: 2026-08-13

Updated: 2026-08-13

Risk Information

CVSS v2

Base Score: 6.1

Vector: CVSS2#AV:N/AC:H/Au:N/C:N/I:P/A:C

Severity: Medium

CVSS v3

Base Score: 6.5

Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H

Severity: Medium

CVSS v4

Base Score: 8.3

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

Severity: High