CVE Database›Document archive›CVE-2026-70457

CVE-2026-70457

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

Loading…

Severity

Moderate

Red Hat Product Security

6.5

CVSS 3.1

Review impact separately from score.

Published · August 13, 2026

Updated · November 3, 2026

Description

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.

Statement

This Moderate impact flaw in rsync stems from an out-of-bounds write in the parse_size_arg() function. Although no privileges or user interaction are required, the high attack complexity indicates that exploitation is not straightforward. Successful exploitation could lead to memory corruption, potentially causing a denial of service or compromising data integrity on affected Red Hat systems.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

If rsync is configured to run as a daemon, restrict network access to trusted hosts using firewall rules. For example, to limit access to localhost: firewall-cmd --permanent --add-rich-rule='rule family="ipv4" port port="873" protocol="tcp" source address="127.0.0.1" accept' firewall-cmd --reload This may impact legitimate remote rsync operations. If rsync is not used as a daemon, ensure that only trusted sources are used for rsync operations.

CVSS / CWE

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

CWE-787 · Out-of-bounds Write