CVE-2026-70457 PUBLISHED

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

Assigner: VulnCheck
Reserved: 04.08.2026 Published: 13.08.2026 Updated: 13.08.2026

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.

Metrics

CVSS 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
CVSS Score: 8.3

Product Status

Vendor RsyncProject
Product rsync
Versions Default: unaffected
  • affected from 3.2.3 to 3.4.4 (incl.)
  • Version 3.5.0 is unaffected

Credits

  • gregkh finder

References

Problem Types

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