CVE-2024-12084: Heap-based Buffer Overflow in Rsync Daemon
- Vendors
- AlmalinuxArch LinuxGentooNixosRed HatSambaTritondatacenterNovell
CVE-2024-12084 is a critical heap-based buffer overflow in the rsync daemon affecting rsync versions prior to 3.4.0, with some reporting narrowing the affected range to versions 3.2.7 through 3.3.0. The flaw is caused by improper handling and validation of an attacker-controlled checksum length value, s2length. When the configured or compiled maximum digest length exceeds the fixed SUM_LENGTH of 16 bytes, the daemon can perform an out-of-bounds write into the sum2 heap buffer. Because the vulnerable code processes attacker-influenced checksum metadata during rsync daemon operations, a remote attacker can corrupt heap memory. The issue affects the server-side daemon implementation and does not affect the rsync client application.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation can cause heap memory corruption in the rsync daemon and may lead to remote code execution on the target server. The vulnerability is considered critical and has been described as enabling arbitrary code execution on vulnerable systems. In combination with related rsync flaws, it may contribute to full system compromise. At minimum, exploitation can destabilize the daemon and potentially cause process crashes or service disruption; at worst, it can provide attacker-controlled execution in the security context of the rsync daemon.
Mitigation
If you can’t patch tonight, do this now.
If immediate patching is not possible, reduce exposure of the rsync daemon by disabling the daemon where unnecessary, restricting or blocking network access to the rsync service, and limiting access to trusted hosts or management networks. Requiring authentication instead of anonymous access materially reduces exposure according to the available reporting. Additional defensive measures include monitoring rsync daemon activity for anomalous behavior or unexpected command execution and applying network filtering around the rsync service port.
Remediation
Patch, then assume compromise.
Upgrade rsync to a fixed release. The primary upstream remediation is to update to rsync 3.4.0 or later; some downstream vendors specifically reference rsync 3.4.1 as containing the relevant fixes and regression corrections. Where rsync is supplied by an operating system or appliance vendor, install the vendor-provided patched package or product update rather than relying on source-level assumptions about versioning. Validate that the rsync daemon component, not just client utilities, has been updated.
Exploits
1 exploit validated by Mallory's analysis. Hidden: 2 rejected by Mallory's analysis as not a working exploit.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2024-12084 exploited in the wild?
- As of Oct 29, 2026, Mallory has no reports of CVE-2024-12084 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2024-12084?
- Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2024-12084, the earliest disclosed Nov 24, 2025.
- Is there a patch for CVE-2024-12084?
- Upgrade rsync to a fixed release. The primary upstream remediation is to update to rsync 3.4.0 or later; some downstream vendors specifically reference rsync 3.4.1 as containing the relevant fixes and regression corrections.
- What products are affected by CVE-2024-12084?
- Samba Rsync, Almalinux, Arch Linux, Gentoo Linux, Nixos, and 3 more.
- How severe is CVE-2024-12084?
- CVE-2024-12084 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 6.2% (94th percentile) as of Oct 29, 2026.
Recent activity
21 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.