CVE-2026-93996: CWE-770 Allocation of resources without limits or throttling in Apache Software Foundation Apache MINA SSHD
CVE-2026-93996 is a resource exhaustion vulnerability in the sshd-scp component of Apache MINA SSHD, a Java library for SSH. The SCP protocol handler did not limit the length of protocol lines, allowing a malicious peer to send an endlessly long line without line feed characters. This causes uncontrolled memory allocation, potentially leading to an OutOfMemoryError and application crash. Versions prior to 2.20.0 and between 3.0.0-M1 and 3.0.0-M5 are affected. The issue is fixed in versions 2.20.0 and 3.0.0-M6 by enforcing an upper limit on SCP protocol line length.
AI Analysis
Technical Summary
Apache MINA SSHD's sshd-scp component implements the SCP protocol, which is line-oriented with LF-terminated lines. The vulnerability arises because the protocol handler did not impose any limit on the length of these lines. A malicious peer can exploit this by sending a continuous stream of characters without a line feed, causing the receiver to allocate memory indefinitely to store the input. This uncontrolled resource consumption leads to memory exhaustion and crashes the application with an OutOfMemoryError. The flaw affects versions up to 2.19.0 and 3.0.0-M1 through 3.0.0-M5. The fix, introduced in versions 2.20.0 and 3.0.0-M6, enforces an upper limit on the length of SCP protocol lines to prevent this condition.
Potential Impact
The vulnerability results in denial of service via application crash due to memory exhaustion (OutOfMemoryError). There is no impact on confidentiality or integrity. The attack requires at least low privileges (PR:L) and network access. The CVSS score is 6.5 (medium severity) reflecting the availability impact.
Mitigation Recommendations
Users should upgrade Apache MINA SSHD to version 2.20.0 or later, or 3.0.0-M6 or later, where the vulnerability is fixed by enforcing an upper limit on SCP protocol line length. No other mitigation is indicated or required.
CVE-2026-93996: CWE-770 Allocation of resources without limits or throttling in Apache Software Foundation Apache MINA SSHD
Description
CVE-2026-93996 is a resource exhaustion vulnerability in the sshd-scp component of Apache MINA SSHD, a Java library for SSH. The SCP protocol handler did not limit the length of protocol lines, allowing a malicious peer to send an endlessly long line without line feed characters. This causes uncontrolled memory allocation, potentially leading to an OutOfMemoryError and application crash. Versions prior to 2.20.0 and between 3.0.0-M1 and 3.0.0-M5 are affected. The issue is fixed in versions 2.20.0 and 3.0.0-M6 by enforcing an upper limit on SCP protocol line length.
CVSS v3.1
Score 6.5medium
Affected software
Apache Software Foundation
Apache MINA SSHD
pkg:maven/Apache Software Foundation/org.apache.sshd:sshd-scpRun 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's sshd-scp component implements the SCP protocol, which is line-oriented with LF-terminated lines. The vulnerability arises because the protocol handler did not impose any limit on the length of these lines. A malicious peer can exploit this by sending a continuous stream of characters without a line feed, causing the receiver to allocate memory indefinitely to store the input. This uncontrolled resource consumption leads to memory exhaustion and crashes the application with an OutOfMemoryError. The flaw affects versions up to 2.19.0 and 3.0.0-M1 through 3.0.0-M5. The fix, introduced in versions 2.20.0 and 3.0.0-M6, enforces an upper limit on the length of SCP protocol lines to prevent this condition.
Potential Impact
The vulnerability results in denial of service via application crash due to memory exhaustion (OutOfMemoryError). There is no impact on confidentiality or integrity. The attack requires at least low privileges (PR:L) and network access. The CVSS score is 6.5 (medium severity) reflecting the availability impact.
Mitigation Recommendations
Users should upgrade Apache MINA SSHD to version 2.20.0 or later, or 3.0.0-M6 or later, where the vulnerability is fixed by enforcing an upper limit on SCP protocol line length. No other mitigation is indicated or required.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- apache
- Date Reserved
- 2026-09-19T13:17:40.308Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6abce0dc0df196e1a9de7075
Added to database: 09/30/2026, 10:13:48 UTC
Last enriched: 09/30/2026, 10:27:31 UTC
Last updated: 09/30/2026, 10:44:22 UTC
Views: 4
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.
External Links
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.