Skip to main content

openrsync CVE-2025-67901

MEDIUM
Improper Validation of Specified Quantity in Input (CWE-1284)
2025-12-15 cve@mitre.org
5.3
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Connect to openrsync server as client
  2. Exploit
    Send block data with zero length
  3. Execution
    Trigger unchecked p->rem/p->len relationship
  4. Impact
    Crash server process via SIGSEGV

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V2 - Validation and Business Logic Input size validation
Exploitation Conditions

Requires a connected rsync client session to a vulnerable openrsync server (through 0.5.0, including OpenBSD through 7.8) and reaching the block-data exchange phase, where the client specifies a block length of zero. The CVSS PR:L indicates the attacker must be an accepted/authenticated client rather than a fully anonymous actor, which limits exposure to environments where untrusted parties can establish rsync sessions; servers not exposed to untrusted clients are not practically at risk. No user interaction is needed (UI:N), and the only outcome is a server process crash (DoS) - not data compromise. Non-vulnerable versions (>0.5.0) and systems using a different rsync implementation are unaffected.

Impact

This is a server-side denial-of-service (SIGSEGV crash) vulnerability, not a code-execution or data-exposure issue - the supplied CVSS vector (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H, base 5.3 MEDIUM) explicitly sets C:N/I:N with only A:H, confirming impact is limited to availability. Multiple signals point to LOW real-world priority: EPSS is 0.28% (19th percentile), the CVE is NOT in CISA KEV, and no public exploit code is referenced (the two references are a GitHub issue and a source-line pointer, not a PoC). Exploitation status: no public exploit identified at time of analysis. CONFLICT TO NOTE: the input Tag 'Information Disclosure' directly contradicts the CVSS vector, which shows no confidentiality impact (C:N) and only availability impact (A:H) - this is a crash/DoS, not information disclosure, so treat the tag as erroneous. One further caveat: the supplied vector rates AC:H, but the description ('specifying a length of zero for block data') suggests the trigger is trivial once a client session is established, so complexity may be overstated; see assessed vector below.

Exploit ScenarioDerived

A malicious or compromised rsync client connects to an openrsync (≤0.5.0) server and, during the block-exchange phase, sends block data declaring a length of zero. Because the server never validates the relationship between p->rem and p->len, it dereferences invalid memory and crashes with SIGSEGV, terminating the session. No public exploit code is known, and impact is a service crash only - no code execution or data disclosure.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 07, 2026

Server-side denial of service in openrsync through 0.5.0, including the copy shipped in OpenBSD through 7.8 and portable builds on other platforms, allows a client that has been accepted by the rsync server to crash the server process with a SIGSEGV. The attacker triggers the fault by specifying a block length of zero during the block-data exchange phase, a state the receiver never validates against the remaining byte count; impact is limited to availability (C:N/I:N/A:H, medium severity at CVSS 3.1 base 5.3) with no code execution or data exposure. No confirmed active exploitation (not in CISA KEV) and no public exploit identified at time of analysis, and EPSS is low at 0.28% (19th percentile), so practical risk is concentrated in servers that accept rsync sessions from untrusted clients.

RemediationAI

