CVE-2026-45232 Details
Description
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.
A stack memory corruption vulnerability has been identified in Rsync versions prior to 3.4.3. This off-by-one out-of-bounds write occurs in the establish_proxy_connection() function within socket.c. The vulnerability allows network attackers to manipulate stack memory by sending a malformed HTTP proxy response. Exploitation requires the RSYNC_PROXY environment variable to be set, tunneling the connection through an HTTP CONNECT proxy. The vulnerability can be exploited by a malicious proxy or a network attacker positioned between the client and the proxy, who sends a response line of 1023 or more bytes without a newline terminator. This causes a null byte to be written to an out-of-bounds stack address, potentially leading to corruption of adjacent stack data.
Users should upgrade to Rsync version 3.4.3 or later. If an immediate upgrade is not possible, do not set the RSYNC_PROXY environment variable or use only trusted HTTP proxies on secure networks.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed May 20, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/RsyncProject/rsync/releases/tag/v3.4.3 | [email protected] | Release Notes |
| https://github.com/RsyncProject/rsync/security/advisories/GHSA-8f85-j2cv-59m8 | [email protected] | Vendor Advisory |
| https://www.vulncheck.com/advisories/rsync-off-by-one-stack-write-via-http-proxy | [email protected] | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-193 | Off-by-one Error | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| samba rsync | < 3.4.3 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 24, 2026 | CVE Translated | [email protected] |
| Jul 14, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 21, 2026 | Initial Analysis | [email protected] |
| May 20, 2026 | New CVE Received | [email protected] |