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 package | Versions | Reported by |
|---|---|---|
| RsyncProject rsync | from 3.2.3 up to 3.4.4 Not affected: 3.5.0 | CVE List |
| samba rsync | from 3.2.3 before 3.5.0 | NVD |
All scores
| VulnCheck | 8.3high CVSS:4.0 | CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N |
| VulnCheck | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H |
| NVD | 8.2high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H |
Classification
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
| https://github.com/RsyncProject/rsync/security/advisories/GHSA-pg7g-xqmr-xpfh | vendor-advisory | |
| https://github.com/RsyncProject/rsync/releases/tag/v3.5.0 | product, release-notes | |
| https://www.vulncheck.com/advisories/rsync-out-of-bounds-write-via-parse-size-arg | release-notes, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-70457 changed 2026-08-14 | CVE Terms of Use |
| NVD | CVE-2026-70457 changed 2026-10-24 | Public domain |