CVE-2026-70458

rsync 3.0.0 < 3.5.0 Out-of-Bounds Write via FLAG_HLINKED Handling

Published Aug 13, 2026 CVSS 4.0 · 8.8 High EPSS < 1% KEV · Not listed
Description
rsync 3.0.0 before 3.5.0 contains an out-of-bounds write vulnerability that allows attackers to corrupt memory by triggering HLINK_BUMP processing on file entries with the FLAG_HLINKED flag set while the hard-link preservation option is inactive. Attackers can exploit the missing F_SUM field in the file_struct layout to access memory past the end of the allocated structure, corrupting adjacent heap or stack data.

Analysis

AI-generated

Technical impact

rsync, versions 3.0.0 through 3.4.x, includes an out‑of‑bounds write that can corrupt memory when a file entry is processed with the FLAG_HLINKED flag while hard‑link preservation is disabled. The flaw arises from missing the F_SUM field in the file_struct layout, allowing an attacker to write beyond the allocated buffer. Such memory corruption can overwrite adjacent heap or stack data, potentially enabling arbitrary code execution or denial of service, depending on how the overwritten data is used by rsync or the operating system.

Affected Systems

The vulnerability affects rsync provided by RsyncProject, specifically any release starting at rsync 3.0.0 up to but not including 3.5.0. Users running these versions on any platform where rsync services are exposed to untrusted clients are at risk.

Risk and Exploitability

The CVSS score of 8.8 classifies this issue as a high‑severity vulnerability. EPSS data is unavailable so a precise exploitation probability cannot be quantified; however, rsync is commonly used for remote file synchronization, suggesting that an attacker could target the service over the network. The vulnerability is not listed in the CISA KEV catalog. Successful exploitation would require sending a crafted sync request that triggers HLINK_BUMP processing on a file with FLAG_HLINKED set and hard‑link preservation disabled, thereby overflowing the file_struct and corrupting memory.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade rsync to version 3.5.0 or later, which removes the incorrect handling of FLAG_HLINKED.
  • If an upgrade cannot be performed immediately, disable hard‑link preservation in rsync configuration to prevent the FLAG_HLINKED path from being exercised.
  • Continuously monitor rsync service logs for anomalous activity, such as unexpected crashes or access violations, which may indicate attempted exploitation.

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

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4888-1 rsync security update
Debian DSA Debian DSA DSA-6527-1 rsync security update
History
Type Values Removed Values Added
First Time appeared Samba
Samba rsync
CPEs cpe:2.3:a:samba:rsync:*:*:*:*:*:*:*:*
Vendors & Products Samba
Samba rsync
Type Values Removed Values Added
First Time appeared Rsync Project
Rsync Project rsync
Vendors & Products Rsync Project
Rsync Project rsync
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
Description rsync 3.0.0 before 3.5.0 contains an out-of-bounds write vulnerability that allows attackers to corrupt memory by triggering HLINK_BUMP processing on file entries with the FLAG_HLINKED flag set while the hard-link preservation option is inactive. Attackers can exploit the missing F_SUM field in the file_struct layout to access memory past the end of the allocated structure, corrupting adjacent heap or stack data.
Title rsync 3.0.0 < 3.5.0 Out-of-Bounds Write via FLAG_HLINKED Handling
Weaknesses CWE-787
References
Metrics cvssV3_1

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

cvssV4_0

{'score': 8.8, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Aug 14, 2026, 4:51 PM
Reserved
Aug 4, 2026, 2:52 PM
Status
Analyzed
Published
Aug 13, 2026, 3:19 PM
Modified
Nov 6, 2026, 3:58 PM