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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | rsync | 3.2.7, 3.3.0 | — |
| 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 | — | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | rsync | 3.3.0+ds1-3 | — |
| Debian 13 | rsync | 3.3.0+ds1-3 | — |
| Debian 12 | rsync | 3.2.7-1+deb12u1 | DSA-5843-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 24.04 LTS | rsync | 3.2.7-1ubuntu1.1 | USN-7206-1 |
| Ubuntu 22.04 LTS | rsync | 3.2.7-0ubuntu0.22.04.3 | USN-7206-1 |
| Ubuntu 20.04 LTS | rsync | 3.1.3-8ubuntu0.8 | USN-7206-1 |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 18.04 LTS | rsync | 3.1.2-2.1ubuntu1.6+esm1 | USN-7206-1 |
| Ubuntu Pro 16.04 LTS | rsync | 3.1.1-3ubuntu1.3+esm3 | USN-7206-1 |
| Ubuntu Pro 14.04 LTS | rsync | 3.1.0-2ubuntu0.4+esm1 | USN-7206-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 10 | rsync +2 | 3.4.1-2.el10 | RHBA-2025:6470 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP6 | rsync | 3.2.7-150600.3.8.1 | SUSE-SU-2025:0156-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLE Micro 6.1 | rsync | 3.3.0-slfo.1.1_3.1 | SUSE-SU-2025:20223-1 |
| SLE Micro 6.0 | rsync | 3.2.7-4.1 | SUSE-SU-2025:20122-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | rsync | 3.4.1-1.1 | openSUSE-SU-2025:14665-1 |
| openSUSE Leap 15.6 | rsync | 3.2.7-150600.3.8.1 | SUSE-SU-2025:0156-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | rsync | 3.4.0-r0 | — |
| Alpine v3.23 | rsync | 3.4.0-r0 | — |
| Alpine v3.22 | rsync | 3.4.0-r0 | — |
| Alpine v3.21 | rsync | 3.4.0-r0 | — |
| Alpine v3.20 | rsync | 3.4.0-r0 | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | rsync | 3.4.0-r0 | — |
| Alpine v3.18 | rsync | 3.4.0-r0 | — |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | rsync | 3.4.1-1 | — |
| Azure Linux 2 (CBL-Mariner) | rsync | 3.4.1-1 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 3 repositories
-
themirze/cve-2024-12084 ★ 4 · Jan 21, 2025
-
InkeyP/CVE-2024-12084 ★ 1 · Nov 24, 2025
A easy poc for CVE-2024-12084.
-
rxerium/CVE-2024-12084 ★ 1 · Jan 29, 2025
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…
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 12
- WID-SEC-2026-2817 Rsync: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 8, 2026
- RHBA-2025:6470 Red Hat Bug Fix Advisory: rsync bug fix and enhancement update Red Hat Security Advisories (RHSA) · Oct 14, 2026
- WID-SEC-2025-0084 Rsync: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 4, 2026
- USN-7206-1 Several security issues were fixed in rsync Ubuntu Security Notices (USN) · Jun 25, 2026
- SUSE-SU-2025:20122-1 Security update for rsync SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2025:20223-1 Security update for rsync SUSE / openSUSE Security Updates · Mar 23, 2026
- DSA-5843-1 rsync - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2025:0156-1 Security update for rsync SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2025:14665-1 rsync-3.4.1-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2025-2633 Aruba AOS-CX: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 18, 2025
- VDE-2025-053 Phoenix Contact: Multiple Vulnerabilities in PLCnext Firmware CERT@VDE · Jul 8, 2025
- NCSC-2025-0015 Kwetsbaarheden verholpen in Rsync NCSC-NL (Netherlands) · Jan 15, 2025
References
- RHBA-2025:6470 vendor-advisory
- https://access.redhat.com/security/cve/CVE-2024-12084 vdb-entry
- RHBZ#2330527 issue-tracking
- https://kb.cert.org/vuls/id/952657