All vulnerabilities

Servers and applications

CVE-2026-70459

rsync: Per-connection daemon child crash from a crafted first incremental file list with a non-directory transfer root

Severity
Medium 6.9
Published
13 Aug 2026
Last changed
24 Oct 2026
Added to UpHeron
1 Nov 2026
Fixed in
3.5.0
Exploit chance
0.7% in the next 30 daysHigher than 54% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
CWE-908CWE-824
Attack
Over the network · No login needed · No user action needed
Attacker can
Slow it down
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Also known as
GHSA-p4v4-qxw9-q72m
Sources
NVD, Project advisories (GitHub)

Description

A malicious peer sends a first incremental file list whose lowest-sorted entry has the basename "." but a non-directory mode. Such an entry never lands in dir_flist, so dir_flist->used stays 0, while the basename test still passes and parent_ndx keeps its flist_new() default of 0. The consumers then dereference dir_flist->files[0] in an array that was never written.

Observed impact is a CRASH, not a disclosure. The dying process is the daemon's GENERATOR, and it dies in generate_files() before any transfer phase -- the file list alone is enough, no transfer-phase index is needed.

The dereferenced slot is NOT guaranteed to be NULL: dir_flist->files[] comes from realloc(), not calloc(). In an ordinary run it does read as NULL (the fault address is 0x14, matching file->mode), but a peer that grooms the heap first -- requesting --delete and sending a large filter list that it then frees before the file list is parsed -- can place its own bytes in that slot.

From RsyncProject/rsync's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
rsyncServers and applications · cpe:a:samba:rsync
  • From 3.0.0 before 3.5.0
rsyncServers and applications · github:rsyncproject/rsync
  • From 3.0.0 before 3.5.0

About rsync

file synchronization protocol and software

From Wikidata, CC0 1.0.
GitHub stars
5,367GitHub, 15 Nov 2026
Forks
631GitHub, 15 Nov 2026
Latest release
v3.5.2GitHub, 15 Nov 2026
Released
3 Nov 2026GitHub
Developer
Andrew TridgellWikidata
Written in
CWikidata
First released
19 Jun 1996Wikidata
First published on GitHub
25 May 2020GitHub

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2026-70459
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-70459
  • GitHub Advisory Database https://github.com/advisories/GHSA-p4v4-qxw9-q72m
  • github.com https://github.com/RsyncProject/rsync/security/advisories/GHSA-p4v4-qxw9-q72m