CVE-2026-93996Apache MINA SSHD: Memory exhaustion DoS via unbounded SCP command line read
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.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | mina2 | Fix pending | UBUNTU-CVE-2026-93996 | |
| Ubuntu 26.04 | mina2 | Fix pending | UBUNTU-CVE-2026-93996 | |
| Ubuntu 24.04 | mina | Under investigation | UBUNTU-CVE-2026-93996 | |
| Ubuntu 24.04 | mina2 | Fix pending | UBUNTU-CVE-2026-93996 | |
| Ubuntu 22.04 | mina | Under investigation | UBUNTU-CVE-2026-93996 | |
| Ubuntu 22.04 | mina2 | Fix pending | UBUNTU-CVE-2026-93996 | |
| Ubuntu 20.04 | mina | Fix pending | UBUNTU-CVE-2026-93996 | |
| Ubuntu 20.04 | mina2 | Fix pending | UBUNTU-CVE-2026-93996 | |
| Ubuntu 18.04 | mina | Fix pending | UBUNTU-CVE-2026-93996 | |
| Ubuntu 18.04 | mina2 | Fix pending | UBUNTU-CVE-2026-93996 | |
| Ubuntu 16.04 | mina | Fix pending | UBUNTU-CVE-2026-93996 | |
| Ubuntu 16.04 | mina2 | Fix pending | UBUNTU-CVE-2026-93996 | |
| Debian 14 | libmina-sshd-java | Fixed | 2.20.1-1 | DEBIAN-CVE-2026-93996 |
| Debian 13 | libmina-sshd-java | Fix pending | DEBIAN-CVE-2026-93996 |
What the vendor says
As published in the CVE record by apache, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Apache Software Foundation Apache MINA SSHD: affected: before 2.20.0, 3.0.0-M1 to before 3.0.0-M6; fixed in
2.20.0,3.0.0-M6
Vendor advisories:
- https://lists.apache.org/thread.html/xwk8vogkpphcpm01hrt9tb6mgnpjzp35 (vendor-advisory)
References
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.