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

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.

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

Remediation

No vendor fix or workaround currently provided.

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

No advisories yet.

History

Thu, 13 Aug 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


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

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


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-13T15:34:33.994Z

Reserved: 2026-06-10T20:14:32.827Z

Link: CVE-2026-53794

cve-icon Vulnrichment

Updated: 2026-08-13T15:34:29.044Z

cve-icon NVD

Status : Received

Published: 2026-08-13T15:19:43.853

Modified: 2026-08-13T16:18:06.893

Link: CVE-2026-53794

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-13T17:00:04Z

Weaknesses
  • CWE-1284

    Improper Validation of Specified Quantity in Input