CVEfocus › CVE database › CVE-2025-10158

CVE-2025-10158Rsync: Out of bounds array access via negative index

CVSS 4.3 MediumEPSS 0.3% (higher than 29% of CVEs)Published 2025-11-18Updated 2025-11-19Assigner: rapid7

A malicious client acting as the receiver of an rsync file transfer can trigger an out of bounds read of a heap based buffer, via a negative array index. The malicious rsync client requires at least read access to the remote rsync module in order to trigger the issue.

CWE-129

What to do

Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, Ubuntu: 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

31Fixed
4Fix pending
2Will not fix

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04rsyncFixed3.4.1+ds1-7UBUNTU-CVE-2025-10158
Ubuntu 25.10rsyncFixed3.4.1+ds1-5ubuntu1.2UBUNTU-CVE-2025-10158
Ubuntu 24.04rsyncFixed3.2.7-1ubuntu1.4UBUNTU-CVE-2025-10158
Ubuntu 22.04rsyncFixed3.2.7-0ubuntu0.22.04.6UBUNTU-CVE-2025-10158
Ubuntu 20.04rsyncFix pending3.1.3-8ubuntu0.9+esm1 (Ubuntu Pro)UBUNTU-CVE-2025-10158
Ubuntu 18.04rsyncFix pending3.1.2-2.1ubuntu1.6+esm3 (Ubuntu Pro)UBUNTU-CVE-2025-10158
Ubuntu 16.04rsyncFix pending3.1.1-3ubuntu1.3+esm5 (Ubuntu Pro)UBUNTU-CVE-2025-10158
Ubuntu 14.04rsyncFix pending3.1.0-2ubuntu0.4+esm3 (Ubuntu Pro)UBUNTU-CVE-2025-10158
Debian 14rsyncFixed3.4.1+ds1-7DEBIAN-CVE-2025-10158
Debian 13rsyncFixed3.4.1+ds1-5+deb13u1DEBIAN-CVE-2025-10158
Debian 12rsyncFixed3.2.7-1+deb12u4DEBIAN-CVE-2025-10158
Red Hat Enterprise Linux 10rsyncFixed0:3.4.1-2.el10_1.2RHSA-2026:6825
Red Hat Enterprise Linux 10rsync-daemonFixed0:3.4.1-2.el10_1.2RHSA-2026:6825
Red Hat Enterprise Linux 10rsync-rrsyncFixed0:3.4.1-2.el10_1.2RHSA-2026:6825
Red Hat Enterprise Linux 9rsyncFixed0:3.2.5-3.el9_7.2RHSA-2026:6390
Red Hat Enterprise Linux 9rsync-daemonFixed0:3.2.5-3.el9_7.2RHSA-2026:6390
Red Hat Enterprise Linux 9rsync-rrsyncFixed0:3.2.5-3.el9_7.2RHSA-2026:6390
Red Hat Enterprise Linux 8rsyncFixed0:3.1.3-24.el8_10RHSA-2026:6436
Red Hat Enterprise Linux 8rsync-daemonFixed0:3.1.3-24.el8_10RHSA-2026:6436
Red Hat Enterprise Linux 7rsyncWill not fix
Out of support scope
Red Hat Enterprise Linux 6rsyncWill not fix
Out of support scope
AlmaLinux 10rsync-daemonFixed3.4.1-2.el10_1.2ALSA-2026:6825
AlmaLinux 10rsync-rrsyncFixed3.4.1-2.el10_1.2ALSA-2026:6825
AlmaLinux 9rsyncFixed3.2.5-3.el9_7.2ALSA-2026:6390
AlmaLinux 9rsync-daemonFixed3.2.5-3.el9_7.2ALSA-2026:6390
AlmaLinux 9rsync-rrsyncFixed3.2.5-3.el9_7.2ALSA-2026:6390
AlmaLinux 8rsyncFixed3.1.3-24.el8_10ALSA-2026:6436
AlmaLinux 8rsync-daemonFixed3.1.3-24.el8_10ALSA-2026:6436
Rocky Linux 10rsyncFixed0:3.4.1-2.el10_1.2RLSA-2026:6825
Rocky Linux 9rsyncFixed0:3.2.5-3.el9_7.2RLSA-2026:6390
Rocky Linux 8rsyncFixed0:3.1.3-24.el8_10RLSA-2026:6436
Alpine Linux 3.24rsyncFixed3.4.1-r1ALPINE-CVE-2025-10158
Alpine Linux 3.23rsyncFixed3.4.1-r1ALPINE-CVE-2025-10158
Alpine Linux 3.22rsyncFixed3.4.1-r1ALPINE-CVE-2025-10158
Alpine Linux 3.21rsyncFixed3.4.1-r1ALPINE-CVE-2025-10158
Alpine Linux 3.20rsyncFixed3.4.1-r1ALPINE-CVE-2025-10158
Alpine Linux 3.19rsyncFixed3.4.1-r1ALPINE-CVE-2025-10158

What the vendor says

As published in the CVE record by rapid7, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

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.