Skip to main content

rsync CVE-2026-70457

| EUVDEUVD-2026-58047 HIGH
Incorrect Calculation of Buffer Size (CWE-131)
2026-08-13 VulnCheck
8.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Send crafted size argument via rsync protocol
  2. Delivery
    parse_size_arg() invokes snprintf() on oversized value
  3. Exploit
    snprintf truncates output, returns inflated character count
  4. Execution
    inflated count used as .bss array index without bounds check
  5. Persist
    out-of-bounds write corrupts static memory
  6. Impact
    process crash or memory state corruption

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Buffer size calculation
Exploitation Conditions

The vulnerability is triggered when parse_size_arg() processes a size argument whose formatted representation exceeds the internal .bss-segment array length, causing snprintf() to truncate and return an inflated character count. An attacker must supply a size parameter (e.g., via rsync protocol options that accept size values) sufficiently large or malformed to cause this truncation. AV:N/PR:N/UI:N in the CVSS 4.0 vector indicates this is reachable by unauthenticated remote attackers without user interaction - including clients connecting to a malicious rsync server or requests to an exposed rsync daemon. AC:H limits exploitation: the attacker must craft a value that reliably triggers the snprintf truncation boundary; opportunistic or generic payloads are unlikely to succeed. No special configuration setting or non-default feature flag is required; the affected code path is exercised during normal size-argument parsing present in common rsync operations. Exploitation is limited to rsync versions 3.2.3-3.4.x; rsync 3.5.0 is not affected.

Impact

The CVSS 4.0 vector (AV:N/AC:H/AT:N/PR:N/UI:N) scores 8.3, positioning this as a high-severity issue. The primary real-world impact is availability (VA:H) - the .bss corruption can crash the rsync process - with minor integrity impact (VI:L) reflecting potential silent data-state corruption. Confidentiality is unaffected (VC:N). The AC:H metric is the key moderating factor: the attacker must supply a size argument that causes snprintf to truncate, meaning a precisely crafted oversized value is required to trigger the vulnerability; generic or malformed input may not reliably reach the condition. No CISA KEV listing exists, and no public POC exploit code has been identified, which reduces urgency compared to actively exploited issues. However, rsync is ubiquitous and frequently exposed in backup pipelines, CI/CD infrastructure, and rsync daemons accessible over the internet, meaning exploitation surface is broad even if per-attempt complexity is elevated. EPSS data was not provided in the input; exploitation probability cannot be stated numerically. The combination of unauthenticated network access (PR:N), no user interaction (UI:N), and confirmed existence of a security-designated release (v3.5.0) makes patching the clear priority despite the absence of active exploitation signals.

Exploit ScenarioDerived

An attacker with access to an exposed rsync daemon (TCP 873) sends a crafted rsync protocol negotiation containing an oversized size argument - such as a --max-size value designed to cause snprintf to truncate its formatted output. The parse_size_arg() function uses the inflated snprintf return value as a .bss array index, writing attacker-influenced data beyond the array boundary and corrupting adjacent static memory, crashing the rsync process. No public POC exists at time of analysis, but the primitive is a well-understood class of snprintf misuse that experienced researchers can develop independently.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 13, 2026

Out-of-bounds write in rsync 3.2.3 through 3.4.x corrupts .bss-segment memory via misuse of snprintf() return semantics in parse_size_arg(), enabling remote denial-of-service and potential memory corruption with high availability impact. The CVSS 4.0 score of 8.3 with AV:N/PR:N reflects that an unauthenticated remote attacker can reach the vulnerable code path, though AC:H indicates the truncation condition requires a specifically crafted size argument. No public exploit code or active exploitation (CISA KEV) has been identified at time of analysis. The fix is confirmed in v3.5.0, designated a major security release by the maintainers.

RemediationAI

Upgrade to rsync 3.5.0 immediately. The maintainers designated v3.5.0 a major security release; the release is confirmed via the tagged GitHub release at https://github.com/RsyncProject/rsync/releases/tag/v3.5.0 and corresponds to the changelog at https://download.samba.org/pub/rsync/NEWS#3.5.0. For environments where upgrading is not immediately feasible, restrict rsync daemon exposure by binding the rsyncd service to loopback or internal interfaces only, thereby removing the AV:N attack surface. Blocking inbound rsync connections (default TCP 873) at the perimeter firewall prevents unauthenticated remote exploitation but does not protect against locally-initiated rsync operations. If rsync is invoked as a client connecting to external servers, note that a malicious or compromised server could also supply crafted responses; in this case, allowlisting trusted server addresses reduces risk. These compensating controls do not eliminate the vulnerability and should be treated as temporary measures pending the upgrade to 3.5.0.

Affected VersionsENISA

rsync 3.2.3 ≤3.4.4

Affected Packages

euvd rsync no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

