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: < 1% Very Low
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

Fri, 14 Aug 2026 17:15:00 +0000

Type Values Removed Values Added
First Time appeared Samba
Samba rsync
CPEs cpe:2.3:a:samba:rsync:*:*:*:*:*:*:*:*
Vendors & Products Samba
Samba rsync

Fri, 14 Aug 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 14 Aug 2026 10:15:00 +0000

Type Values Removed Values Added
First Time appeared Rsync Project
Rsync Project rsync
Vendors & Products Rsync Project
Rsync Project rsync

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


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-14T16:51:21.628Z

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

Link: CVE-2026-70457

cve-icon Vulnrichment

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

cve-icon NVD

Status : Analyzed

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

Modified: 2026-08-31T15:12:22.027

Link: CVE-2026-70457

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-14T10:00:03Z

Weaknesses
  • CWE-131

    Incorrect Calculation of Buffer Size

  • CWE-787

    Out-of-bounds Write