<Vulnerability name="CVE-2026-45232">
    <DocumentDistribution xml:lang="en">Copyright © 2012 Red Hat, Inc. All rights reserved.</DocumentDistribution>
    <ThreatSeverity>Moderate</ThreatSeverity>
    <PublicDate>2026-05-20T00:45:28</PublicDate>
    <Bugzilla id="2480057" url="https://bugzilla.redhat.com/show_bug.cgi?id=2480057" xml:lang="en:us">
rsync: Rsync: Denial of Service via malformed HTTP proxy response
    </Bugzilla>
    <CVSS3 status="draft">
        <CVSS3BaseScore>5.9</CVSS3BaseScore>
        <CVSS3ScoringVector>CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H</CVSS3ScoringVector>
    </CVSS3>
    <CWE>CWE-193</CWE>
    <Details xml:lang="en:us" source="Red Hat">
A flaw was found in rsync. A network attacker can exploit an off-by-one out-of-bounds stack write vulnerability in the `establish_proxy_connection()` function by sending a malformed HTTP proxy response. This occurs when the `RSYNC_PROXY` environment variable is set and the attacker sends a response line of 1023 or more bytes without a newline terminator. This can corrupt stack memory, potentially leading to a Denial of Service (DoS).
    </Details>
    <Mitigation xml:lang="en:us">
To mitigate this issue, ensure that the `RSYNC_PROXY` environment variable is not set. If rsync is configured to use an HTTP proxy via this variable, unsetting it will prevent exploitation. To unset the `RSYNC_PROXY` environment variable for the current session, use: `unset RSYNC_PROXY`. For a more permanent solution, ensure that `RSYNC_PROXY` is not defined in system-wide or user-specific environment configuration files. Note that this mitigation will disable rsync's ability to use an HTTP proxy, which may impact functionality if proxy usage is required.
    </Mitigation>
    <PackageState cpe="cpe:/o:redhat:enterprise_linux:10">
        <ProductName>Red Hat Enterprise Linux 10</ProductName>
        <FixState>Fix deferred</FixState>
        <PackageName>rsync</PackageName>
    </PackageState>
    <PackageState cpe="cpe:/o:redhat:enterprise_linux:6">
        <ProductName>Red Hat Enterprise Linux 6</ProductName>
        <FixState>Fix deferred</FixState>
        <PackageName>rsync</PackageName>
    </PackageState>
    <PackageState cpe="cpe:/o:redhat:enterprise_linux:7">
        <ProductName>Red Hat Enterprise Linux 7</ProductName>
        <FixState>Fix deferred</FixState>
        <PackageName>rsync</PackageName>
    </PackageState>
    <PackageState cpe="cpe:/o:redhat:enterprise_linux:8">
        <ProductName>Red Hat Enterprise Linux 8</ProductName>
        <FixState>Fix deferred</FixState>
        <PackageName>rsync</PackageName>
    </PackageState>
    <PackageState cpe="cpe:/o:redhat:enterprise_linux:9">
        <ProductName>Red Hat Enterprise Linux 9</ProductName>
        <FixState>Fix deferred</FixState>
        <PackageName>rsync</PackageName>
    </PackageState>
    <PackageState cpe="cpe:/a:redhat:openshift:4">
        <ProductName>Red Hat OpenShift Container Platform 4</ProductName>
        <FixState>Fix deferred</FixState>
        <PackageName>rhcos</PackageName>
    </PackageState>
    <References xml:lang="en:us">
https://www.cve.org/CVERecord?id=CVE-2026-45232
https://nvd.nist.gov/vuln/detail/CVE-2026-45232
https://github.com/RsyncProject/rsync/releases/tag/v3.4.3
https://github.com/RsyncProject/rsync/security/advisories/GHSA-8f85-j2cv-59m8
https://www.vulncheck.com/advisories/rsync-off-by-one-stack-write-via-http-proxy
    </References>
</Vulnerability>