CVE-2026-70456

rsync 3.0.1 < 3.5.0 Heap Out-of-Bounds Write via read_args()

Published Aug 13, 2026 CVSS 4.0 · 8.8 High EPSS < 1% KEV · Not listed
Description
rsync 3.0.1 before 3.5.0 contains an out-of-bounds write vulnerability in the read_args() function that allows a malicious sender to corrupt adjacent heap memory by sending a crafted argument list. When the argument count causes the argv allocation to be exactly full, the trailing NULL terminator is written one slot beyond the allocation boundary, corrupting adjacent heap memory.

Analysis

AI-generated

Technical impact

rsync versions 3.0.1 through 3.4.x contain a heap out‑of‑bounds write in the read_args() function. A malicious sender can craft an argument list that causes the argv allocation to be exactly full, so the terminating NULL is written one slot past the boundary. This corrupts adjacent heap memory, potentially allowing an attacker to alter program state, crash the daemon, or execute arbitrary code. The flaw is a classic CWE‑787 vulnerability.

Affected Systems

The vulnerability affects rsync supplied by the RsyncProject for all releases that are older than 3.5.0, including rsync 3.0.1, 3.1.x, 3.2.x, 3.3.x, and 3.4.x.

Risk and Exploitability

The CVSS score of 8.8 indicates a high‑severity weakness. EPSS data is not available, and the vulnerability is not listed in the CISA KEV catalog, suggesting it may not yet be widely exploited. The flaw is reachable from the network side; a threat actor who can establish a connection to the rsync daemon as a sender can deliver the crafted arguments. If successfully exploited, the heap corruption could lead to remote code execution or denial of service.

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 vulnerable read_args() implementation.
  • If an upgrade is not feasible, limit rsync listening to trusted hosts or block untrusted inbound connections via firewall or SELinux policies.
  • Monitor rsync logs for unusually large or malformed argument lists and configure system monitoring to detect abnormal heap behavior or crashes.

Generated by OpenCVE AI on August 13, 2026 at 17:11 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.0.1 before 3.5.0 contains an out-of-bounds write vulnerability in the read_args() function that allows a malicious sender to corrupt adjacent heap memory by sending a crafted argument list. When the argument count causes the argv allocation to be exactly full, the trailing NULL terminator is written one slot beyond the allocation boundary, corrupting adjacent heap memory.
Title rsync 3.0.1 < 3.5.0 Heap Out-of-Bounds Write via read_args()
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:59 PM
Severity
Important
Public date
Aug 13, 2026, 2:44 PM