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.
Published: 2026-08-13
Score: 8.3 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A memory corruption flaw exists in rsync versions 3.2.3 through 3.4.x where the function parse_size_arg() uses the return value of snprintf() directly as an index into a .bss‑segment array without validating bounds. When snprintf truncates the formatted size string, its return value represents the total number of characters that would have been written, including truncated data, and this value can exceed the array length. The resulting out‑of‑bounds write corrupts memory beyond the intended buffer, potentially leading to arbitrary code execution or denial of service.

Affected Systems

The vulnerability affects the rsync project’s rsync software, specifically all releases from 3.2.3 up to, but not including, 3.5.0. Users running any of these affected versions are at risk and should upgrade to ≥3.5.0.

Risk and Exploitability

The CVSS score of 8.3 reflects a high severity risk with strong impact potential. EPSS data is not available, but the flaw is not listed in CISA’s KEV catalog, indicating it is not currently known to have widespread exploitation. The likely attack vector is a remote attacker who can connect to a running rsync process and send size arguments that trigger the buffer overflow, giving the attacker the ability to overwrite memory and potentially execute arbitrary code. Discovery of an exploit path therefore underscores the need for timely remediation.

Generated by OpenCVE AI on August 13, 2026 at 17:12 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade rsync to version 3.5.0 or later, which contains the buffer‑size check correction
  • If upgrading immediately is not possible, restrict rsync access to trusted hosts using firewall rules and deny connections from untrusted networks
  • Disable the rsync service entirely until the patch is applied and the service is verified to be secure

Generated by OpenCVE AI on August 13, 2026 at 17:12 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 13 Aug 2026 15:15:00 +0000

Type Values Removed Values Added
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.
Title rsync 3.2.3 < 3.5.0 Out-of-Bounds Write via parse_size_arg()
Weaknesses CWE-131
CWE-787
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H'}

cvssV4_0

{'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'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-13T17:33:51.308Z

Reserved: 2026-08-04T14:52:23.814Z

Link: CVE-2026-70457

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-13T15:19:59.490

Modified: 2026-08-13T15:19:59.490

Link: CVE-2026-70457

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-13T17:15:05Z

Weaknesses
  • CWE-131

    Incorrect Calculation of Buffer Size

  • CWE-787

    Out-of-bounds Write