CVE-2026-70461

rsync 3.2.5 < 3.5.0 Heap Out-of-Bounds Write via files-from Entry

Published Aug 13, 2026 CVSS 4.0 · 8.8 High EPSS < 1% KEV · Not listed
Description
rsync 3.2.5 before 3.5.0 contains a heap out-of-bounds write vulnerability that allows remote unauthenticated attackers to write one attacker-controlled byte past the end of a heap allocation by supplying a crafted files-from entry. Attackers can trigger the vulnerability against a read-only rsync daemon module by providing a files-from entry containing both an interior and trailing backslash, causing the add_implied_include() function to under-count the trailing backslash when sizing the destination buffer.

Analysis

AI-generated

Technical impact

A heap out‑of‑bounds write exists in rsync versions prior to 3.5.0. By including a specially crafted files‑from entry that contains both an interior and a trailing backslash, a remote unauthenticated attacker can cause the add_implied_include() function to miscount the buffer size and write one byte past the end of a heap allocation. This allows the attacker to corrupt arbitrary memory, potentially leading to arbitrary code execution or other severe integrity compromises.

Affected Systems

The vulnerability affects includes the rsync project’s rsync daemon. All releases from 3.2.5 up through 3.4.x are vulnerable. Version 3.5.0 and later contain the fix and are safe.

Risk and Exploitability

The CVSS score of 8.8 classifies this as a high‑severity flaw. Although the EPSS score is not provided, the vulnerability is not currently listed in CISA KEV, suggesting no confirmed exploit at this time. The attack vector requires only a crafted files‑from entry and does not need authentication, making it easy to trigger against any exposed rsync daemon that accepts such entries. If the attacker succeeds in corrupting memory, the impact could be full system compromise.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update rsync to version 3.5.0 or newer, which removes the out‑of‑bounds write bug.
  • If an update cannot be applied immediately, configure the rsync daemon to ignore or reject files‑from directives, such as using the --no‑files‑from option or disabling the feature in the server configuration.
  • Restrict external access to the rsync daemon to trusted hosts or require authentication before allowing files‑from entries, thereby mitigating the unauthenticated exploitation path.

Generated by OpenCVE AI on August 13, 2026 at 17:13 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
Metrics ssvc

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

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
Description rsync 3.2.5 before 3.5.0 contains a heap out-of-bounds write vulnerability that allows remote unauthenticated attackers to write one attacker-controlled byte past the end of a heap allocation by supplying a crafted files-from entry. Attackers can trigger the vulnerability against a read-only rsync daemon module by providing a files-from entry containing both an interior and trailing backslash, causing the add_implied_include() function to under-count the trailing backslash when sizing the destination buffer.
Title rsync 3.2.5 < 3.5.0 Heap Out-of-Bounds Write via files-from Entry
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:20 PM
Modified
Oct 24, 2026, 4:10 PM
Severity
Important
Public date
Aug 13, 2026, 2:42 PM