CVE-2026-70457

rsync 3.2.3 < 3.5.0 Out-of-Bounds Write via parse_size_arg()

State
Published
Severity
8.3 High
Published
Aug 13, 2026
Updated
Aug 14, 2026
Reserved
Aug 4, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.08.3 HighCVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:NVulnCheck
3.16.5 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:HVulnCheck

Weaknesses

  • CWE-131 Incorrect Calculation of Buffer Size
  • CWE-787 Out-of-bounds Write

Affected Products

ProductVersions
rsyncRsyncProject
  • 3.2.3 through 3.4.4Affected
  • 3.5.0Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.