CVE-2026-93996 Apache MINA SSHD: Memory exhaustion DoS via unbounded SCP command line read
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuDebianRed Hat
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.
Upgrade path
10 packages: 2 fixed, 8 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| azure linux apache-sshd(Azure Linux 4.0) | All versions | No fix listed | No fix yet |
| debian/libmina-sshd-java(Debian 13) | = 2.13.2-2; = 2.13.2-3; = 2.19.0-1; = 2.20.1-1 +1 more | No fix listed | No fix yet |
| ubuntu/mina(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/mina(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/mina2(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/mina2(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/mina2(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/mina2(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| debian/libmina-sshd-java(Debian 14) | < 2.20.1-1; = 2.13.2-2; = 2.13.2-3; = 2.19.0-1 | 2.20.1-1 | Fixed |
| org.apache.sshd/sshd-scp(Maven) | < 2.20.0; >= 3.0.0-M1, < 3.0.0-M6 | 2.20.0, 3.0.0-M6 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| redhat/sshd-scp(Red Hat:jboss_fuse:7) | All versions | No fix listed |
| org.apache.sshd/sshd-scp(Maven) | < 2.20.0 | 2.20.0 |
| org.apache.sshd/sshd-scp(Maven) | >= 3.0.0-M1, < 3.0.0-M6 | 3.0.0-M6 |
| debian/libmina-sshd-java(Debian:13) | All versions | No fix listed |
| debian/libmina-sshd-java(Debian:13) | = 2.13.2-2 | No fix listed |
| debian/libmina-sshd-java(Debian:13) | = 2.13.2-3 | No fix listed |
| debian/libmina-sshd-java(Debian:13) | = 2.19.0-1 | No fix listed |
| debian/libmina-sshd-java(Debian:13) | = 2.20.1-1 | No fix listed |
| debian/libmina-sshd-java(Debian:14) | < 2.20.1-1 | 2.20.1-1 |
| debian/libmina-sshd-java(Debian:14) | = 2.13.2-2 | No fix listed |
| debian/libmina-sshd-java(Debian:14) | = 2.13.2-3 | No fix listed |
| debian/libmina-sshd-java(Debian:14) | = 2.19.0-1 | No fix listed |
| ubuntu/mina(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/mina2(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/mina(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/mina2(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/mina2(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/mina2(Ubuntu:26.10) | All versions | No fix listed |
| azure linux apache-sshd(Azure Linux:4.0) | All versions | No fix listed |
References
- Red Hat CVE page vendor-advisory
- Red Hat Bugzilla 2543856 issue-tracking
- www.cve.org
- nvd.nist.gov
- lists.apache.org vendor-advisory
- www.openwall.com
- Debian Security Tracker CVE-2026-93996 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- bugs.debian.org issue-tracking
- MSRC Security Update Guide vendor-advisory
- Release Notes vendor-advisory
- ENISA EUVD EUVD-2026-89754 third-party-advisory