Skip to main content

CVE-2026-94029: CWE-770 Allocation of resources without limits or throttling in Apache Software Foundation Apache MINA SSHD

0
Medium
VulnerabilityCVE-2026-94029cvecve-2026-94029cwe-770
Published: 09/30/2026 (09/30/2026, 09:35:51 UTC)
Source: CVE Database V5
Vendor/Project: Apache Software Foundation
Product: 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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected software

Apache Software Foundation

Apache MINA SSHD

Affected versions
>=1.0.0 <2.20.0>=3.0.0-M1 <3.0.0-M6
Apache Software Foundation/org.apache.sshd:sshd-sftp
pkg:maven/Apache Software Foundation/org.apache.sshd:sshd-sftp
Affected versions
>=1.0.0 <2.20.0>=3.0.0-M1 <3.0.0-M6

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/30/2026, 09:58:09 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses