CVE-2026-94002 Apache MINA SSHD: Memory exhaustion in SFTP client via unsolicited SFTP replies

High 7.5 Published Updated

A malicious SSH server can exhaust client memory by sending unsolicited SFTP replies, causing a denial of service in applications using Apache MINA SSHD.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-94002?

CVE-2026-94002 is a high-severity denial of service vulnerability in Apache MINA SSHD, published on 30 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Possible memory exhaustion in SFTP clients (DefaultSftpClient) in component sshd-sftp in Apache MINA SSHD versions 0.9.0 to 2.19.0 and 3.0.0-M1 to 3.0.0-M5.

Apache MINA SSHD is a Java library for client-side and server-side SSH. The sshd-sftp component provides support for SFTP.

The SFTP client implementation, when receiving a reply, did not check that this reply corresponded to a request sent earlier. Unsolicited replies would be stored but never consumed. A malicious server could keep sending unsolicited replies until available memory in the client was exhausted.

Users are recommended to upgrade to version 2.20.0 or 3.0.0-M6, which fix this issue.

Weakness: CWE-770

Which versions are affected by CVE-2026-94002?

How do I fix CVE-2026-94002?

Upgrade to a fixed version.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2026-94002 being exploited?

There is no known exploitation of CVE-2026-94002 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2026-94002, GHSA-mf93-r5x4-wxqr, UBUNTU-CVE-2026-94002.

Is CVE-2026-94002 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free