8.2High
CVE-2026-70458rsync 3.0.0 < 3.5.0 Out-of-Bounds Write via FLAG_HLINKED Handling
Description
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.
Weakness (CWE):
CWE-787
Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.
Affected products and versions
| Vendor | Product | Versions | |
|---|---|---|---|
| RsyncProject | rsync | 3.0.0 – ≤ 3.4.4, fixed 3.5.0 | |
| samba | rsync | 3.0.0 – ≤ 3.4.4 |
References and patches
- GitHub Security Advisory (GHSA-gg3m-4m9m-268h) vendor-advisoryVendor Advisory
- rsync 3.5.0 Release Notes release-notesRelease Notes
- https://www.vulncheck.com/advisories/rsync-out-of-bounds-write-via-flag-hlinked-handling third-party-advisoryThird Party Advisory
CPE matches (NVD) (1)
cpe:2.3:a:samba:rsync:*:*:*:*:*:*:*:*≥ 3.0.0 < 3.5.0