CVE-2026-43620
JSON

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 packageVersionsReported by
RsyncProject rsyncbefore 3.4.3CVE List
samba rsyncup to 3.4.2NVD

All scores

VulnCheck6.9medium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
VulnCheck6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Classification

CWE-125

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

SourceRecordLicence
CVE ListCVE-2026-43620 changed 2026-11-08CVE Terms of Use
NVDCVE-2026-43620 changed 2026-07-24Public domain