The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-45232

CVE-2026-45232: Rsync Buffer Overflow Vulnerability

CVE-2026-45232 is a buffer overflow flaw in Rsync that allows attackers to corrupt stack memory via malformed HTTP proxy responses. This article covers technical details, affected versions, exploitation risks, and mitigation.

Published: May 21, 2026

CVE-2026-45232 Overview

CVE-2026-45232 is an off-by-one out-of-bounds stack write vulnerability in rsync versions prior to 3.4.3. The flaw resides in the establish_proxy_connection() function within socket.c. A network attacker positioned between the rsync client and the HTTP proxy, or one controlling the proxy server itself, can corrupt stack memory. Exploitation requires the RSYNC_PROXY environment variable to be set on the client and a malformed proxy response line of 1023 or more bytes without a newline terminator. The condition causes a single null byte to be written to an out-of-bounds stack address. The issue is tracked under [CWE-193] (Off-by-one Error).

Critical Impact

A malicious or man-in-the-middle HTTP proxy can write a null byte beyond the bounds of a stack buffer in rsync clients configured to use RSYNC_PROXY, potentially destabilizing the process.

Affected Products

  • Rsync versions before 3.4.3
  • Rsync clients with the RSYNC_PROXY environment variable configured
  • Downstream Linux distributions packaging vulnerable rsync builds

Discovery Timeline

  • 2026-05-20 - CVE-2026-45232 published to NVD
  • 2026-05-20 - Last updated in NVD database

Technical Details for CVE-2026-45232

Vulnerability Analysis

The vulnerability sits in the proxy handshake path that rsync uses when tunneling its protocol through an HTTP CONNECT proxy. When RSYNC_PROXY is set, the client invokes establish_proxy_connection() in socket.c to read the proxy's status line. The reading logic accepts up to 1023 bytes before appending a null terminator. When the proxy returns a response line of exactly 1023 or more bytes without a newline, the terminator write lands one byte past the end of the stack buffer. The result is a single-byte stack corruption controlled in position but not in value, since only a null is written. See [CWE-193] for the underlying weakness class.

Root Cause

The root cause is an incorrect boundary calculation in the loop that reads bytes from the proxy socket. The code reserves space for a terminator but does not account for the case where the maximum read length is reached without encountering a newline. When the buffer fills completely, the trailing null byte is placed at index len, one position beyond the allocated stack region.

Attack Vector

Exploitation requires a network-adjacent attacker who can intercept rsync's proxy traffic or operate a hostile proxy that the victim is configured to use. The victim must have RSYNC_PROXY set, and the attacker must respond to the CONNECT request with a status line of at least 1023 bytes containing no newline. User interaction is required to initiate the rsync session, which keeps practical impact narrow. The CVSS 4.0 base score is 2.1, reflecting the limited availability impact and the constrained preconditions. The EPSS score stands at 0.031% with a percentile of 9.11, indicating low exploitation probability.

No verified public proof-of-concept code is available. Refer to the GitHub Security Advisory GHSA-8f85-j2cv-59m8 and the VulnCheck Advisory on rsync Vulnerability for technical details.

Detection Methods for CVE-2026-45232

Indicators of Compromise

  • Rsync client processes terminating unexpectedly during the proxy handshake phase
  • HTTP CONNECT proxy responses containing status lines of 1023 or more bytes without a newline terminator
  • Outbound rsync connections traversing unexpected or untrusted HTTP proxies defined via RSYNC_PROXY

Detection Strategies

  • Inventory hosts where the RSYNC_PROXY environment variable is set in user profiles, systemd units, or CI runners
  • Inspect proxy server logs for abnormally long response lines emitted toward rsync user agents
  • Correlate rsync process crashes with preceding network traffic to HTTP proxies using endpoint telemetry

Monitoring Recommendations

  • Monitor versions of the rsync binary across managed Linux fleets and flag installations below 3.4.3
  • Alert on rsync invocations that resolve proxies outside an approved allowlist
  • Capture and review TLS-inspected or plaintext proxy responses during rsync sessions for malformed status lines

How to Mitigate CVE-2026-45232

Immediate Actions Required

  • Upgrade rsync to version 3.4.3 or later on all clients, build agents, and backup hosts
  • Audit environments for the presence of RSYNC_PROXY and remove it where proxying is not strictly required
  • Restrict rsync clients to trusted proxy endpoints under organizational control

Patch Information

The upstream fix is available in the GitHub Release v3.4.3. The patch corrects the boundary check in establish_proxy_connection() within socket.c so the terminating null byte is written within the allocated stack buffer. Distribution maintainers should pull the upstream patch into supported package branches. Consult the GitHub Security Advisory GHSA-8f85-j2cv-59m8 for the authoritative remediation guidance.

Workarounds

  • Unset the RSYNC_PROXY environment variable on systems that do not require proxy tunneling
  • Route rsync traffic over SSH transport instead of HTTP CONNECT proxies
  • Enforce network egress controls so rsync clients can only reach vetted, authenticated proxy servers
bash
# Configuration example: remove RSYNC_PROXY and verify rsync version
unset RSYNC_PROXY
sed -i '/RSYNC_PROXY/d' /etc/environment ~/.bashrc ~/.profile 2>/dev/null
rsync --version | head -n 1
# Expected output should show: rsync  version 3.4.3 or later

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeBuffer Overflow

  • Vendor/TechRsync

  • SeverityLOW

  • CVSS Score2.1

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-193
  • Technical References
  • GitHub Release v3.4.3

  • GitHub Security Advisory GHSA-8f85-j2cv-59m8

  • VulnCheck Advisory on rsync Vulnerability
  • Related CVEs
  • CVE-2026-29518: Rsync Race Condition Vulnerability

  • CVE-2026-43620: Rsync Out-of-Bounds Read DoS Vulnerability

  • CVE-2026-43619: Rsync Symlink Race Condition Vulnerability

  • CVE-2026-43618: Rsync Information Disclosure Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English