{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "3.0.0"
              },
              {
                "last_affected": "3.4.4"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "4cb6197b21d9860736c8e6d81b8eb8cac53beb5a"
            },
            {
              "fixed": "471e17dc0d68233db84db11be82c9f62f4661214"
            }
          ],
          "repo": "https://github.com/rsyncproject/rsync",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-gg3m-4m9m-268h"
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-787"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/70xxx/CVE-2026-70458.json"
  },
  "details": "rsync 3.0.0 before 3.5.0 contains an out-of-bounds write vulnerability that allows attackers to corrupt memory by triggering HLINK_BUMP processing on file entries with the FLAG_HLINKED flag set while the hard-link preservation option is inactive. Attackers can exploit the missing F_SUM field in the file_struct layout to access memory past the end of the allocated structure, corrupting adjacent heap or stack data.",
  "id": "CVE-2026-70458",
  "modified": "2026-08-15T11:31:06.666332222Z",
  "published": "2026-08-13T14:44:06.034Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/70xxx/CVE-2026-70458.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/RsyncProject/rsync/releases/tag/v3.5.0"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/RsyncProject/rsync/security/advisories/GHSA-gg3m-4m9m-268h"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-70458"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/rsync-out-of-bounds-write-via-flag-hlinked-handling"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/RsyncProject/rsync"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "rsync 3.0.0 \u003c 3.5.0 Out-of-Bounds Write via FLAG_HLINKED Handling"
}