CVE-2026-70457
JSON

8.3high

rsync 3.2.3 < 3.5.0 Out-of-Bounds Write via parse_size_arg()

Severity
8.3high CVSS:4.0 by VulnCheck
Exploit likelihood
0.38% (higher than 33% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck

Description

rsync 3.2.3 before 3.5.0 contains an out-of-bounds write in parse_size_arg() where the return value of snprintf() is used directly as an index into a .bss-segment array without bounds checking. When snprintf truncates the formatted size string, the return value equals the number of characters that would have been written including the truncated portion, and this value may exceed the array length. The subsequent indexed write targets memory outside the intended array bounds, corrupting .bss memory.

Affected

Product or packageVersionsReported by
RsyncProject rsyncfrom 3.2.3 up to 3.4.4
Not affected: 3.5.0
CVE List
samba rsyncfrom 3.2.3 before 3.5.0NVD

All scores

VulnCheck8.3high CVSS:4.0CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N
VulnCheck6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H
NVD8.2high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H

Classification

CWE-131CWE-787

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

rsync 3.2.3 before 3.5.0 contains an out-of-bounds write in parse_size_arg() where the return value of snprintf() is used directly as an index into a .bss-segment array without bounds checking. When snprintf truncates the formatted size string, the return value equals the number of characters that would have been written including the truncated portion, and this value may exceed the array length. The subsequent indexed write targets memory outside the intended array bounds, corrupting .bss memory.

NVD (es)

rsync 3.2.3 anterior a 3.5.0 contiene una escritura fuera de límites en parse_size_arg() donde el valor de retorno de snprintf() se utiliza directamente como un índice en un array del segmento .bss sin comprobación de límites. Cuando snprintf trunca la cadena de tamaño formateada, el valor de retorno es igual al número de caracteres que se habrían escrito incluyendo la porción truncada, y este valor puede exceder la longitud del array. La escritura indexada subsiguiente apunta a memoria fuera de los límites previstos del array, corrompiendo la memoria .bss.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-70457 changed 2026-08-14CVE Terms of Use
NVDCVE-2026-70457 changed 2026-10-24Public domain