Skip to main content
Public proof of conceptFix available

CVE-2024-12084

Rsync: heap buffer overflow in rsync due to improper checksum length handling

A public proof of concept exists; no exploitation attested.

  • Published2025-01-15
  • Fixed in24.11
  • WeaknessCWE-122 · CWE-787

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2025-01-1514:16CVE publishedCNA
  2. 2025-01-1515:15CVE publishedNVD
  3. 2026-12-0204:55EPSS crossed 10 %FIRST EPSS

Versions per branch

NVD
Nixos
BranchAffectedFixed in
24.11< 24.1124.11
24.11= 24.11no fix published
Samba rsync
BranchAffectedFixed in
3.2= 3.2.7no fix published
3.3= 3.3.0no fix published
Almalinux
BranchAffectedFixed in
10.0= 10.0no fix published

5 more products in the sources.

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA8 products

As redhat, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

2 more products in the CVE record.

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2026-11-23

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • rsyncUbuntu:Pro:18.04:LTSall versions · fixed in 3.1.2-2.1ubuntu1.6+esm1
  • rsyncUbuntu:Pro:16.04:LTSall versions · fixed in 3.1.1-3ubuntu1.3+esm3
  • rsyncUbuntu:Pro:14.04:LTSall versions · fixed in 3.1.0-2ubuntu0.4+esm1
  • rsyncUbuntu:24.04:LTSall versions · fixed in 3.2.7-1ubuntu1.1
  • rsyncUbuntu:22.04:LTSall versions · fixed in 3.2.7-0ubuntu0.22.04.3
  • rsyncUbuntu:20.04:LTSall versions · fixed in 3.1.3-8ubuntu0.8
  • rsyncTuxCare:Debian:11all versions · fixed in 3.2.3-4+deb11u4+tuxcare.els4
  • rsyncSUSE:Linux Micro 6.1all versions · fixed in 3.3.0-slfo.1.1_3.1

23 more package ranges on OSV.dev

Vendor advisories

  • CVE-2024-12084 Red Hat Product Security15 products fixed

    rsync: Heap Buffer Overflow in Rsync due to Improper Checksum Length Handling

  • RHBA-2025:6470 Red Hat Product Security15 products fixed

    Red Hat Bug Fix Advisory: rsync bug fix and enhancement update

Full record on NVD

Fix

  1. Update Nixos to 24.11
  2. Vendor fix Red Hat Product Security RHBA-2025:6470 · 15 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
  3. Workaround from the vendor Red Hat Product Security RHBA-2025:6470 · 15 productsRed Hat recommends filtering untrusted connections to Rsync via firewall rules on the host and on network firewall appliances. Additionally, systems which only need to provide remote Rsync access to users with known identities can enable authentication using the ```auth users``` parameter in their…

Advisories and patches

Detection

read 2026-11-01 01:02 UTC
Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published
2025-01-15
Last modified
2026-11-23
NVD status
Modified
GitHub advisory
GHSA-85h7-m8c3-v9wc

Frequently asked questions

What is CVE-2024-12084?

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.

Is CVE-2024-12084 actively exploited?

A proof-of-concept exploit exists for CVE-2024-12084, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2024-12084?

CVE-2024-12084 has a CVSS v3 base score of 9.8 (Critical severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Running rsync? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record