CVE-2026-53794

rsync < 3.5.0 Denial of Service via --max-alloc=0 Logic Error

Published Aug 13, 2026 CVSS 4.0 · 6.9 Medium EPSS < 1% KEV · Not listed
Description
rsync before 3.5.0 contains a logic error in --max-alloc handling that allows a sender or configuration setting --max-alloc=0 to disable allocation sanity checks entirely rather than enforcing a zero-byte cap. Attackers can exploit this flaw to cause the receiver to attempt unbounded memory allocations for file list and data structures, potentially exhausting available memory and causing a denial of service.

Analysis

AI-generated

Technical impact

The vulnerability in rsync prior to version 3.5.0 arises from a logic error in how the --max-alloc parameter is processed. Instead of enforcing a zero-byte cap, the implementation permits a sender or configuration setting of --max-alloc=0 to disable allocation safety checks entirely. This allows an attacker to coax the receiver into allocating memory without bounds, potentially exhausting system memory and resulting in a denial of service.

Affected Systems

The flaw affects the rsync project’s software, specifically all releases older than 3.5.0. Systems running these versions on any supported operating system are at risk if rsync is exposed to untrusted input or if the --max-alloc option is configured to 0. Current releases 3.5.0 and later contain the fix.

Risk and Exploitability

The CVSS score of 6.9 indicates a moderate severity. The exploit probability is unknown because EPSS data is unavailable, and the vulnerability is not listed in the CISA KEV catalog. The likely attack vector is remote, via the rsync protocol starter from a malicious sender or via a compromised configuration. Triggering the exploit requires the ability to send a carefully crafted rsync request with --max-alloc set to 0 or allowing a configuration file to specify that value. Successful exploitation would lead to unbounded memory allocation that could kill the rsync process and potentially other services running on the same host, causing a denial of service.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update rsync to version 3.5.0 or later to apply the fixed logic in --max-alloc.
  • Verify that no rsync processes are launched with --max-alloc=0 and replace any such configuration with a non-zero allocation limit.
  • Until the upgrade can be performed, restrict rsync traffic to trusted hosts or disable the service to prevent exploitation.

Generated by OpenCVE AI on August 13, 2026 at 16:51 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 before 3.5.0 contains a logic error in --max-alloc handling that allows a sender or configuration setting --max-alloc=0 to disable allocation sanity checks entirely rather than enforcing a zero-byte cap. Attackers can exploit this flaw to cause the receiver to attempt unbounded memory allocations for file list and data structures, potentially exhausting available memory and causing a denial of service.
Title rsync < 3.5.0 Denial of Service via --max-alloc=0 Logic Error
Weaknesses CWE-1284
References
Metrics cvssV3_1

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

cvssV4_0

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

Weaknesses
  • CWE-1284

    Improper Validation of Specified Quantity in Input

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Aug 14, 2026, 4:50 PM
Reserved
Jun 10, 2026, 8:14 PM
Status
Analyzed
Published
Aug 13, 2026, 3:19 PM
Modified
Nov 6, 2026, 4:00 PM