CVE-2026-94029Apache MINA SSHD: Memory exhaustion in SFTP v6 check-file-name/check-file-handle extension
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.
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-94029 | |
| Ubuntu 26.04 | mina2 | Fix pending | UBUNTU-CVE-2026-94029 | |
| Ubuntu 24.04 | mina | Under investigation | UBUNTU-CVE-2026-94029 | |
| Ubuntu 24.04 | mina2 | Fix pending | UBUNTU-CVE-2026-94029 | |
| Ubuntu 22.04 | mina | Under investigation | UBUNTU-CVE-2026-94029 | |
| Ubuntu 22.04 | mina2 | Fix pending | UBUNTU-CVE-2026-94029 | |
| Ubuntu 20.04 | mina | Fix pending | UBUNTU-CVE-2026-94029 | |
| Ubuntu 20.04 | mina2 | Fix pending | UBUNTU-CVE-2026-94029 | |
| Ubuntu 18.04 | mina | Fix pending | UBUNTU-CVE-2026-94029 | |
| Ubuntu 18.04 | mina2 | Fix pending | UBUNTU-CVE-2026-94029 | |
| Ubuntu 16.04 | mina | Fix pending | UBUNTU-CVE-2026-94029 | |
| Ubuntu 16.04 | mina2 | Fix pending | UBUNTU-CVE-2026-94029 | |
| Debian 14 | libmina-sshd-java | Fixed | 2.20.1-1 | DEBIAN-CVE-2026-94029 |
| Debian 13 | libmina-sshd-java | Fix pending | DEBIAN-CVE-2026-94029 |
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: 1.0.0 to 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/ytbl4rwby62xl7llm3wp7k975wwdx99t (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.