CVE-2026-94002: Apache MINA SSHD: Memory exhaustion in SFTP client via unsolicited SFTP replies

Published Sep 29, 2026
·
Updated

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.

Affected Software

1 affected component
Apache MINA SSHD>=0.9.0<=2.19.0, >=3.0.0-M1<=3.0.0-M5

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Apache MINA SSHD sshd-sftp to a version that resolves this vulnerability.

    Fixed in 2.20.0
  2. Upgrade

    Upgrade Apache MINA SSHD sshd-sftp to a version that resolves this vulnerability.

    Fixed in 3.0.0-M6

Event History

Sep 30, 2026
CVE Published
via MITRE·09:37 AM
Data Sourced
via MITRE·09:37 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:17 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed to this issue?

Applications using the sshd-sftp component's DefaultSftpClient in Apache MINA SSHD versions 0.9.0 through 2.19.0, or 3.0.0-M1 through 3.0.0-M5, are affected. The exposure is on the client side when it connects to a malicious SFTP server.

2

What does an attacker need to do to exhaust client memory?

An attacker needs to operate or control an SFTP server that the affected client connects to. The server can send unsolicited SFTP replies that do not correspond to earlier client requests, causing them to be retained without being consumed.

3

Is authentication or user interaction required for exploitation?

No. The supplied vector indicates network exploitation with low attack complexity and no privileges or user interaction required; the relevant condition is that the affected client communicates with a malicious server.

4

What should be done to remediate the issue?

Upgrade Apache MINA SSHD to version 2.20.0 or 3.0.0-M6. These versions fix the handling of unsolicited SFTP replies.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203