Rsync Samba Rsync

Don't miss out!

Thousands of developers use stack.watch to stay informed.
Get an email whenever new security vulnerabilities are reported in Samba Rsync.

By the Year

In 2026 there have been 0 vulnerabilities in Samba Rsync. Last year, in 2025 Rsync had 5 security vulnerabilities published. Right now, Rsync is on track to have less security vulnerabilities in 2026 than it did last year.




Year Vulnerabilities Average Score
2026 0 0.00
2025 5 7.28
2024 0 0.00
2023 0 0.00
2022 1 7.40
2021 1 7.40
2020 0 0.00
2019 0 0.00
2018 1 7.50

It may take a day or so for new Rsync vulnerabilities to show up in the stats or in the list of recent security vulnerabilities. Additionally vulnerabilities may be tagged under a different product or component name.

Recent Samba Rsync Security Vulnerabilities

rsync Daemon Heap Bof via Checksum Length Overrun
CVE-2024-12084 9.8 - Critical - January 15, 2025

A heap-based buffer overflow flaw was found in the rsync daemon. This issue is due to improper handling of attacker-controlled checksum lengths (s2length) in the code. When MAX_DIGEST_LEN exceeds the fixed SUM_LENGTH (16 bytes), an attacker can write out of bounds in the sum2 buffer.

Heap-based Buffer Overflow

Rsync --safe-links Path Traversal, Arbitrary File Write
CVE-2024-12088 6.5 - Medium - January 14, 2025

A flaw was found in rsync. When using the `--safe-links` option, the rsync client fails to properly verify if a symbolic link destination sent from the server contains another symbolic link within it. This results in a path traversal vulnerability, which may lead to arbitrary file write outside the desired directory.

Directory traversal

Path traversal in rsync via --inc-recursive option
CVE-2024-12087 6.5 - Medium - January 14, 2025

A path traversal vulnerability exists in rsync. It stems from behavior enabled by the `--inc-recursive` option, a default-enabled option for many client options and can be enabled by the server even if not explicitly enabled by the client. When using the `--inc-recursive` option, a lack of proper symlink verification coupled with deduplication checks occurring on a per-file-list basis could allow a server to write files outside of the client's intended destination directory. A malicious server could write malicious files to arbitrary locations named after valid directories/paths on the client.

Directory traversal

Rsync Server Remote File Enumeration via Checksum Exploit
CVE-2024-12086 6.1 - Medium - January 14, 2025

A flaw was found in rsync. It could allow a server to enumerate the contents of an arbitrary file from the client's machine. This issue occurs when files are being copied from a client to a server. During this process, the rsync server will send checksums of local data to the client to compare with in order to determine what data needs to be sent to the server. By sending specially constructed checksum values for arbitrary files, an attacker may be able to reconstruct the data of those files byte-by-byte based on the responses from the client.

Detection of Error Condition Without Action

Rsync: Checksum Length Manipulation Enables Stack Data Leak
CVE-2024-12085 7.5 - High - January 14, 2025

A flaw was found in rsync which could be triggered when rsync compares file checksums. This flaw allows an attacker to manipulate the checksum length (s2length) to cause a comparison between a checksum and uninitialized memory and leak one byte of uninitialized stack data at a time.

Use of Uninitialized Resource

Rsync <3.2.5 Remote File Overwrite via Client Name Validation Bypass
CVE-2022-29154 7.4 - High - August 02, 2022

An issue was discovered in rsync before 3.2.5 that allows malicious remote servers to write arbitrary files inside the directories of connecting peers. The server chooses which files/directories are sent to the client. However, the rsync client performs insufficient validation of file names. A malicious rsync server (or Man-in-The-Middle attacker) can overwrite arbitrary files in the rsync client target directory and subdirectories (for example, overwrite the .ssh/authorized_keys file).

Improper Input Validation

A flaw was found in rsync in versions since 3.2.0pre1
CVE-2020-14387 7.4 - High - May 27, 2021

A flaw was found in rsync in versions since 3.2.0pre1. Rsync improperly validates certificate with host mismatch vulnerability. A remote, unauthenticated attacker could exploit the flaw by performing a man-in-the-middle attack using a valid certificate for another hostname which could compromise confidentiality and integrity of data transmitted using rsync-ssl. The highest threat from this vulnerability is to data confidentiality and integrity. This flaw affects rsync versions before 3.2.4.

Improper Validation of Certificate with Host Mismatch

The parse_arguments function in options.c in rsyncd in rsync before 3.1.3 does not prevent multiple --protect-args uses, which
CVE-2018-5764 7.5 - High - January 17, 2018

The parse_arguments function in options.c in rsyncd in rsync before 3.1.3 does not prevent multiple --protect-args uses, which allows remote attackers to bypass an argument-sanitization protection mechanism.

rsync 3.1.1 allows remote attackers to write to arbitrary files
CVE-2014-9512 - February 12, 2015

rsync 3.1.1 allows remote attackers to write to arbitrary files via a symlink attack on a file in the synchronization path.

insecure temporary file

rsync 3.x before 3.0.8, when certain recursion, deletion, and ownership options are used
CVE-2011-1097 - March 30, 2011

rsync 3.x before 3.0.8, when certain recursion, deletion, and ownership options are used, allows remote rsync servers to cause a denial of service (heap memory corruption and application crash) or possibly execute arbitrary code via malformed data.

Buffer Overflow

Buffer overflow in rsync 2.6.9 to 3.0.1, with extended attribute (xattr) support enabled, might
CVE-2008-1720 - April 10, 2008

Buffer overflow in rsync 2.6.9 to 3.0.1, with extended attribute (xattr) support enabled, might allow remote attackers to execute arbitrary code via unknown vectors.

Stay on top of Security Vulnerabilities

Want an email whenever new vulnerabilities are published for Samba Rsync or by Samba? Click the Watch button to subscribe.

Samba
Vendor

Samba Rsync
Product

subscribe