Skip to main content

rsync CVE-2026-45232

| EUVDEUVD-2026-31009 LOW
Off-by-one Error (CWE-193)
2026-05-20 VulnCheck
2.1
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Gain MitM or proxy control position
  2. Delivery
    Wait for user-initiated rsync session with RSYNC_PROXY set
  3. Exploit
    Intercept HTTP CONNECT handshake
  4. Execution
    Return malformed response line (1023+ bytes, no newline)
  5. Persist
    Trigger off-by-one null write past stack buffer
  6. Impact
    Crash rsync process (DoS)

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Off-by-one prevention
Exploitation Conditions

Two concurrent non-default conditions must hold for exploitation: (1) the RSYNC_PROXY environment variable must be explicitly set on the target system, directing rsync to route connections through an HTTP CONNECT proxy - this is not a default rsync configuration; and (2) the attacker must either control the proxy server specified by that variable or hold a MitM network position between the rsync client and the proxy host. User interaction is additionally required (UI:R per CVSS vector), as a user must actively initiate an rsync session through the proxy. Exploitation is bounded to a low-severity availability impact (process crash); no confidentiality or integrity impact is possible per the CVSS vector. Default rsync deployments that do not configure RSYNC_PROXY are entirely unexposed to this vulnerability.

Impact

The CVSS 3.1 score of 3.1 (Low) accurately reflects the constrained real-world risk. The vector AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L indicates network reachability but High complexity (AC:H), meaning exploitation requires either a MitM network position or control of the proxy server - both non-trivial preconditions. User interaction (UI:R) further constrains exploitation to sessions actively initiated by a user. The impact is limited to Availability:Low, with zero confidentiality or integrity consequence. No EPSS score was supplied in the input data, so probabilistic exploitation likelihood cannot be quantified. No KEV listing and no public exploit code exist at time of analysis, reinforcing that this is a low-priority finding for most organizations. The single null-byte overwrite primitive is unlikely to enable reliable code execution; crash-based denial of service is the realistic worst case. The CVSS vector is fully consistent with the description - no conflicting signals detected.

Exploit ScenarioDerived

An attacker who controls the HTTP proxy server referenced by RSYNC_PROXY - or who has achieved a MitM position on the network path between the rsync client and that proxy - waits for a user to initiate an rsync session. The attacker responds to the HTTP CONNECT request with a status line of 1023 or more bytes containing no newline terminator. When establish_proxy_connection() processes this response, a null byte is written one position past the end of the 1024-byte stack buffer, corrupting adjacent stack data and crashing the rsync process. No public exploit code has been identified at time of analysis.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.0% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – May 20, 2026

Stack memory corruption in rsync before 3.4.3 allows network-positioned attackers to write a null byte past the end of a fixed-size stack buffer in the establish_proxy_connection() function in socket.c. The vulnerability is only reachable when the RSYNC_PROXY environment variable is set and an attacker controls or intercepts traffic to the configured HTTP proxy. Impact is constrained to a low-severity availability disruption (process crash) with no confidentiality or integrity exposure; no public exploit has been identified at time of analysis.

RemediationAI

Upgrade rsync to version 3.4.3, which includes the combined security fixes released by the RsyncProject team. The patched release is available at https://github.com/RsyncProject/rsync/releases/tag/v3.4.3 and the authoritative advisory is at https://github.com/RsyncProject/rsync/security/advisories/GHSA-8f85-j2cv-59m8. For environments that cannot upgrade immediately, the most effective compensating control is to unset the RSYNC_PROXY environment variable from all rsync invocations and system-level environments (e.g., /etc/environment, systemd unit files, cron job wrappers). Because the vulnerable code path in establish_proxy_connection() is only reachable when RSYNC_PROXY is defined, removing this variable completely eliminates the attack surface with no functional impact for deployments that do not rely on HTTP proxy tunneling for rsync. Organizations using rsync through an HTTP proxy should also audit whether the proxy endpoint is exposed to untrusted network positions.

Affected VersionsENISA

rsync 0 <3.4.3

Affected Packages

euvd rsync fix: 3.4.3

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

The root cause is CWE-193 (Off-by-One Error) in the establish_proxy_connection() function in socket.c. The function reads an HTTP CONNECT proxy response into a fixed 1024-byte stack buffer but does not account for the null terminator when checking the response length boundary. When the proxy returns a response line of 1023 or more bytes without a newline, the code writes a null byte to an address one position beyond the buffer's end, corrupting adjacent stack memory. This code path is only invoked when the RSYNC_PROXY environment variable is configured, directing rsync to tunnel connections through an HTTP CONNECT proxy. CPE cpe:2.3:a:rsyncproject:rsync:*:*:*:*:*:*:*:* confirms all rsync versions prior to 3.4.3 carry the vulnerable code.

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 2.1 LOW
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
SUSE 5.3 MEDIUM

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

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

Lifecycle Timeline

2
CVSS changed
May 20, 2026 - 02:22 NVD
3.1 (LOW) 2.1 (LOW)
Patch available
May 20, 2026 - 02:01 EUVD

DescriptionCVE.org

Rsync versions before 3.4.3 contain an off-by-one out-of-bounds stack write vulnerability in the establish_proxy_connection() function in socket.c that allows network attackers to corrupt stack memory by sending a malformed HTTP proxy response. Attackers can exploit this by positioning themselves between the client and proxy or controlling the proxy server to send a response line of 1023 or more bytes without a newline terminator, causing a null byte to be written to an out-of-bounds stack address when the RSYNC_PROXY environment variable is set.

Threat Intelligence Overview

EPSS Score
0.0%
Top 91% exploitable
Data Quality
9 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment MSRC Vendor CIRCL GitHub VulDB

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 LOW
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.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· derived
Defer
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

10
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
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: Medium
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP7 Fixed
SUSE Linux Enterprise Micro 5.3 Fixed
SUSE Linux Enterprise Micro 5.4 Fixed
SUSE Linux Enterprise Micro 5.5 Fixed

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