CVE-2026-94002

Apache MINA SSHD: Memory exhaustion in SFTP client via unsolicited SFTP replies

Published Sep 30, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
Possible memory exhaustion in SFTP clients (DefaultSftpClient) in component sshd-sftp in Apache MINA SSHD versions 0.9.0 to 2.19.0 and 3.0.0-M1 to 3.0.0-M5.




Apache
MINA SSHD is a Java library for client-side and server-side SSH. The sshd-sftp component provides support for SFTP.




The SFTP client implementation, when receiving a reply, did not check that this reply corresponded to a request sent earlier. Unsolicited replies would be stored but never consumed. A malicious server could keep sending unsolicited replies until available memory in the client was exhausted.




Users are recommended to upgrade to version 2.20.0 or 3.0.0-M6, which fix this issue.

Analysis

AI-generated

Technical impact

This vulnerability arises in the DefaultSftpClient implementation of Apache MINA SSHD. The client fails to match incoming SFTP replies to requests that it had previously sent. As a result, unsolicited replies are accepted and stored, filling the process memory indefinitely. An attacker who controls an SFTP server can continually send such replies, causing the client to exhaust available RAM and potentially crash or become unresponsive. This issue is a classic example of a memory exhaustion flaw (CWE‑770) that can lead to denial of service.

Affected Systems

Apache MINA SSHD, versions 0.9.0 through 2.19.0 and 3.0.0‑M1 through 3.0.0‑M5.

Risk and Exploitability

The CVSS score of 7.5 denotes a high severity risk of exploitation. While the EPSS score is not available, the lack of a KEV listing suggests no confirmed exploitation in the wild yet. Nevertheless, the flaw can be triggered by a malicious SFTP server that sends large numbers of unsolicited responses, making the attack entirely remote once the client connects to such a server. Administrators should consider any environment that uses DefaultSftpClient as high risk until updated.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Apache MINA SSHD to version 2.20.0 or later 3.0.0‑M6, which includes the fix for memory exhaustion in the SFTP client.
  • Restart any services or applications that load the updated library to ensure the new code is active.
  • Enable monitoring or alerts on the SFTP client process to detect abnormal memory consumption and respond before a denial of service occurs.

Generated by OpenCVE AI on September 30, 2026 at 11:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Apache
Apache mina Sshd
Vendors & Products Apache
Apache mina Sshd
Type Values Removed Values Added
Description Possible memory exhaustion in SFTP clients (DefaultSftpClient) in component sshd-sftp in Apache MINA SSHD versions 0.9.0 to 2.19.0 and 3.0.0-M1 to 3.0.0-M5. Apache MINA SSHD is a Java library for client-side and server-side SSH. The sshd-sftp component provides support for SFTP. The SFTP client implementation, when receiving a reply, did not check that this reply corresponded to a request sent earlier. Unsolicited replies would be stored but never consumed. A malicious server could keep sending unsolicited replies until available memory in the client was exhausted. Users are recommended to upgrade to version 2.20.0 or 3.0.0-M6, which fix this issue.
Title Apache MINA SSHD: Memory exhaustion in SFTP client via unsolicited SFTP replies
Weaknesses CWE-770
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

Weaknesses
  • CWE-770

    Allocation of Resources Without Limits or Throttling

Sources

Status
PUBLISHED
Assigner
apache
Published
Updated
Sep 30, 2026, 2:31 PM
Reserved
Sep 19, 2026, 2:20 PM
Status
Awaiting Analysis
Published
Sep 30, 2026, 10:17 AM
Modified
Sep 30, 2026, 4:13 PM
Severity
Important
Public date
Sep 30, 2026, 9:37 AM