Skip to content
Heist/ feed
Back to feed
Critical

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

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-12084, CVE-2024-12085, CVE-2024-12086, CVE-2024-12087, CVE-2024-12088
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 14:14 UTC · Revision 1

Source evidence

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

core-osv · Original source

Published 15 Jan 2025, 14:16 UTC

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.

osv:CVE-2024-12084
Complete source record
{
  "id": "04bc20f5682c690ff6503eee94701d72f10d3020222bfd421b582bca45a19c60",
  "url": "https://osv.dev/vulnerability/CVE-2024-12084",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Rsync: heap buffer overflow in rsync due to improper checksum length handling",
    "summary": "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.",
    "evidence": "osv:CVE-2024-12084",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2024-12084",
      "aliases": [
        "CVE-2024-12084",
        "CVE-2024-12085",
        "CVE-2024-12086",
        "CVE-2024-12087",
        "CVE-2024-12088",
        "GHSA-p5pg-x43v-mvqj"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.samba.org/rsync.git/",
              "type": "GIT",
              "events": [
                {
                  "introduced": "6b5ae825db985e9d1c98576651b50c8e490ddb97"
                },
                {
                  "last_affected": "6c8ca91c731b7bf2b081694bda85b7dadc2b7aff"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:samba:rsync:3.2.7:-:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.2.7-NA"
                      },
                      {
                        "last_affected": "3.2.7-NA"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:samba:rsync:3.3.0:-:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.3.0-NA"
                      },
                      {
                        "last_affected": "3.3.0-NA"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            },
            {
              "repo": "https://github.com/rsyncproject/rsync",
              "type": "GIT",
              "events": [
                {
                  "introduced": "6b5ae825db985e9d1c98576651b50c8e490ddb97"
                },
                {
                  "last_affected": "6c8ca91c731b7bf2b081694bda85b7dadc2b7aff"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "3.2.7"
                      },
                      {
                        "last_affected": "3.2.7"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "3.3.0"
                      },
                      {
                        "last_affected": "3.3.0"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "cpe": "cpe:2.3:a:samba:rsync:3.2.7:-:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.2.7-NA"
                      },
                      {
                        "last_affected": "3.2.7-NA"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:samba:rsync:3.3.0:-:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.3.0-NA"
                      },
                      {
                        "last_affected": "3.3.0-NA"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "3.2.7",
            "3.2.7-NA",
            "3.3.0",
            "3.3.0-NA",
            "v3.2.7",
            "v3.3.0",
            "v3.3.0pre1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-12084.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:36.126695656Z",
      "provider": "osv",
      "references": [
        "https://access.redhat.com/downloads/content/package-browser/",
        "https://kb.cert.org/vuls/id/952657",
        "https://www.kb.cert.org/vuls/id/952657",
        "https://access.redhat.com/errata/RHBA-2025:6470",
        "https://access.redhat.com/security/cve/CVE-2024-12084",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/12xxx/CVE-2024-12084.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-12084",
        "https://security.netapp.com/advisory/ntap-20250131-0002/",
        "https://bugzilla.redhat.com/show_bug.cgi?id=2330527",
        "https://github.com/RsyncProject/rsync",
        "https://github.com/google/security-research/security/advisories/GHSA-p5pg-x43v-mvqj"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-122"
        ],
        "cna_assigner": "redhat",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "0:3.4.1-2.el10"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "InverseAffectedRanges"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/12xxx/CVE-2024-12084.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-12084",
        "evidence": "/id"
      },
      {
        "value": "CVE-2024-12085",
        "evidence": "/aliases"
      },
      {
        "value": "CVE-2024-12086",
        "evidence": "/aliases"
      },
      {
        "value": "CVE-2024-12087",
        "evidence": "/aliases"
      },
      {
        "value": "CVE-2024-12088",
        "evidence": "/aliases"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 503520,
  "published_at": "2025-01-15T14:16:35.363+00:00"
}