CVE-2026-70457: rsync 3.2.3 before 3.5.0 contains an out-of-bounds write in parse_size_arg() where the return value of snprint
35
Routine
MEDIUM 6.5REMOTEUPGRADE
CVE-2026-70457 is a medium-severity flaw (CVSS 6.5) affecting rsync. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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 outsid
Why this priority
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
samba rsync UPGRADE
Affected: >= 3.2.3 and < 3.5.0
Fixed in: 3.5.0
Safe to downgrade to: a release before 3.2.3
1. Check installed version
apt-cache policy rsync || rpm -q rsync || rsync --version
2. UPGRADE to 3.5.0 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade rsync
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade rsync
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
3. If no update is available yet, DOWNGRADE to a release before 3.2.3 (Debian / Ubuntu)
apt-cache madison rsync
sudo apt install rsync=<VERSION_BEFORE_3.2.3>
sudo apt-mark hold rsync
3. If no update is available yet, DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list rsync
sudo dnf downgrade rsync-<VERSION_BEFORE_3.2.3>
sudo dnf versionlock add rsync
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
Exact fixes by distribution
Fedora 46 · wasmedge · FIXED · 0.18.1-1.fc46 · FEDORA-2026-4c27216e39 · source
sudo dnf upgrade --advisory=FEDORA-2026-4c27216e39
Debian 12 · rsync · NO FIX YET
Debian 13 · rsync · FIXED · 3.5.0+ds1-0+deb13u1
sudo apt update && sudo apt install --only-upgrade rsync
dpkg --compare-versions "$(dpkg-query -W -f='${Version}' rsync)" ge "3.5.0+ds1-0+deb13u1" && echo PATCHED || echo STILL-VULNERABLE
RHEL 10 · rsync · FIXED · rsync-3.5.0-3.el10_2
sudo dnf upgrade --advisory=RHSA-2026:67463
rpm -q rsync
RHEL 9 · rsync · FIXED · rsync-3.2.7-1.el9_8
sudo dnf upgrade --advisory=RHSA-2026:67462
rpm -q rsync
RHEL 6 · rsync · NOT AFFECTED
RHEL 7 · rsync · NOT AFFECTED
RHEL 8 · rsync · NOT AFFECTED
Alpine 3.21 · rsync · FIXED · rsync-3.5.0-r0
apk add --upgrade rsync
apk info -v rsync
Alpine 3.22 · rsync · FIXED · rsync-3.5.0-r0
apk add --upgrade rsync
apk info -v rsync
Alpine 3.23 · rsync · FIXED · rsync-3.5.0-r0
apk add --upgrade rsync
apk info -v rsync
Alpine 3.24 · rsync · FIXED · rsync-3.5.0-r0
apk add --upgrade rsync
apk info -v rsync
sudo dnf update --advisory=ALAS2023-2026-3131
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Related CVEs
- CVE-2026-53791 CRITICAL 9.1 UPGRADE rsync daemon before 3.5.0 contains an IP address spoofing vulnerability that allows unauthenticated remote att
- CVE-2026-70461 HIGH 8.2 UPGRADE rsync 3.2.5 before 3.5.0 contains a heap out-of-bounds write vulnerability that allows remote unauthenticated
- CVE-2026-70455 HIGH 7.5 UPGRADE rsync 3.4.2 before 3.5.0 contains a denial of service vulnerability that allows a remote sender to exhaust sys
- CVE-2026-53795 HIGH 8.1 UPGRADE rsync before 3.5.0 contains an arbitrary file write vulnerability that allows attackers to write files outside
- CVE-2026-70459 MEDIUM 5.3 UPGRADE rsync 3.0.0 before 3.5.0 contains a null pointer dereference vulnerability in the daemon child process that al