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

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.

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

Remediation

No vendor fix or workaround currently provided.

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

No advisories yet.

History

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

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


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-13T17:37:54.843Z

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

Link: CVE-2026-70461

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-13T15:20:00.117

Modified: 2026-08-13T15:20:00.117

Link: CVE-2026-70461

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

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

Weaknesses