rsync 3.2.5 before 3.5.0 contains a heap out-of-bounds write vulnerability that allows remote unauthenticated attackers to write one attacker-controlled byte past the end of a heap allocation by supplying a crafted files-from entry. Attackers can trigger the vulnerability against a read-only rsync daemon module by providing a files-from entry containing both an interior and trailing backslash, causing the add_implied_include() function to under-count the trailing backslash when sizing the destination buffer.
Fix
Patch, vendor advisory and mitigation references on NVD 1
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 8.8 · sambaNVD modified 2026-10-23 18:10
Affected (CPE criteria) 1
cpe:2.3:a:samba:rsync:*:*:*:*:*:*:*:*
References 3
- https://github.com/RsyncProject/rsync/releases/tag/v3.5.0 Product, Release Notes
- https://github.com/RsyncProject/rsync/security/advisories/GHSA-jhxm-j4mq-3fj4 Vendor Advisory
- https://www.vulncheck.com/advisories/rsync-heap-out-of-bounds-write-via-files-from-entry Release Notes, Third Party Advisory