CVE-2024-12084
CriticalPublic exploitrsync: Heap Buffer Overflow in Rsync due to Improper Checksum Length Handling
Published Jan 16, 2025 · Updated Oct 14, 2026 · Also known as ALPINE-CVE-2024-12084, DEBIAN-CVE-2024-12084, DSA-5843-1, GHSA-p5pg-x43v-mvqj, SUSE-SU-2025:0156-1, TR-25-0010, UBUNTU-CVE-2024-12084
Key Facts
Patch immediately- CVE-2024-12084 is a critical-severity vulnerability (CVSS 9.8 v3.1) affecting Rsync (Samba), Almalinux, Arch Linux (Archlinux) and 5 more products.
- It is not listed in any known-exploited vulnerabilities catalog. Public exploit code is available.
- EPSS estimates a 72% probability of exploitation in the next 30 days.
- Fixed versions are available, including Nixos 24.11, Rsync 0:3.4.1-2.el10, Rsync 3.1.3-3.43.1.
- Brandefense priority: patch immediately, because it is very likely to be exploited soon.
CVSS v3.1
9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS (30-day exploit likelihood)
72%
Higher than 99.4% of all scored CVEs
Exploited in the wild
No known
Not in a known-exploited catalog
Public exploit code
Available
Proof-of-concept or weaponized module
Get the full CVE-2024-12084 brief as a PDF
Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.
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
69 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| RsyncSamba | 3.2.7, 3.3.0, >= 3.2.7 | 3.4.0-r0 |
| AlmalinuxAlmalinux | 10.0 | n/a |
| Arch LinuxArchlinux | See advisory | n/a |
| LinuxGentoo | See advisory | n/a |
| NixosNixos | 24.11 | 24.11 |
Patched Releases
Nixos
24.11
Rsync
0:3.4.1-2.el10, 3.1.3-3.43.1, 3.2.3-150400.3.31.1, 3.2.7-0ubuntu0.22.04.3, 3.2.7-1+deb12u1, 3.2.7-150600.3.21.1, 3.2.7-150600.3.8.1, 3.2.7-1ubuntu1.1, 3.2.7-3.ph4, 3.2.7-4.1, 3.2.7-5.ph5, 3.2.7-7.1, 3.3.0-slfo.1.1_3.1, 3.3.0+ds1-3, 3.4.0-r0, 3.4.1-1, 3.4.1-1.1
Smartos
20250123
Timeline
Publicly disclosed
Jan 16, 2025
Last updated
Oct 14, 2026
Weakness Type
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
- CWE-122 Heap-based Buffer Overflow
- CWE-390 Detection of Error Condition Without Action
- CWE-787 Out-of-bounds Write
- CWE-908 Use of Uninitialized Resource
References
- advisoryhttps://access.redhat.com/errata/RHSA-2024:6122
- advisoryhttps://access.redhat.com/errata/RHSA-2025:0324
- advisoryhttps://access.redhat.com/errata/RHSA-2025:0325
- advisoryhttps://access.redhat.com/errata/RHSA-2025:0637
- advisoryhttps://access.redhat.com/errata/RHSA-2025:0688
FAQ
Common Questions.
A heap-based buffer overflow flaw was found in the rsync daemon.
Affected: Rsync (Samba) versions 3.2.7, 3.3.0, >= 3.2.7; Almalinux versions 10.0; Arch Linux (Archlinux), among others. The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
Public exploit code is available.
Fixed versions are available, including Nixos 24.11, Rsync 0:3.4.1-2.el10, Rsync 3.1.3-3.43.1.
Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Is CVE-2024-12084 Running On Your Attack Surface?
Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.
Request A Demo