{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2025-10158 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2025-10158 is a medium-severity memory corruption vulnerability in rsync, published on 18 Nov 2025. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-10158 and fix it if it is affected.\n\nWhat it is: CVE-2025-10158 is a medium-severity memory corruption vulnerability in rsync, published on 18 Nov 2025. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-10158 in the wild and no public exploit code.\n\nAffected product: rsync. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-10158/ (Markdown: https://insights.sbomify.com/CVE-2025-10158/index.md)","id":"CVE-2025-10158","markdown":"https://insights.sbomify.com/CVE-2025-10158/index.md","name":"CVE-2025-10158","record":{"aliases":["ALPINE-CVE-2025-10158","ALSA-2026:6390","ALSA-2026:6436","ALSA-2026:6825","AZL-70387","AZL-70667","BELL-CVE-2025-10158","CLSA-2026-1775723827","DEBIAN-CVE-2025-10158","ECHO-df75-75a7-da98","GHSA-3rvc-qcwh-fhqv","JLSEC-2026-625","MGASA-2026-0048","OESA-2026-1172","OESA-2026-1173","OESA-2026-1174","OESA-2026-1175","OESA-2026-1176","OESA-2026-1177","RHSA-2026:6390","RHSA-2026:6436","RHSA-2026:6825","RLSA-2026:6390","RLSA-2026:6436","RLSA-2026:6825","SUSE-SU-2025:4511-1","SUSE-SU-2026:0005-1","SUSE-SU-2026:0041-1","SUSE-SU-2026:0069-1","SUSE-SU-2026:20044-1","SUSE-SU-2026:20058-1","UBUNTU-CVE-2025-10158","openSUSE-SU-2025:15827-1"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["data_read","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"rsync file transfer","requires_auth":"low_privilege","summary":"A malicious rsync client can trigger an out-of-bounds heap read via a negative index, potentially causing information disclosure or crashes.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"rapid7","cpe":[],"cvss":{"score":4.3,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-129","name":"Improper Validation of Array Index"}],"description":"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 \n\nmalicious \n\nrsync client requires at least read access to the remote rsync module in order to trigger the issue.","ecosystems":["AlmaLinux:10","AlmaLinux:8","AlmaLinux:9","Red Hat:enterprise_linux:10.1","Red Hat:enterprise_linux:8::baseos","Red Hat:enterprise_linux:9::appstream","Red Hat:enterprise_linux:9::baseos","Rocky Linux:10","Rocky Linux:8","Rocky Linux:9","SUSE:Linux Enterprise Micro 5.2","SUSE:Linux Enterprise Micro 5.3","SUSE:Linux Enterprise Micro 5.4","SUSE:Linux Enterprise Micro 5.5","SUSE:Linux Enterprise Module for Basesystem 15 SP7","SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5","SUSE:Linux Micro 6.0","SUSE:Linux Micro 6.1","openSUSE:Leap 15.6","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Rsync: Out of bounds array access via negative index","id":"CVE-2025-10158","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2025"},"n_packages":34,"n_references":2,"next":{"headline":"Auth bypass in AP6 Series Wireless Access Points","id":"CVE-2025-10159"},"packages":[{"ecosystem":"AlmaLinux:10","fixed":["3.4.1-2.el10_1.2"],"introduced":["0"],"last_affected":[],"package":"rsync-daemon","purl":"pkg:rpm/almalinux/rsync-daemon","source":"ALSA-2026:6825"},{"ecosystem":"AlmaLinux:10","fixed":["3.4.1-2.el10_1.2"],"introduced":["0"],"last_affected":[],"package":"rsync-rrsync","purl":"pkg:rpm/almalinux/rsync-rrsync","source":"ALSA-2026:6825"},{"ecosystem":"AlmaLinux:8","fixed":["3.1.3-24.el8_10"],"introduced":["0"],"last_affected":[],"package":"rsync","purl":"pkg:rpm/almalinux/rsync","source":"ALSA-2026:6436"},{"ecosystem":"AlmaLinux:8","fixed":["3.1.3-24.el8_10"],"introduced":["0"],"last_affected":[],"package":"rsync-daemon","purl":"pkg:rpm/almalinux/rsync-daemon","source":"ALSA-2026:6436"},{"ecosystem":"AlmaLinux:9","fixed":["3.2.5-3.el9_7.2"],"introduced":["0"],"last_affected":[],"package":"rsync","purl":"pkg:rpm/almalinux/rsync","source":"ALSA-2026:6390"},{"ecosystem":"AlmaLinux:9","fixed":["3.2.5-3.el9_7.2"],"introduced":["0"],"last_affected":[],"package":"rsync-daemon","purl":"pkg:rpm/almalinux/rsync-daemon","source":"ALSA-2026:6390"},{"ecosystem":"AlmaLinux:9","fixed":["3.2.5-3.el9_7.2"],"introduced":["0"],"last_affected":[],"package":"rsync-rrsync","purl":"pkg:rpm/almalinux/rsync-rrsync","source":"ALSA-2026:6390"},{"ecosystem":"Red Hat:enterprise_linux:10.1","fixed":["0:3.4.1-2.el10_1.2"],"introduced":["0"],"last_affected":[],"package":"rsync","purl":"pkg:rpm/redhat/rsync","source":"RHSA-2026:6825"},{"ecosystem":"Red Hat:enterprise_linux:10.1","fixed":["0:3.4.1-2.el10_1.2"],"introduced":["0"],"last_affected":[],"package":"rsync-daemon","purl":"pkg:rpm/redhat/rsync-daemon","source":"RHSA-2026:6825"},{"ecosystem":"Red Hat:enterprise_linux:10.1","fixed":["0:3.4.1-2.el10_1.2"],"introduced":["0"],"last_affected":[],"package":"rsync-debuginfo","purl":"pkg:rpm/redhat/rsync-debuginfo","source":"RHSA-2026:6825"},{"ecosystem":"Red Hat:enterprise_linux:10.1","fixed":["0:3.4.1-2.el10_1.2"],"introduced":["0"],"last_affected":[],"package":"rsync-debugsource","purl":"pkg:rpm/redhat/rsync-debugsource","source":"RHSA-2026:6825"},{"ecosystem":"Red Hat:enterprise_linux:10.1","fixed":["0:3.4.1-2.el10_1.2"],"introduced":["0"],"last_affected":[],"package":"rsync-rrsync","purl":"pkg:rpm/redhat/rsync-rrsync","source":"RHSA-2026:6825"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:3.1.3-24.el8_10"],"introduced":["0"],"last_affected":[],"package":"rsync","purl":"pkg:rpm/redhat/rsync","source":"RHSA-2026:6436"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:3.1.3-24.el8_10"],"introduced":["0"],"last_affected":[],"package":"rsync-daemon","purl":"pkg:rpm/redhat/rsync-daemon","source":"RHSA-2026:6436"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:3.1.3-24.el8_10"],"introduced":["0"],"last_affected":[],"package":"rsync-debuginfo","purl":"pkg:rpm/redhat/rsync-debuginfo","source":"RHSA-2026:6436"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:3.1.3-24.el8_10"],"introduced":["0"],"last_affected":[],"package":"rsync-debugsource","purl":"pkg:rpm/redhat/rsync-debugsource","source":"RHSA-2026:6436"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:3.2.5-3.el9_7.2"],"introduced":["0"],"last_affected":[],"package":"rsync-daemon","purl":"pkg:rpm/redhat/rsync-daemon","source":"RHSA-2026:6390"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:3.2.5-3.el9_7.2"],"introduced":["0"],"last_affected":[],"package":"rsync-rrsync","purl":"pkg:rpm/redhat/rsync-rrsync","source":"RHSA-2026:6390"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:3.2.5-3.el9_7.2"],"introduced":["0"],"last_affected":[],"package":"rsync","purl":"pkg:rpm/redhat/rsync","source":"RHSA-2026:6390"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:3.2.5-3.el9_7.2"],"introduced":["0"],"last_affected":[],"package":"rsync-debuginfo","purl":"pkg:rpm/redhat/rsync-debuginfo","source":"RHSA-2026:6390"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:3.2.5-3.el9_7.2"],"introduced":["0"],"last_affected":[],"package":"rsync-debugsource","purl":"pkg:rpm/redhat/rsync-debugsource","source":"RHSA-2026:6390"},{"ecosystem":"Rocky Linux:10","fixed":["0:3.4.1-2.el10_1.2"],"introduced":["0"],"last_affected":[],"package":"rsync","purl":"pkg:rpm/rocky-linux/rsync?distro=rocky-linux-10\u0026epoch=0","source":"RLSA-2026:6825"},{"ecosystem":"Rocky Linux:8","fixed":["0:3.1.3-24.el8_10"],"introduced":["0"],"last_affected":[],"package":"rsync","purl":"pkg:rpm/rocky-linux/rsync?distro=rocky-linux-8\u0026epoch=0","source":"RLSA-2026:6436"},{"ecosystem":"Rocky Linux:9","fixed":["0:3.2.5-3.el9_7.2"],"introduced":["0"],"last_affected":[],"package":"rsync","purl":"pkg:rpm/rocky-linux/rsync?distro=rocky-linux-9\u0026epoch=0","source":"RLSA-2026:6390"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.2","fixed":["3.2.3-150000.4.39.1"],"introduced":["0"],"last_affected":[],"package":"rsync","purl":"pkg:rpm/suse/rsync\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.2","source":"SUSE-SU-2026:0069-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.3","fixed":["3.2.3-150400.3.26.1"],"introduced":["0"],"last_affected":[],"package":"rsync","purl":"pkg:rpm/suse/rsync\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.3","source":"SUSE-SU-2026:0041-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.4","fixed":["3.2.3-150400.3.26.1"],"introduced":["0"],"last_affected":[],"package":"rsync","purl":"pkg:rpm/suse/rsync\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.4","source":"SUSE-SU-2026:0041-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.5","fixed":["3.2.3-150400.3.26.1"],"introduced":["0"],"last_affected":[],"package":"rsync","purl":"pkg:rpm/suse/rsync\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.5","source":"SUSE-SU-2026:0041-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP7","fixed":["3.2.7-150600.3.14.1"],"introduced":["0"],"last_affected":[],"package":"rsync","purl":"pkg:rpm/suse/rsync\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP7","source":"SUSE-SU-2025:4511-1"},{"ecosystem":"SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5","fixed":["3.1.3-3.34.1"],"introduced":["0"],"last_affected":[],"package":"rsync","purl":"pkg:rpm/suse/rsync\u0026distro=SUSE%20Linux%20Enterprise%20Server%20LTSS%20Extended%20Security%2012%20SP5","source":"SUSE-SU-2026:0005-1"},{"ecosystem":"SUSE:Linux Micro 6.0","fixed":["3.2.7-5.1"],"introduced":["0"],"last_affected":[],"package":"rsync","purl":"pkg:rpm/suse/rsync\u0026distro=SUSE%20Linux%20Micro%206.0","source":"SUSE-SU-2026:20044-1"},{"ecosystem":"SUSE:Linux Micro 6.1","fixed":["3.3.0-slfo.1.1_4.1"],"introduced":["0"],"last_affected":[],"package":"rsync","purl":"pkg:rpm/suse/rsync\u0026distro=SUSE%20Linux%20Micro%206.1","source":"SUSE-SU-2026:20058-1"},{"ecosystem":"openSUSE:Leap 15.6","fixed":["3.2.7-150600.3.14.1"],"introduced":["0"],"last_affected":[],"package":"rsync","purl":"pkg:rpm/opensuse/rsync\u0026distro=openSUSE%20Leap%2015.6","source":"SUSE-SU-2025:4511-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["3.4.1-4.1"],"introduced":["0"],"last_affected":[],"package":"rsync","purl":"pkg:rpm/opensuse/rsync\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2025:15827-1"}],"prev":{"headline":"PickleScan Bypasses Unsafe Globals Check Using Submodule Imports","id":"CVE-2025-10157"},"products":["rsync"],"published":"2025-11-18","related":[],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"BSD","name":"Rocky Linux","prefix":"RLSA"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-11-19","vendors":["rsync"]},"summary":"A malicious rsync client can trigger an out-of-bounds heap read via a negative index, potentially causing information disclosure or crashes.","url":"https://insights.sbomify.com/CVE-2025-10158/"}