Security Resilience

CVE-2026-70457

Memory Safety in Samba Rsync 3.2.3 – 3.5.0

Public PoCMemory Safety
Published
13 August 2026
Modified
24 October 2026
Patch / advisory
CVSS Score v4 8.3
Click a component to see what it means
Raw vectorCVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS Score 0.0038 24th percentile
Risk Priority 35 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2026-70457 is a high-severity Incorrect Calculation of Buffer Size (CWE-131) vulnerability in Samba Rsync. Its CVSS base score is 8.3 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploitation for Privilege Escalation (T1068); ranked at the 24th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified map to SA-11 (Developer Testing and Evaluation) and SA-15 (Development Process, Standards, and Tools) — see the control section below for these in your framework.

EU & UK References

Vulnerability Data

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…

more

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.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1068 Exploitation for Privilege Escalation Privilege Escalation
Adversaries may exploit software vulnerabilities in an attempt to elevate privileges.
T1189 Drive-by Compromise Initial Access
Adversaries may gain access to a system through a user visiting a website over the normal course of browsing.
T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1203 Exploitation for Client Execution Execution
Adversaries may exploit software vulnerabilities in client applications to execute code.
T1212 Exploitation for Credential Access Credential Access
Adversaries may exploit software vulnerabilities in an attempt to collect credentials.
T1499 Endpoint Denial of Service Impact
Adversaries may perform Endpoint Denial of Service (DoS) attacks to degrade or block the availability of services to users.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2023-4154Same vendor: Samba
CVE-2023-5568Same vendor: Samba
CVE-2025-62550Shared CWE-131, CWE-787
CVE-2026-54692Shared CWE-131, CWE-787
CVE-2023-24819Shared CWE-131, CWE-787
CVE-2024-23622Shared CWE-131, CWE-787
CVE-2026-47773Shared CWE-131, CWE-787
CVE-2026-65705Shared CWE-131, CWE-787
CVE-2026-53143Shared CWE-131, CWE-787
CVE-2026-65706Shared CWE-131, CWE-787

Affected Assets

samba
rsync
3.2.3 — 3.5.0

Mitigating Controls

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Developer security testing and code review can discover incorrect buffer-size computations before deployment.

Requiring documented secure-development standards and tools can mandate bounds-checked coding practices that avoid the weakness.

Secure engineering principles directly require correct buffer-size arithmetic and bounds-checked allocation.

Input validation can enforce that supplied lengths or counts used in size calculations are within safe bounds.

Memory-protection mechanisms limit the exploitability of an overflow that results from an incorrect size calculation.

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.PS-06 mostly match
blocks

Secure SDLC practices directly prevent buffer-size miscalculations via coding standards, reviews, and testing, while fixing this single weakness only partially fulfills the broader control.

ID.RA-01 partial match
blocks

Vulnerability scanning and recording can discover out-of-bounds write flaws so they can be remediated.

PR.PS-02 partial match
blocks

Patching or replacing vulnerable software directly eliminates known instances of this coding weakness.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing in development and acceptance can detect and prevent out-of-bounds write defects.

prevents

Training technical teams on secure coding practices (including buffer handling and integer overflow awareness) reduces but does not eliminate incorrect buffer size calculations; the defect is a specific arithmetic/implementation error that even trained developers commit, and the strongest control is testing (A.8.29), not training.

prevents

Secure coding standards directly require correct buffer-size calculations.

prevents

A.8.30 carries its effect through the secure-development practices its contract requires of the supplier (8.25 to 8.29), so it reduces ordinary software implementation defects in delivered code the way those practices do; CWE-131 is a regular software weakness introduced at implementation, the same class as CWE-134 which the owner graded `partial` for the same reason.

blocks

A.8.7 detects and repairs malware, but an out-of-bounds write is a code defect that malware may exploit, not the malware itself; the control does not stop the underlying memory corruption from being triggered.

finds

A.8.8's reach is DISCLOSURE — it sees only instances that carry a vendor-published flaw, and CWE-131 commonly surfaces as CVEs in third-party components (font libraries, JavaScript engines, kernels), so the disclosed share is non-trivial; but the bulk of buffer-size calculation errors live in first-party custom code that never receives a CVE, and A.8.8's reach does not extend to source-reading tests on the organisation's own code (that is A.8.29's territory), leaving a nameable majority of instances outside its view.

References