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

> CVE-2024-12084: Rsync: heap buffer overflow in rsync due to improper checksum length handling. CVSS 9.8 (CVSS 3.1).

Canonical: https://rewindex.com/cve/CVE-2024-12084
Last updated: 2026-10-21T17:17:23Z

- Published: 2025-01-15 14:16 UTC · Updated: 2026-10-21 17:17 UTC · Assigner: redhat
- CVSS: 9.8 (CVSS 3.1) · Severity: Critical · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 72.5%, 99th percentile (scored 2026-10-25)
- CISA KEV: no
- CWE: CWE-122

## Description

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.

## Affected vendors and products

- Red Hat: Red Hat Enterprise Linux 10
- Red Hat: Red Hat Enterprise Linux 6
- Red Hat: Red Hat Enterprise Linux 7
- Red Hat: Red Hat Enterprise Linux 8
- Red Hat: Red Hat Enterprise Linux 9
- Red Hat: Red Hat OpenShift Container Platform 4

## Tracked companies

- [GitLab](https://rewindex.com/company/gitlab.md)

## References

- [CVE record on cve.org](https://www.cve.org/CVERecord?id=CVE-2024-12084)
- [NVD entry](https://nvd.nist.gov/vuln/detail/CVE-2024-12084)
- [https://access.redhat.com/errata/RHBA-2025:6470](https://access.redhat.com/errata/RHBA-2025:6470)
- [https://access.redhat.com/security/cve/CVE-2024-12084](https://access.redhat.com/security/cve/CVE-2024-12084)
- [https://bugzilla.redhat.com/show\_bug.cgi?id=2330527](https://bugzilla.redhat.com/show_bug.cgi?id=2330527)
- [https://kb.cert.org/vuls/id/952657](https://kb.cert.org/vuls/id/952657)

---

_Sources: CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (https://www.cve.org/) This product uses data from the NVD API but is not endorsed or certified by the NVD. (https://nvd.nist.gov/) Known Exploited Vulnerabilities catalog from CISA. (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) EPSS scores from FIRST (Exploit Prediction Scoring System). (https://www.first.org/epss/)_


---
Canonical: https://rewindex.com/cve/CVE-2024-12084 · Markdown: https://rewindex.com/cve/CVE-2024-12084.md · JSON: https://rewindex.com/api/v1/cves/CVE-2024-12084 · Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) · Generated 2026-10-26T02:17:04.976Z
