CVE-2026-94029: Apache MINA SSHD: Memory exhaustion in SFTP v6 check-file-name/check-file-handle extension
CVE-2026-94029 key facts
- CISA KEV
- Not listed (catalogue checked )
- Highest advisory rating
- Medium
- CVSS base score
- 6.5 (Apache), 6.5 (Red Hat)
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H· base score 6.5, scored by apacheAttack vector: network. Attack complexity: low. Privileges required: low. 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.32% chance of exploitation in the next 30 days (25th percentile). FIRST EPSS, .
- CISA SSVC
- Exploitation: none observed. Automatable: no. 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-94029; each belongs to its advisory, not to every product listed. How records are collected and checked.
Description
Server-side memory exhaustion in Apache MINA SSHD 1.0.0 to 2.19.0 and 3.0.0-M1 to 3.0.0-M5, component sshd-sftp, in the SFTP v6 check-file-name/check-file-handle extension. Apache MINA SSHD is a Java library for client-side and server-side SSH. Using a very small "block size" (for instance 256, which is the minimum) on a huge file generates many (file size / block size) hashes. The resulting SFTP reply message was accumulated fully in memory server-side, which could, with a suitably large (possibly sparse) file exhaust the server-side memory, taking down the server. Users are recommended to upgrade to version 2.20.0 or 3.0.0-M6, which fix this issue by imposing a maximum limit on the size of the reply. Many SFTP implementations have a general limit on the size of SFTP messages anyway; typically 256kB as in OpenSSH or also in Apache MINA SSHD.
Text from the CVE.org record (apache).
How do I fix CVE-2026-94029?
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 by imposing a maximum limit on the size of the reply. (Apache)
- Many SFTP implementations have a general limit on the size of SFTP messages anyway; typically 256kB as in OpenSSH or also in Apache MINA SSHD. (Apache)
- There is no mitigation available for this issue. Apply updates as they become available from Red Hat product teams. As a temporary workaround, consider implementing resource limits at the OS level (ulimit, cgroups) to prevent a single process from exhausting all available memory, or restrict SFTP access to trusted users only. (Red Hat)
Vendor advisories for CVE-2026-94029
Apache
1 advisory- Advisory severityMedium6.5
Medium [CVE-2026-94029] Server-side memory exhaustion in Apache MINA SSHD 1.0.0 to 2.19.0 and 3.0.0-M1 to 3.0.0-M5, component sshd-sftp, in the SFTP v6 check-file-name/check-file-handle extension
CVE-2026-94029Source published Source updated
Server-side memory exhaustion in Apache MINA SSHD 1.0.0 to 2.19.0 and 3.0.0-M1 to 3.0.0-M5, component sshd-sftp, in the SFTP v6 check-file-name/check-file-handle extension. Apache MINA SSHD is a Java library for client-side and server-side SSH. Using a very small "block size" (for instance 256, which is the minimum) on a huge file generates many (file size / block size) hashes. The resulting SFTP reply message was accumulated fully in memory server-side, which could, with a suitably large (possibly sparse) file exhaust the server-side memory, taking down the server. Users are recommended to upgrade to version 2.20.0 or 3.0.0-M6, which fix this issue by imposing a maximum limit on the size of the reply. Many SFTP implementations have a general limit on the size of SFTP messages anyway…
- Affected products in this advisory
- Apache MINA SSHD
- Source-reported affected versions
- Apache MINA SSHD 1.0.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 by imposing a maximum limit on the size of the reply.
- Many SFTP implementations have a general limit on the size of SFTP messages anyway; typically 256kB as in OpenSSH or also in Apache MINA SSHD.
- Workarounds
- Using a very small "block size" (for instance 256, which is the minimum) on a huge file generates many (file size / block size) hashes.
Red Hat
1 advisory- Advisory severityMedium6.5
Medium [CVE-2026-94029] Denial of Service via memory exhaustion in SFTP check-file extension
CVE-2026-94029Source published Source updated
Server-side memory exhaustion in Apache MINA SSHD 1.0.0 to 2.19.0 and 3.0.0-M1 to 3.0.0-M5, component sshd-sftp, in the SFTP v6 check-file-name/check-file-handle extension. Apache MINA SSHD is a Java library for client-side and server-side SSH. Using a very small "block size" (for instance 256, which is the minimum) on a huge file generates many (file size / block size) hashes. The resulting SFTP reply message was accumulated fully in memory server-side, which could, with a suitably large (possibly sparse) file exhaust the server-side memory, taking down the server. Users are recommended to upgrade to version 2.20.0 or 3.0.0-M6, which fix this issue by imposing a maximum limit on the size of the reply. Many SFTP implementations have a general limit on the size of SFTP messages anyway…
- 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
- Red Hat Fuse 7
- 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, consider implementing resource limits at the OS level (ulimit, cgroups) to prevent a single process from exhausting all available memory, or restrict SFTP access to trusted users only.
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-94002Sep 30, 2026Possible memory exhaustion in SFTP clients (DefaultSftpClient) in component sshd-sftpCVE-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)
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.