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

- Severity: Critical 9.8 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 73.0%, higher than 99% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-01-15T14:16:35.363Z
- Modified: 2026-11-23T14:17:18.153Z
- Weaknesses: CWE-122, CWE-787
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- rsync: 3.2.7; 3.3.0 (not affected: from 0:3.4.1-2.el10 before *)
- openshift/ose-rhel-coreos-8: no versions given
- openshift/ose-rhel-coreos-9: no versions given
- samba rsync: 3.2.7; 3.3.0
- almalinux almalinux: 10.0
- archlinux arch_linux: no versions given
- gentoo linux: no versions given
- nixos nixos: before 24.11; 24.11
- novell suse_linux: no versions given
- tritondatacenter smartos: before 20250123
- redhat enterprise_linux: 10.0

## References

- <https://github.com/google/security-research/security/advisories/GHSA-p5pg-x43v-mvqj> (exploit, vendor-advisory)
- <https://access.redhat.com/errata/RHBA-2025:6470> (vendor-advisory)
- <https://access.redhat.com/security/cve/CVE-2024-12084> (third-party-advisory, vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2330527> (issue-tracking, third-party-advisory)
- <https://kb.cert.org/vuls/id/952657> (third-party-advisory)
- <http://www.openwall.com/lists/oss-security/2025/01/14/6> (mailing-list, third-party-advisory)
- <https://security.netapp.com/advisory/ntap-20250131-0002/>
- <https://www.kb.cert.org/vuls/id/952657>

## Sources

- CVE List: [CVE-2024-12084](https://www.cve.org/CVERecord?id=CVE-2024-12084), CVE Terms of Use, modified 2026-11-23
- NVD: [CVE-2024-12084](https://nvd.nist.gov/vuln/detail/CVE-2024-12084), Public domain, modified 2026-11-23

---

Page: https://cve.day/CVE-2024-12084 · Whole record: https://cve.day/CVE-2024-12084.json · Rebuilt by cve.day 2026-11-25T22:58:51.067Z
