Home / Apache Software Foundation / Apache Mina SSHD / CVE-2021-30129
CVE-2021-30129: is it exploited, and which versions of Apache Software Foundation Apache Mina SSHD are affected and fixed?
CVE-2021-30129 is a resource not released after use vulnerability in Apache Software Foundation Apache Mina SSHD. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 15:09 UTC). Affected: org.apache.sshd:sshd-mina from 2.0.0 before 2.7.0 and org.apache.sshd:sshd-core from 2.0.0 before 2.7.0 (GitHub advisory GHSA-9279-7hph-r3xw). Fixed in 2.7.0 (GitHub advisory GHSA-9279-7hph-r3xw). Severity: Medium (6.5, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:09 UTC, CVE record November 28, 2026, 20:13 UTC and NVD November 19, 2026, 07:56 UTC.
What is CVE-2021-30129?
DoS/OOM leak vulnerability in Apache Mina SSHD Server
A vulnerability in sshd-core of Apache Mina SSHD allows an attacker to overflow the server causing an OutOfMemory error. This issue affects the SFTP and port forwarding features of Apache Mina SSHD version 2.0.0 and later versions. It was addressed in Apache Mina SSHD 2.7.0
From the CVE record by apache, last updated August 3, 2024, 22:24 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Apache Software Foundation | Apache Mina SSHD | from 2.0.0 through every Apache Mina SSHD version | 2.7.0 |
As the CVE record by apache states it, last updated August 3, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Maven | org.apache.sshd:sshd-mina | >= 2.0.0, < 2.7.0 | 2.7.0 | GHSA-9279-7hph-r3xw |
| Maven | org.apache.sshd:sshd-core | >= 2.0.0, < 2.7.0 | 2.7.0 | GHSA-9279-7hph-r3xw |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated July 26, 2021. Summary: Buffer Overflow in Apache Mina SSHD.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| apache | sshd | from 2.0.0 before 2.7.0 | application |
| oracle | banking payments | 14.5 | application |
| oracle | banking trade finance | 14.5 | application |
| oracle | banking treasury management | 14.5 | application |
| oracle | communications cloud native core console | 1.9.0 | application |
| oracle | flexcube universal banking | from 14.0.0 through 14.3.0 | application |
| oracle | flexcube universal banking | 14.5 | application |
| oracle | middleware common libraries and tools | 12.2.1.3.0 | application |
| oracle | middleware common libraries and tools | 12.2.1.4.0 | application |
| oracle | middleware common libraries and tools | 14.1.1.0.0 | application |
| oracle | oss support tools | 2.12.42 | application |
| oracle | retail customer management and segmentation foundation | 18.0 | application |
| oracle | retail customer management and segmentation foundation | 19.0 | application |
NVD analysis (status Modified), last modified June 17, 2026, 03:49 UTC.
How severe is CVE-2021-30129?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | NVD |
| Medium 4.0 | CVSS 2.0 | AV:N/AC:L/Au:S/C:N/I:N/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2021-30129 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 3.05% probability of exploitation activity in the next 30 days, percentile 88.0 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-772 Missing Release of Resource after Effective Lifetime
Where are the vendor advisories and references?
- https://lists.apache.org/thread.html/r6d4f78e192a0c8eabd671a018da464024642980ecd24096bde6db36f%40%3Cusers.mina.apache.org%3E x_refsource_MISC
- [announce] 20210712 CVE-2021-30129: DoS/OOM leak vulnerability in Apache Mina SSHD Server mailing-list, x_refsource_MLIST
- [oss-security] 20210712 CVE-2021-30129: DoS/OOM leak vulnerability in Apache Mina SSHD Server mailing-list, x_refsource_MLIST
- https://www.oracle.com/security-alerts/cpuapr2022.html x_refsource_MISC
- https://www.oracle.com/security-alerts/cpujul2022.html x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- April 5, 2021
- Published
- July 12, 2021, 12:10 UTC
- CVE record updated
- August 3, 2024, 22:24 UTC by apache
- NVD
- Modified, last modified June 17, 2026, 03:49 UTC
- Last checked
- CVE list November 28, 2026, 20:13 UTC; NVD November 19, 2026, 07:56 UTC; KEV December 3, 2026, 15:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Apache Mina SSHD?
- Sep 30, 2026CVE-2026-77185 Apache Software Foundation Apache MINA SSHD: authentication Bypass by Primary Weakness
- Sep 30, 2026CVE-2026-93994 Apache Software Foundation Apache MINA SSHD: missing Critical Step in Authentication
- Sep 30, 2026CVE-2026-94053 Apache Software Foundation Apache MINA SSHD: LDAP injection
- Sep 30, 2026CVE-2026-93995 Apache Software Foundation Apache MINA SSHD: improper input validation
- Sep 30, 2026CVE-2026-93996 Apache Software Foundation Apache MINA SSHD: denial of service (resources allocated without limits)
- Sep 30, 2026CVE-2026-94002 Apache Software Foundation Apache MINA SSHD: denial of service (resources allocated without limits)
- Sep 30, 2026CVE-2026-94029 Apache Software Foundation Apache MINA SSHD: denial of service (resources allocated without limits)
- Sep 30, 2026CVE-2026-94052 Apache Software Foundation Apache MINA SSHD: missing Critical Step in Authentication
Questions about CVE-2021-30129
Is CVE-2021-30129 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:09 UTC. FIRST's EPSS gives it a 3.05% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Apache Software Foundation Apache Mina SSHD are affected by CVE-2021-30129?
org.apache.sshd:sshd-mina from 2.0.0 before 2.7.0 and org.apache.sshd:sshd-core from 2.0.0 before 2.7.0, per the GitHub advisory GHSA-9279-7hph-r3xw. The tables above give every range the sources list.
Which version fixes CVE-2021-30129?
2.7.0, per the GitHub advisory GHSA-9279-7hph-r3xw. Check the vendor's advisory before you rely on it.
How severe is CVE-2021-30129?
Medium (6.5, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2021-30129?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.