CVE-2026-70457

NameCVE-2026-70457
Descriptionrsync 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
rsync (PTS)bookworm3.2.7-1+deb12u6vulnerable
bookworm (security)3.2.7-1+deb12u5vulnerable
trixie3.4.1+ds1-5+deb13u4vulnerable
trixie (security)3.4.1+ds1-5+deb13u3vulnerable
forky, sid3.5.0+ds1-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
rsyncsource(unstable)3.5.0+ds1-1

Notes

https://download.samba.org/pub/rsync/NEWS#3.5.0

Search for package or bug name: Reporting problems