CVE-2026-94029: CWE-770 Allocation of resources without limits or throttling in Apache Software Foundation Apache MINA SSHD
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.
AI Analysis
Technical Summary
Apache MINA SSHD versions >=1.0.0 <2.20.0 and >=3.0.0-M1 <3.0.0-M6 contain a vulnerability (CWE-770) in the sshd-sftp component related to resource allocation without limits or throttling. Specifically, when a very small block size (e.g., 256 bytes) is used on a large file, the server generates many hashes proportional to file size divided by block size. The resulting SFTP reply message is accumulated fully in server memory, which can lead to memory exhaustion and server downtime. The vulnerability is addressed in versions 2.20.0 and 3.0.0-M6 by enforcing a maximum limit on reply size, aligning with typical SFTP message size limits (e.g., 256kB).
Potential Impact
The vulnerability can cause server-side memory exhaustion leading to denial of service (DoS) conditions. It does not affect confidentiality or integrity but impacts availability by potentially taking down the server when processing specially crafted SFTP requests with small block sizes on large files.
Mitigation Recommendations
Users should upgrade Apache MINA SSHD to version 2.20.0 or later, or to 3.0.0-M6 or later, where the issue is fixed by imposing a maximum limit on the size of the SFTP reply message. This fix prevents excessive memory consumption during SFTP operations. No additional mitigation is required if these versions are in use.
CVE-2026-94029: CWE-770 Allocation of resources without limits or throttling in Apache Software Foundation Apache MINA SSHD
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.
CVSS v3.1
Score 6.5medium
Affected software
Apache Software Foundation
Apache MINA SSHD
pkg:maven/Apache Software Foundation/org.apache.sshd:sshd-sftpRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Apache MINA SSHD versions >=1.0.0 <2.20.0 and >=3.0.0-M1 <3.0.0-M6 contain a vulnerability (CWE-770) in the sshd-sftp component related to resource allocation without limits or throttling. Specifically, when a very small block size (e.g., 256 bytes) is used on a large file, the server generates many hashes proportional to file size divided by block size. The resulting SFTP reply message is accumulated fully in server memory, which can lead to memory exhaustion and server downtime. The vulnerability is addressed in versions 2.20.0 and 3.0.0-M6 by enforcing a maximum limit on reply size, aligning with typical SFTP message size limits (e.g., 256kB).
Potential Impact
The vulnerability can cause server-side memory exhaustion leading to denial of service (DoS) conditions. It does not affect confidentiality or integrity but impacts availability by potentially taking down the server when processing specially crafted SFTP requests with small block sizes on large files.
Mitigation Recommendations
Users should upgrade Apache MINA SSHD to version 2.20.0 or later, or to 3.0.0-M6 or later, where the issue is fixed by imposing a maximum limit on the size of the SFTP reply message. This fix prevents excessive memory consumption during SFTP operations. No additional mitigation is required if these versions are in use.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- apache
- Date Reserved
- 2026-09-19T17:17:00.525Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6abcdbaa0df196e1a9d76176
Added to database: 09/30/2026, 09:51:38 UTC
Last enriched: 09/30/2026, 09:58:09 UTC
Last updated: 09/30/2026, 13:03:41 UTC
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.