CVE-2026-70457rsync 3.2.3 < 3.5.0 Out-of-Bounds Write via parse_size_arg()
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.
What to do
Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | rsync | Under investigation | UBUNTU-CVE-2026-70457 | |
| Ubuntu 24.04 | rsync | Under investigation | UBUNTU-CVE-2026-70457 | |
| Ubuntu 22.04 | rsync | Under investigation | UBUNTU-CVE-2026-70457 | |
| Ubuntu 20.04 | rsync | Fix pending | UBUNTU-CVE-2026-70457 | |
| Ubuntu 18.04 | rsync | Fix pending | UBUNTU-CVE-2026-70457 | |
| Ubuntu 16.04 | rsync | Fix pending | UBUNTU-CVE-2026-70457 | |
| Ubuntu 14.04 | rsync | Fix pending | UBUNTU-CVE-2026-70457 | |
| Debian 14 | rsync | Fixed | 3.5.0+ds1-1 | DEBIAN-CVE-2026-70457 |
| Debian 13 | rsync | Fixed | 3.5.0+ds1-0+deb13u1 | DEBIAN-CVE-2026-70457 |
| Debian 12 | rsync | Fixed | 3.5.0+ds1-0+deb12u1 | DEBIAN-CVE-2026-70457 |
| Red Hat Enterprise Linux 10 | rsync | Fixed | 0:3.5.0-3.el10_2 | RHSA-2026:67463 |
| Red Hat Enterprise Linux 10 | rsync-daemon | Fixed | 0:3.5.0-3.el10_2 | RHSA-2026:67463 |
| Red Hat Enterprise Linux 10 | rsync-rrsync | Fixed | 0:3.5.0-3.el10_2 | RHSA-2026:67463 |
| Red Hat Enterprise Linux 9 | rsync | Fixed | 0:3.2.7-1.el9_8 | RHSA-2026:67462 |
| Red Hat Enterprise Linux 9 | rsync-daemon | Fixed | 0:3.2.7-1.el9_8 | RHSA-2026:67462 |
| Red Hat Enterprise Linux 9 | rsync-rrsync | Fixed | 0:3.2.7-1.el9_8 | RHSA-2026:67462 |
| Red Hat Enterprise Linux 8 | rsync | Not affected | ||
| Red Hat Enterprise Linux 8 | rsync-daemon | Not affected | ||
| Red Hat Enterprise Linux 7 | rsync | Not affected | ||
| Red Hat Enterprise Linux 6 | rsync | Not affected | ||
| AlmaLinux 10 | rsync-daemon | Fixed | 3.5.0-3.el10_2 | ALSA-2026:67463 |
| AlmaLinux 10 | rsync-rrsync | Fixed | 3.5.0-3.el10_2 | ALSA-2026:67463 |
| AlmaLinux 9 | rsync | Fixed | 3.2.7-1.el9_8 | ALSA-2026:67462 |
| AlmaLinux 9 | rsync-daemon | Fixed | 3.2.7-1.el9_8 | ALSA-2026:67462 |
| AlmaLinux 9 | rsync-rrsync | Fixed | 3.2.7-1.el9_8 | ALSA-2026:67462 |
| Rocky Linux 10 | rsync | Fixed | 0:3.5.0-3.el10_2 | RLSA-2026:67463 |
| Rocky Linux 9 | rsync | Fixed | 0:3.2.7-1.el9_8 | RLSA-2026:67462 |
| Alpine Linux 3.24 | rsync | Fixed | 3.5.0-r0 | ALPINE-CVE-2026-70457 |
| Alpine Linux 3.23 | rsync | Fixed | 3.5.0-r0 | ALPINE-CVE-2026-70457 |
| Alpine Linux 3.22 | rsync | Fixed | 3.5.0-r0 | ALPINE-CVE-2026-70457 |
| Alpine Linux 3.21 | rsync | Fixed | 3.5.0-r0 | ALPINE-CVE-2026-70457 |
What the vendor says
As published in the CVE record by VulnCheck, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- RsyncProject rsync: affected: 3.2.3 to 3.4.4, 3.5.0 not affected
Vendor advisories:
- https://github.com/RsyncProject/rsync/security/advisories/GHSA-pg7g-xqmr-xpfh (vendor-advisory)
- https://github.com/RsyncProject/rsync/releases/tag/v3.5.0 (release-notes)
References
- https://github.com/RsyncProject/rsync/security/advisories/GHSA-pg7g-xqmr-xpfh
- https://github.com/RsyncProject/rsync/releases/tag/v3.5.0
- https://www.vulncheck.com/advisories/rsync-out-of-bounds-write-via-parse-size-arg
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.