CVE-2026-93996
Apache MINA SSHD: Memory exhaustion DoS via unbounded SCP command line read
Description
Uncontrolled resource consumption in component ssd-scp in Apache MINA SSHD versions up to 2.19.0 or 3.0.0-M1 to 3.0.0-M5. Apache MINA SSHD is a Java library for client-side and server-side SSH.
Component sshd-scp of Apache MINA SSHD provides a Java implementation of SCP. The SCP command protocol is line-oriented with LF-terminated lines. The protocol handler in sshd-scp did not impose any limit on the length of such protocol lines. A malicious peer just sending a junk command containing a never-ending sequence of characters but never a LF would cause the receiver to allocate memory to store this whole junk command, exhausting memory and crashing the application with an OutOfMemoryError.
Users are recommended to upgrade to version 2.20.0 or 3.0.0-M6, which fix this issue by enforcing an upper limit on the length of SCP protocol lines.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.sshd » sshd-scppreliminary | < 2.20.0>= 3.0.0-M1, < 3.0.0-M6 | 2.20.0, 3.0.0-M6 |
Blast radius
56% of the dependent artifacts (105) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 2,423 |
| 2 hops | 2,005 |
| 3 hops | 127 |
| 4 hops | 12 |
| 5 hops | 6 |
Most used dependents
- org.wso2.carbon.automation » org.wso2.carbon.automation.extensions159 usages
- org.wso2.carbon.automationutils » org.wso2.carbon.integration.common.extensions144 usages
- org.wso2.carbon.automationutils » org.wso2.carbon.integration.common.tests124 usages
- org.wso2.ei » automation-extensions64 usages
- org.wso2.ei » integration-test-utils53 usages
- org.mule.tests » mule-tests-infrastructure39 usages
- org.jenkins-ci.plugins » ssh-slaves39 usages
- org.ikasan » ikasan-test28 usages
- org.apache.karaf.shell » org.apache.karaf.shell.ssh17 usages
- net.rossonet » ar4k-core17 usages
- org.apache.dolphinscheduler » dolphinscheduler-datasource-all15 usages
- org.apache.sshd » apache-sshd14 usages
- org.wildfly.camel » wildfly-camel-itests-common13 usages
- io.github.totalschema » totalschema-core11 usages
- org.ikasan » ikasan-eip-test8 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
