What’s Vulnerable › Vulnerabilities
CVE-2024-12084: Rsync: heap buffer overflow in rsync due to improper checksum length handling
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 72.5% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2025-01-15 · updated 2026-10-21
- Weakness: 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 products
- Almalinux: 10.0
- Archlinux Arch Linux: all versions
- gentoo Linux: all versions
- Nixos: before 24.11; 24.11 — fixed in 24.11
- Novell Suse Linux: all versions
- Red Hat Enterprise Linux: 10.0
- RsyncProject rsync: 3.2.7, 3.3.0
- Tritondatacenter Smartos: before 20250123 — fixed in 20250123
How to fix
Upgrade to a fixed version: Nixos 24.11; Tritondatacenter Smartos 20250123. Check the vendor advisory for mitigations.
References
- https://access.redhat.com/errata/RHBA-2025:6470
- https://access.redhat.com/security/cve/CVE-2024-12084
- https://bugzilla.redhat.com/show_bug.cgi?id=2330527
- https://kb.cert.org/vuls/id/952657
- http://www.openwall.com/lists/oss-security/2025/01/14/6
- https://security.netapp.com/advisory/ntap-20250131-0002/
- https://www.kb.cert.org/vuls/id/952657
- https://github.com/google/security-research/security/advisories/GHSA-p5pg-x43v-mvqj
Get alerted when CVE-2024-12084 or the next vulnerability affects your stack