# CVE-2024-12084: Rsync: heap buffer overflow in rsync due to improper checksum length handling

Status: published. Published: 2025-01-15. Updated: 2026-11-23.

A heap-based buffer overflow flaw was found in the rsync daemon. This issue is due to improper handling of attacker-controlled checksum lengths (s2length) in the code. When MAX_DIGEST_LEN exceeds the fixed SUM_LENGTH (16 bytes), an attacker can write out of bounds in the sum2 buffer.

## Remediation

- workaround: Red Hat recommends filtering untrusted connections to Rsync via firewall rules on the host and on network firewall appliances.

Additionally, systems which only need to provide remote Rsync access to users with known identities can enable authentication using the ```auth users``` parameter in their rsyncd configuration file (rsyncd.conf). 

Systems that provide anonymous read access to hosted files via Rsync, such as mirror hosts, do not have reasonable mitigation options available. We strongly urge operators using vulnerable versions of Rsync to update as soon as possible. (source: CNA: redhat)
- fix: Rsync (debian): GitHub reports patched versions 3.4.0. Check the advisory for the affected release branch. (source: GitHub GHSA-p5pg-x43v-mvqj) — https://github.com/google/security-research/security/advisories/GHSA-p5pg-x43v-mvqj

## Affected products and versions

-  /  (rsync): 3.2.7 (affected); 3.3.0 (affected). Source: CNA: redhat
- Red Hat / Red Hat Enterprise Linux 10 (rsync): ≥ 0:3.4.1-2.el10; < * (unaffected, rpm). Source: CNA: redhat
- Red Hat / Red Hat Enterprise Linux 6 (rsync): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat Enterprise Linux 7 (rsync): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat Enterprise Linux 8 (rsync): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat Enterprise Linux 9 (rsync): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat OpenShift Container Platform 4 (openshift/ose-rhel-coreos-8): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat OpenShift Container Platform 4 (openshift/ose-rhel-coreos-9): Version range not reported. Source: CNA: redhat
-  / Rsync (Rsync): 3.2.7 (affected, GitHub advisory range). Source: GitHub GHSA-p5pg-x43v-mvqj

## NVD configuration conditions

Affected CPE matches depend on the following AND/OR and negation conditions:

```json
[
  {
    "negate": false,
    "nodes": [
      {
        "cpeMatch": [
          {
            "criteria": "cpe:2.3:a:samba:rsync:3.2.7:-:*:*:*:*:*:*",
            "vulnerable": true
          },
          {
            "criteria": "cpe:2.3:a:samba:rsync:3.3.0:-:*:*:*:*:*:*",
            "vulnerable": true
          }
        ],
        "negate": false,
        "operator": "OR"
      }
    ],
    "operator": "OR"
  },
  {
    "negate": false,
    "nodes": [
      {
        "cpeMatch": [
          {
            "criteria": "cpe:2.3:o:almalinux:almalinux:10.0:-:*:*:*:*:*:*",
            "vulnerable": true
          }
        ],
        "negate": false,
        "operator": "OR"
      }
    ],
    "operator": "OR"
  },
  {
    "negate": false,
    "nodes": [
      {
        "cpeMatch": [
          {
            "criteria": "cpe:2.3:o:archlinux:arch_linux:-:*:*:*:*:*:*:*",
            "vulnerable": true
          }
        ],
        "negate": false,
        "operator": "OR"
      }
    ],
    "operator": "OR"
  },
  {
    "negate": false,
    "nodes": [
      {
        "cpeMatch": [
          {
            "criteria": "cpe:2.3:o:gentoo:linux:-:*:*:*:*:*:*:*",
            "vulnerable": true
          }
        ],
        "negate": false,
        "operator": "OR"
      }
    ],
    "operator": "OR"
  },
  {
    "negate": false,
    "nodes": [
      {
        "cpeMatch": [
          {
            "criteria": "cpe:2.3:o:nixos:nixos:*:*:*:*:*:*:*:*",
            "versionEndExcluding": "24.11",
            "vulnerable": true
          },
          {
            "criteria": "cpe:2.3:o:nixos:nixos:24.11:*:*:*:*:*:*:*",
            "vulnerable": true
          }
        ],
        "negate": false,
        "operator": "OR"
      }
    ],
    "operator": "OR"
  },
  {
    "negate": false,
    "nodes": [
      {
        "cpeMatch": [
          {
            "criteria": "cpe:2.3:o:novell:suse_linux:-:*:*:*:*:*:*:*",
            "vulnerable": true
          }
        ],
        "negate": false,
        "operator": "OR"
      }
    ],
    "operator": "OR"
  },
  {
    "negate": false,
    "nodes": [
      {
        "cpeMatch": [
          {
            "criteria": "cpe:2.3:o:tritondatacenter:smartos:*:*:*:*:*:*:*:*",
            "versionEndExcluding": "20250123",
            "vulnerable": true
          }
        ],
        "negate": false,
        "operator": "OR"
      }
    ],
    "operator": "OR"
  },
  {
    "negate": false,
    "nodes": [
      {
        "cpeMatch": [
          {
            "criteria": "cpe:2.3:o:redhat:enterprise_linux:10.0:*:*:*:*:*:*:*",
            "vulnerable": true
          }
        ],
        "negate": false,
        "operator": "OR"
      }
    ],
    "operator": "OR"
  }
]
```