No vendor-released patch was identified in the provided intelligence at time of analysis; the only upstream artifacts are the openrsync issue tracker entry (https://github.com/kristapsdz/openrsync/issues/34) and the vulnerable source reference, and no fixed release version is cited, so version numbers should not be assumed. Until a fix ships, the most effective control is exposure reduction: since the vulnerability requires an accepted rsync client session (PR:L, AC:L/AC:H), bind the daemon only to trusted networks, firewall TCP port 873 (and any non-standard rsync port), and restrict which client hosts and credentials are permitted to reach the block-data exchange phase; the trade-off is that legitimate remote synchronization from outside the allowlist must move to another channel. Where feasible, replace the openrsync server with a different, unaffected implementation (for example GNU/Samba rsync) for the same data sets, noting that behavior and flag compatibility may differ slightly. Running the daemon under a supervisor with automatic restart and connection rate limiting keeps the service available after a crash but does not prevent the DoS condition and can mask repeated attack attempts, so it should be combined with alerting on SIGSEGV events and rsync child-process failures so that repeated zero-length block submissions are detected and the offending client is blocked at the network layer; none of these compensating controls fix the missing p->rem/p->len validation, and they should be replaced by the vendor patch as soon as one is published.

Affected ProductsAI

openrsync versions through 0.5.0 are affected, which covers the openrsync implementation as shipped in OpenBSD through release 7.8 as well as portable openrsync packages built for other platforms; the upstream tracking issue is kristapsdz/openrsync issue 34 (https://github.com/kristapsdz/openrsync/issues/34) and the vulnerable logic can be seen in the OpenBSD source tree at usr.bin/rsync/blocks.c lines 480-481 (commit 60b9c3dff1abf933e85e3c4d96b54201ee947513, https://github.com/openbsd/src/blob/60b9c3dff1abf933e85e3c4d96b54201ee947513/usr.bin/rsync/blocks.c#L480-L481). No CPE strings were supplied with the intelligence, so exact product/version enumeration beyond "openrsync <= 0.5.0" and "OpenBSD <= 7.8" cannot be independently confirmed. Systems running a different rsync implementation (for example GNU/Samba rsync) or openrsync versions later than 0.5.0 are not covered by this advisory and are considered unaffected based on the available data.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

openrsync is a clean-room, BSD-licensed reimplementation of the rsync file-synchronization protocol, maintained by Kristaps Dzonsons and bundled with OpenBSD (through 7.8) as a replacement for the GPL rsync. The bug lives in the server-side block-data parsing path: the wire protocol transmits file data as blocks preceded by length fields, and the parser tracks the number of bytes left in the current input buffer (p->rem) alongside the length requested for the next block (p->len). The code at usr.bin/rsync/blocks.c lines 480-481, as referenced in the OpenBSD source tree, does not verify the relationship between those two values, so a client that advertises a block length of zero drives the parser into an inconsistent state that ends in a segmentation fault. This maps to CWE-1284 (Improper Validation of Specified Quantity in Input), the class of defects where an externally supplied size or count is consumed without bounds or consistency checks. Note that the supplied metadata tags this entry as "Information Disclosure," which is inconsistent with both the published vector and our independent assessment: the CVSS:3.1 vector sets C:N/I:N with A:H, confirming that only the availability of the server process is affected, and the attack requires an already established connection and reaching the block-data phase. The published vector uses AC:H and our independent assessment uses AC:L, but both agree on the availability-only impact profile and on PR:L, meaning the attacker must be an accepted rsync client rather than an anonymous network actor.

Know when Openbsd gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (mitre) PRIMARY 5.3 MEDIUM
AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 6.5 MEDIUM

Remotely reachable by a connected client (AV:N, PR:L); specifying a zero length is trivial so AC:L (lower than the input's AC:H); crash-only yields C:N/I:N/A:H.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

DescriptionCVE.org

openrsync through 0.5.0, as used in OpenBSD through 7.8 and on other platforms, allows a client to cause a server SIGSEGV by specifying a length of zero for block data, because the relationship between p->rem and p->len is not checked.

Threat Intelligence Overview

EPSS Score
0.3%
Top 81% exploitable
Prevalence
Low
OpenBSD-native rsync implementation; server-side openrsync deployment is uncommon
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

CVE-2023-38408 CRITICAL POC
9.8 Jul 20

The PKCS#11 feature in ssh-agent in OpenSSH before 9.3p2 has an insufficiently trustworthy search path, leading to remot

CVE-2023-25136 MEDIUM POC
6.5 Feb 03

OpenSSH server (sshd) 9.1 introduced a double-free vulnerability during options.kex_algorithms handling. Rated medium se

CVE-2016-6210 MEDIUM POC
5.9 Feb 13

sshd in OpenSSH before 7.3, when SHA256 or SHA512 are used for user password hashing, uses BLOWFISH hashing on a static

CVE-2015-5600 HIGH POC
8.1 Aug 03

The kbdint_next_device function in auth2-chall.c in sshd in OpenSSH through 6.9 does not properly restrict the processin

CVE-2016-6515 HIGH POC
7.5 Aug 07

The auth_password function in auth-passwd.c in sshd in OpenSSH before 7.3 does not limit password lengths for password a

CVE-2026-123158 HIGH POC
8.1 Nov 05

Password authentication bypass in OpenSSH sshd before 10.6p2 built against musl libc without PAM lets a remote, unauthen

CVE-2024-6387 HIGH POC
8.1 Jul 01

Remote code execution in OpenSSH's sshd server (regression of CVE-2006-5051) allows unauthenticated remote attackers to

CVE-2019-6111 MEDIUM POC
5.9 Jan 31

An issue was discovered in OpenSSH 7.9. Rated medium severity (CVSS 5.9), this vulnerability is remotely exploitable, no

CVE-2017-5850 HIGH POC
7.5 Mar 27

httpd in OpenBSD allows remote attackers to cause a denial of service (memory consumption) via a series of requests for

CVE-2025-26465 MEDIUM
6.8 Feb 18

A vulnerability was found in OpenSSH when the VerifyHostKeyDNS option is enabled. Rated medium severity (CVSS 6.8), this

CVE-2023-48795 MEDIUM POC
5.9 Dec 18

The SSH transport protocol with certain OpenSSH extensions, found in OpenSSH before 9.6 and other products, allows remot

CVE-2016-0777 MEDIUM
6.5 Jan 14

The resend_bytes function in roaming_common.c in the client in OpenSSH 5.x, 6.x, and 7.x before 7.1p2 allows remote serv

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy