CVE-2026-94002: Apache MINA SSHD: Memory exhaustion in SFTP client via unsolicited SFTP replies
CVE-2026-94002 key facts
- CISA KEV
- Not listed (catalogue checked )
- Highest advisory rating
- High
- CVSS base score
- 7.5 (Apache), 7.5 (Red Hat)
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H· base score 7.5, scored by apacheAttack vector: network. Attack complexity: low. Privileges required: none. User interaction: none. Scope: unchanged. Confidentiality impact: none. Integrity impact: none. Availability impact: high.- Weakness
- CWE-770 Allocation of resources without limits or throttling
- EPSS
- 0.36% chance of exploitation in the next 30 days (30th percentile). FIRST EPSS, .
- CISA SSVC
- Exploitation: none observed. Automatable: yes. Technical impact: partial. CISA, .
- Fixed releases
- Apache: 2.20.0, 3.0.0-M6
- Red Hat: 2.20.0, 3.0.0
- Assigned by
- apache (CNA)
- CVE record published
- Listed by VulniPulse
- Record changed
Ratings, versions and fixes are quoted from the vendor advisories that cover only CVE-2026-94002; each belongs to its advisory, not to every product listed. How records are collected and checked.
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.
Text from the CVE.org record (apache).
How do I fix CVE-2026-94002?
Upgrade to a fixed release named by the vendor:
- Apache: 2.20.0, 3.0.0-M6
- Red Hat: 2.20.0, 3.0.0
- Users are recommended to upgrade to version 2.20.0 or 3.0.0-M6, which fix this issue. (Apache)
- There is no mitigation available for this issue. Apply updates as they become available from Red Hat product teams. As a temporary workaround, only connect to trusted SFTP servers, implement monitoring to detect abnormal memory consumption in SFTP client processes, and configure resource limits (ulimit, cgroups) to prevent a single process from exhausting all available memory. (Red Hat)
Vendor advisories for CVE-2026-94002
Apache
1 advisory- Advisory severityHigh7.5
High [CVE-2026-94002] 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
CVE-2026-94002Source published Source 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. 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 products in this advisory
- Apache MINA SSHD
- Source-reported affected versions
- Apache MINA SSHD 0.9.0 before 2.20.0
- Apache MINA SSHD 3.0.0-M1 before 3.0.0-M6
- Source-reported fixed versions
- 2.20.0
- 3.0.0-M6
- Mitigation guidance
- Users are recommended to upgrade to version 2.20.0 or 3.0.0-M6, which fix this issue.
Red Hat
1 advisory- Advisory severityHigh7.5
High [CVE-2026-94002] Denial of Service via unsolicited SFTP replies
CVE-2026-94002Source published Source 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. This vulnerability allows a malicious server to cause a Denial of Service (DoS) on the client by exhausting system memory. The SFTP (SSH…
- Affected products in this advisory
- Red Hat build of Apache Camel 4 for Quarkus 3
- Red Hat build of Apache Camel for Spring Boot 4
- Red Hat build of Apicurio Registry 3
- Source-reported affected versions
- Affected-version details not available in this record.
- Source-reported fixed versions
- 2.20.0
- 3.0.0
- Mitigation guidance
- There is no mitigation available for this issue. Apply updates as they become available from Red Hat product teams. As a temporary workaround, only connect to trusted SFTP servers, implement monitoring to detect abnormal memory consumption in SFTP client processes, and configure resource limits (ulimit, cgroups) to prevent a single process from exhausting all available memory.
References
Timeline
- CVE record published
- First vendor advisory listed by VulniPulse
- CVE record last updated
More Apache advisories
CVE-2026-77185Sep 30, 2026Authentication bypass in sshd-core in Apache MINA SSHD versions 2.0.0 to 2.19.0CVE-2026-93994Sep 30, 2026Apache MINA SSHD is a Java library for client-side and server-side SSHCVE-2026-94053Sep 30, 2026Authentication bypass via LDAP injection in component sshd-ldap in Apache MINA SSHDCVE-2026-94052Sep 30, 2026missing check in LdapPasswordAuthenticator in component sshd-ldap in Apache MINA SSHDCVE-2026-56624Jul 20, 2026Improper certificate validation in Apache MINA SSHD (server-side)CVE-2026-56452Jul 20, 2026Path traversal in the sshd-scp component of Apache MINA SSHD
Get an email when Apache publishes the next one.
See Apache's last 90 days first. Live alerts for one product are free for life; every vendor is US$15 a month after a free month.