## Severity and prioritization

- CVSS 3.1: 9.8 (critical); CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H; source: CNA: redhat

- CVSS 3.1: 9.8 (critical); CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H; source: NVD: secalert@redhat.com

- CISA KEV: No listing in collected sources

- EPSS: 72.51% as of 2026-11-22; percentile 99.45%

- SSVC: exploitation poc; automatable yes; technical impact total; source ADP: CISA-ADP

- Weaknesses: CWE-122, CWE-787

## Exploit evidence

- exploit: https://github.com/google/security-research/security/advisories/GHSA-p5pg-x43v-mvqj (ADP: CISA-ADP)
- exploit: https://github.com/google/security-research/security/advisories/GHSA-p5pg-x43v-mvqj (134c704f-9b21-4f2e-91b3-4a467353bcc0)

## References

- https://access.redhat.com/errata/RHBA-2025:6470 (CNA: redhat; vendor-advisory, x_refsource_REDHAT)

- https://access.redhat.com/security/cve/CVE-2024-12084 (CNA: redhat; vdb-entry, x_refsource_REDHAT)

- https://bugzilla.redhat.com/show_bug.cgi?id=2330527 (CNA: redhat; issue-tracking, x_refsource_REDHAT)

- https://kb.cert.org/vuls/id/952657 (CNA: redhat)

- https://github.com/google/security-research/security/advisories/GHSA-p5pg-x43v-mvqj (ADP: CISA-ADP; exploit)

- http://www.openwall.com/lists/oss-security/2025/01/14/6 (ADP: CVE)

- https://security.netapp.com/advisory/ntap-20250131-0002/ (ADP: CVE)

- https://www.kb.cert.org/vuls/id/952657 (ADP: CVE)

- https://access.redhat.com/errata/RHBA-2025:6470 (secalert@redhat.com)

- https://access.redhat.com/security/cve/CVE-2024-12084 (secalert@redhat.com; Third Party Advisory)

- https://bugzilla.redhat.com/show_bug.cgi?id=2330527 (secalert@redhat.com; Issue Tracking, Third Party Advisory)

- https://kb.cert.org/vuls/id/952657 (secalert@redhat.com; Third Party Advisory)

- http://www.openwall.com/lists/oss-security/2025/01/14/6 (af854a3a-2127-422b-91ae-364da2661108; Mailing List, Third Party Advisory)

- https://security.netapp.com/advisory/ntap-20250131-0002/ (af854a3a-2127-422b-91ae-364da2661108)

- https://www.kb.cert.org/vuls/id/952657 (af854a3a-2127-422b-91ae-364da2661108)

- https://github.com/google/security-research/security/advisories/GHSA-p5pg-x43v-mvqj (134c704f-9b21-4f2e-91b3-4a467353bcc0; Exploit, Vendor Advisory)

- https://github.com/google/security-research/security/advisories/GHSA-p5pg-x43v-mvqj (GitHub Security Advisories; advisory)

## Provenance

- CNA: redhat: https://www.cve.org/CVERecord?id=CVE-2024-12084; retrieved 2026-11-23; source updated 2026-11-23

- NVD: https://nvd.nist.gov/vuln/detail/CVE-2024-12084; retrieved 2026-11-05; source updated 2026-11-04

- GitHub Security Advisories: https://github.com/google/security-research/security/advisories/GHSA-p5pg-x43v-mvqj; retrieved 2026-11-06; source updated 2025-02-19

- FIRST EPSS: https://api.first.org/data/v1/epss?cve=CVE-2024-12084; retrieved 2026-11-23; source updated Not reported

Revision: ad5256da2acccf5703c2265d2d77f8794e11afce849cab06940974bfd229624b

Canonical: https://y2.dev/cve/CVE-2024-12084

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.