rsync is a ubiquitous file-synchronization utility widely used for backups, deployments, and mirroring across Linux, macOS, and UNIX systems. The vulnerability resides in parse_size_arg(), the function responsible for parsing human-readable size arguments (e.g., --max-size, --min-size, block-size specifications). The flaw stems from misinterpreting snprintf() semantics: snprintf() returns the number of characters that *would have been written* if the buffer were large enough, not the number actually written. When formatting a size string that exceeds the destination buffer, snprintf() truncates the output but returns the full intended length. This return value is then used directly as an array index into a statically allocated .bss-segment array without bounds validation. Since the .bss segment holds global and static variables, an out-of-bounds write at that index corrupts adjacent program state. CWE-131 (Incorrect Calculation of Buffer Size) describes the root cause: the developer incorrectly treats the snprintf return value as a valid in-bounds index. Affected product scope per CPE is cpe:2.3:a:rsyncproject:rsync:*:*:*:*:*:*:*:* covering versions 3.2.3 up to (but not including) 3.5.0.

Know when Rsync gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 8.3 HIGH
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N
vuln.today AI 6.5 MEDIUM

Network-reachable via rsync daemon (AV:N), but snprintf truncation requires a precisely crafted size value (AC:H); no auth needed (PR:N); availability impact is high from .bss corruption crash, integrity low from adjacent memory corruption, no confidentiality impact.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H
4.0 AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N
SUSE 6.5 MEDIUM
AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H
Red Hat 6.5 MEDIUM

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
High
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

rsync 3.2.3 before 3.5.0 contains an out-of-bounds write in parse_size_arg() where the return value of snprintf() is used directly as an index into a .bss-segment array without bounds checking. When snprintf truncates the formatted size string, the return value equals the number of characters that would have been written including the truncated portion, and this value may exceed the array length. The subsequent indexed write targets memory outside the intended array bounds, corrupting .bss memory.

Executive ViewAI

Why It Matters

A remote denial-of-service vulnerability in rsync versions 3.2.3 through 3.4.x allows unauthenticated attackers to crash services and corrupt memory without requiring credentials, impacting any organization relying on rsync for file transfers and backups. No active exploitation has been detected, but the vulnerability affects a critical infrastructure component used widely across enterprises. Upgrading to version 3.5.0 is essential to restore service stability and prevent potential data integrity issues.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.4%
Top 71% exploitable
Prevalence
Ubiquitous
default install on most Linux/Unix/macOS systems, core backup tool
Data Quality
8 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

42
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +42
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

More in Rsync

View all
CVE-2024-12085 HIGH POC
7.5 Jan 14

A flaw was found in rsync which could be triggered when rsync compares file checksums. Rated high severity (CVSS 7.5), t

CVE-2024-12084 CRITICAL POC
9.8 Jan 15

A heap-based buffer overflow flaw was found in the rsync daemon. Rated critical severity (CVSS 9.8), this vulnerability

CVE-2014-9512 MEDIUM POC
6.4 Feb 12

rsync 3.1.1 allows remote attackers to write to arbitrary files via a symlink attack on a file in the synchronization pa

CVE-2024-12087 HIGH POC
7.5 Jan 14

Server-to-client path traversal in rsync lets a malicious or compromised rsync server write files outside the client's i

CVE-2022-29154 HIGH POC
7.4 Aug 02

An issue was discovered in rsync before 3.2.5 that allows malicious remote servers to write arbitrary files inside the d

CVE-2014-2855 HIGH
7.8 Apr 23

The check_secret function in authenticate.c in rsync 3.1.0 and earlier allows remote attackers to cause a denial of serv

CVE-2024-12086 MEDIUM POC
6.8 Jan 14

A flaw was found in rsync. Rated medium severity (CVSS 6.1), this vulnerability is remotely exploitable, no authenticati

CVE-2017-16548 CRITICAL
9.8 Nov 06

The receive_xattr function in xattrs.c in rsync 3.1.2 and 3.1.3-development does not check for a trailing '\0' character

CVE-2017-17434 CRITICAL
9.8 Dec 06

The daemon in rsync 3.1.2, and 3.1.3-development before 2017-12-03, does not check for fnamecmp filenames in the daemon_

CVE-2017-15994 CRITICAL
9.8 Oct 29

rsync 3.1.3-development before 2017-10-24 mishandles archaic checksums, which makes it easier for remote attackers to by

CVE-2026-53790 CRITICAL
9.2 Aug 13

Arbitrary command execution in rsync before 3.5.0 arises from multiple unsanitized code paths - the RSYNC_CONNECT_PROG e

CVE-2026-70460 CRITICAL
9.2 Aug 13

Arbitrary file write in rsync 2.3.3 through 3.4.4 lets a malicious sender escape a daemon module's root by abusing symli

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS Affected
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS Affected
SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS Affected
SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS Affected
SUSE Linux Enterprise Micro 5.3 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy