CVE-2026-70457: CWE-131 Incorrect Calculation of Buffer Size in RsyncProject rsync
A high-severity vulnerability (CVE-2026-70457) exists in rsync versions 3.2.3 through 3.4.4. It involves an out-of-bounds write in the parse_size_arg() function due to improper handling of snprintf() return values, leading to memory corruption in the .bss segment. This flaw arises because the return value of snprintf() is used as an index without bounds checking when the formatted string is truncated.
AI Analysis
Technical Summary
The vulnerability in rsync 3.2.3 up to 3.4.4 is caused by incorrect calculation of buffer size in the parse_size_arg() function. Specifically, the return value of snprintf(), which indicates the number of characters that would have been written including truncated parts, is used directly as an index into a .bss-segment array without verifying that it is within bounds. When snprintf truncates the output, this index can exceed the array length, resulting in an out-of-bounds write that corrupts memory.
Potential Impact
This vulnerability can lead to memory corruption in the .bss segment of the rsync process. Such corruption may cause crashes or potentially enable an attacker to execute arbitrary code or cause denial of service. The CVSS 4.0 score of 8.3 reflects a high severity with network attack vector, high attack complexity, no privileges or user interaction required, and high impact on availability.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or temporary workaround is currently documented. Users should monitor vendor communications for updates and consider restricting access to vulnerable rsync services until a patch is available.
CVE-2026-70457: CWE-131 Incorrect Calculation of Buffer Size in RsyncProject rsync
Description
A high-severity vulnerability (CVE-2026-70457) exists in rsync versions 3.2.3 through 3.4.4. It involves an out-of-bounds write in the parse_size_arg() function due to improper handling of snprintf() return values, leading to memory corruption in the .bss segment. This flaw arises because the return value of snprintf() is used as an index without bounds checking when the formatted string is truncated.
CVSS v4.0
Score 8.3high
Affected software
RsyncProject
rsync
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in rsync 3.2.3 up to 3.4.4 is caused by incorrect calculation of buffer size in the parse_size_arg() function. Specifically, the return value of snprintf(), which indicates the number of characters that would have been written including truncated parts, is used directly as an index into a .bss-segment array without verifying that it is within bounds. When snprintf truncates the output, this index can exceed the array length, resulting in an out-of-bounds write that corrupts memory.
Potential Impact
This vulnerability can lead to memory corruption in the .bss segment of the rsync process. Such corruption may cause crashes or potentially enable an attacker to execute arbitrary code or cause denial of service. The CVSS 4.0 score of 8.3 reflects a high severity with network attack vector, high attack complexity, no privileges or user interaction required, and high impact on availability.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or temporary workaround is currently documented. Users should monitor vendor communications for updates and consider restricting access to vulnerable rsync services until a patch is available.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-08-04T14:52:23.814Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6a7ddecabf8831d5395d0066
Added to database: 08/13/2026, 15:12:10 UTC
Last enriched: 08/21/2026, 13:41:31 UTC
Last updated: 09/28/2026, 20:10:37 UTC
Views: 67
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.