cve.bz

CVE-2026-70457 samba rsync: Incorrect Calculation of Buffer Size

8.3 highEPSS 0.4%

High (8.3) in samba rsync. EPSS 0.4% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 4.0

8.3 high
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

CVSS 3.1

8.2 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 32nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-08-13. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-131 Incorrect Calculation of Buffer Size
CWE-787 Out-of-bounds Write
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-70457 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-70457?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-70457?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-70457 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
RsyncProject rsyncfrom 3.2.3 through 3.4.4

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12rsync3.5.0+ds1-0+deb12u1DEBIAN-CVE-2026-70457 DLA-4888-1
Debian13rsync3.5.0+ds1-0+deb13u1DEBIAN-CVE-2026-70457 DSA-6527-1
Debian14rsync3.5.0+ds1-1DEBIAN-CVE-2026-70457
Ubuntu22.04:LTS, 24.04:LTS, 26.04:LTS and 4 morersyncno fix listedUBUNTU-CVE-2026-70457
Red Hatenterprise_linux:9::appstreamrsync-daemon, rsync-rrsync0:3.2.7-1.el9_8RHSA-2026:67462
Red Hatenterprise_linux:9::baseosrsync, rsync-debuginfo, rsync-debugsource0:3.2.7-1.el9_8RHSA-2026:67462
Red Hatenterprise_linux:10.2rsync, rsync-daemon, rsync-rrsync and 2 more0:3.5.0-3.el10_2RHSA-2026:67463
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 8 morersync3.2.3-150400.3.34.1SUSE-SU-2026:3634-1
SUSELinux Enterprise Module for Basesystem 15 SP7, Linux Enterprise Server 15 SP6-LTSS, Linux Enterprise Server for SAP Applications 15 SP6rsync3.2.7-150600.3.24.1SUSE-SU-2026:3657-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0rsync3.4.1-160000.6.1SUSE-SU-2026:23323-1
SUSELinux Micro 6.0rsync3.2.7-8.1SUSE-SU-2026:23253-1
SUSELinux Micro 6.1rsync3.3.0-slfo.1.1_7.1SUSE-SU-2026:23254-1
SUSELinux Micro 6.2rsync3.4.1-160000.6.1SUSE-SU-2026:23289-1
openSUSELeap 16.0rsync3.4.1-160000.6.1openSUSE-SU-2026:21650-1
openSUSETumbleweedrsync3.5.1-1.1openSUSE-SU-2026:11869-1
AlmaLinux9rsync, rsync-daemon, rsync-rrsync3.2.7-1.el9_8ALSA-2026:67462
AlmaLinux10rsync-daemon, rsync-rrsync3.5.0-3.el10_2ALSA-2026:67463
Rocky Linux9rsync0:3.2.7-1.el9_8RLSA-2026:67462
Rocky Linux10rsync0:3.5.0-3.el10_2RLSA-2026:67463
Alpinev3.21, v3.22, v3.23 and 1 morersync3.5.0-r0ALPINE-CVE-2026-70457
Azure Linux3rsync3.5.0-1AZL-95846
Alpaquita23, 25, streamrsync3.5.0-r0BELL-CVE-2026-70457

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This Moderate impact flaw in rsync stems from an out-of-bounds write in the `parse_size_arg()` function. Although no privileges or user interaction are required, the high attack complexity indicates that exploitation is not straightforward. Successful exploitation could lead to memory corruption, potentially causing a denial of service or compromising data integrity on affected Red Hat systems.

Red Hat's mitigation

If rsync is configured to run as a daemon, restrict network access to trusted hosts using firewall rules. For example, to limit access to localhost:

`firewall-cmd --permanent --add-rich-rule='rule family="ipv4" port port="873" protocol="tcp" source address="127.0.0.1" accept'`

`firewall-cmd --reload`

This may impact legitimate remote rsync operations. If rsync is not used as a daemon, ensure that only trusted sources are used for rsync operations.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10rsync-0:3.5.0-3.el10_2Fixed 2026-09-14RHSA-2026:67463
Red Hat Enterprise Linux 9rsync-0:3.2.7-1.el9_8Fixed 2026-09-14RHSA-2026:67462
Red Hat OpenShift Container Platform 4.22openshift/ose-rhel-coreos-9:4.22.9.8.202609221802-0Fixed 2026-09-29RHSA-2026:71446
Red Hat Cost Management On-Premise 1costmanagement/costmanagement-ui-rhel10:1791460851Fixed 2026-10-08RHSA-2026:79357
Red Hat Enterprise Linux 6rsyncNot affected
Red Hat Enterprise Linux 7rsyncNot affected
Red Hat Enterprise Linux 8rsyncNot affected
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-8Not affected
Red Hat OpenShift Container Platform 5openshift/ose-rhel-coreos-9Affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-70457.

Attack patterns (CAPEC)

  • CAPEC-47 Buffer Overflow via Parameter Expansion Likelihood: Medium · Severity: High
  • CAPEC-100 Overflow Buffers Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON