# CVE-2021-30129: DoS/OOM leak vulnerability in Apache Mina SSHD Server

- Severity: Medium 6.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 3.05%, higher than 87% of CVEs (2026-12-01)
- Published: 2021-07-12T12:10:10.000Z
- Modified: 2026-06-17T03:49:43.190Z
- Also known as: GHSA-9279-7hph-r3xw
- Weaknesses: CWE-772
- Assigned by: apache

## Description

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

(As written by CVE List.)

## Affected

- Apache Software Foundation Apache Mina SSHD: from 2.0.0 before Apache Mina SSHD*
- org.apache.sshd:sshd-mina (Maven): from 2.0.0 before 2.7.0
- org.apache.sshd:sshd-core (Maven): from 2.0.0 before 2.7.0
- apache sshd: from 2.0.0 before 2.7.0
- oracle banking_payments: 14.5
- oracle banking_trade_finance: 14.5
- oracle banking_treasury_management: 14.5
- oracle communications_cloud_native_core_console: 1.9.0
- oracle flexcube_universal_banking: from 14.0.0 up to 14.3.0; 14.5
- oracle middleware_common_libraries_and_tools: 12.2.1.3.0; 12.2.1.4.0; 14.1.1.0.0
- oracle oss_support_tools: 2.12.42
- oracle retail_customer_management_and_segmentation_foundation: 18.0; 19.0

## Every score

- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 4.0 Medium `AV:N/AC:L/Au:S/C:N/I:N/A:P`

## References

- <https://lists.apache.org/thread.html/r6d4f78e192a0c8eabd671a018da464024642980ecd24096bde6db36f%40%3Cusers.mina.apache.org%3E> (mailing-list, vendor-advisory, web)
- <https://lists.apache.org/thread.html/red01829efa2a8c893c4baff4f23c9312bd938543a9b8658e172b853b%40%3Cannounce.apache.org%3E> (mailing-list)
- <http://www.openwall.com/lists/oss-security/2021/07/12/1> (mailing-list, third-party-advisory, web)
- <https://www.oracle.com/security-alerts/cpuapr2022.html> (patch, third-party-advisory, web)
- <https://www.oracle.com/security-alerts/cpujul2022.html> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-30129> (advisory)
- <https://issues.apache.org/jira/browse/SSHD-1125> (web)
- <https://lists.apache.org/thread.html/r6d4f78e192a0c8eabd671a018da464024642980ecd24096bde6db36f@%3Cusers.mina.apache.org%3E> (web)
- <https://lists.apache.org/thread.html/red01829efa2a8c893c4baff4f23c9312bd938543a9b8658e172b853b@%3Cannounce.apache.org%3E> (web)

## Sources

- CVE List: [CVE-2021-30129](https://www.cve.org/CVERecord?id=CVE-2021-30129), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-9279-7hph-r3xw](https://github.com/advisories/GHSA-9279-7hph-r3xw), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2021-30129](https://nvd.nist.gov/vuln/detail/CVE-2021-30129), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-30129 · Whole record: https://cve.day/CVE-2021-30129.json · Rebuilt by cve.day 2026-11-25T22:58:02.508Z
