6.9medium
Rsync < 3.4.3 Out-of-Bounds Array Read via recv_files()
- Severity
- 6.9medium CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.43% (higher than 38% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
Description
Rsync version 3.4.2 and prior contain a receiver-side out-of-bounds array read vulnerability in recv_files() in receiver.c that allows a malicious rsync server to crash the rsync client process. Attackers can exploit the vulnerability by setting CF_INC_RECURSE in compatibility flags and sending a specially crafted file list where the first sorted entry is not the leading dot directory, followed by a transfer record with ndx=0 and an iflag word without ITEM_TRANSFER, causing the receiver to read 8 bytes before the allocated pointer array and dereference an invalid pointer at an unmapped address, resulting in a deterministic SIGSEGV crash of the rsync client.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| RsyncProject rsync | before 3.4.3 | CVE List |
| samba rsync | up to 3.4.2 | NVD |
All scores
| VulnCheck | 6.9medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N |
| VulnCheck | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
Rsync version 3.4.2 and prior contain a receiver-side out-of-bounds array read vulnerability in recv_files() in receiver.c that allows a malicious rsync server to crash the rsync client process. Attackers can exploit the vulnerability by setting CF_INC_RECURSE in compatibility flags and sending a specially crafted file list where the first sorted entry is not the leading dot directory, followed by a transfer record with ndx=0 and an iflag word without ITEM_TRANSFER, causing the receiver to read 8 bytes before the allocated pointer array and dereference an invalid pointer at an unmapped address, resulting in a deterministic SIGSEGV crash of the rsync client.
NVD (es)
La versión 3.4.2 de Rsync y anteriores contienen una vulnerabilidad de lectura de array fuera de límites en el lado del receptor en recv_files() en receiver.c que permite a un servidor rsync malicioso bloquear el proceso del cliente rsync. Los atacantes pueden explotar la vulnerabilidad al establecer CF_INC_RECURSE en los indicadores de compatibilidad y enviar una lista de archivos especialmente diseñada donde la primera entrada ordenada no es el directorio de punto inicial, seguido de un registro de transferencia con ndx=0 y una palabra iflag sin ITEM_TRANSFER, lo que hace que el receptor lea 8 bytes antes del array de punteros asignado y desreferencie un puntero inválido en una dirección no mapeada, lo que resulta en un bloqueo SIGSEGV determinista del cliente rsync.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-43620 changed 2026-11-08 | CVE Terms of Use |
| NVD | CVE-2026-43620 changed 2026-07-24 | Public domain |