# CVE-2022-45047: Apache MINA SSHD: Java unsafe deserialization vulnerability

- Severity: Critical 9.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/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): 4.73%, higher than 92% of CVEs (2026-12-01)
- Published: 2022-11-16T00:00:00.000Z
- Modified: 2026-06-17T05:09:14.953Z
- Also known as: GHSA-fhw8-8j55-vwgq
- Weaknesses: CWE-502
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: apache

## Description

Class org.apache.sshd.server.keyprovider.SimpleGeneratorHostKeyProvider in Apache MINA SSHD <= 2.9.1 uses Java deserialization to load a serialized java.security.PrivateKey. The class is one of several implementations that an implementor using Apache MINA SSHD can choose for loading the host keys of an SSH server.

(As written by CVE List.)

## Affected

- Apache Software Foundation Apache MINA SSHD: from unspecified up to 2.9.1
- org.apache.sshd:sshd-common (Maven): before 2.9.2
- org.apache.sshd:sshd-core (Maven): before 2.9.2
- apache sshd: up to 2.9.1

## Every score

- CISA-ADP: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://www.mail-archive.com/dev%40mina.apache.org/msg39312.html>
- <https://security.netapp.com/advisory/ntap-20240216-0008/>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-45047> (advisory)
- <https://github.com/apache/mina-sshd/commit/03238d51586f6b3c0bdbb1a23cf16799344d6c32> (web)
- <https://github.com/apache/mina-sshd/commit/10de190e7d3f9189deb76b8d08c72334a1fe2df0> (web)
- <https://github.com/apache/mina-sshd/commit/5a8fe830b2a2308a2b24ac8115a391af477f64f5> (web)
- <https://github.com/apache/mina-sshd> (package)
- <https://www.mail-archive.com/dev@mina.apache.org/msg39312.html> (web)

## Sources

- CVE List: [CVE-2022-45047](https://www.cve.org/CVERecord?id=CVE-2022-45047), CVE Terms of Use, modified 2026-05-01
- GitHub Advisory Database: [GHSA-fhw8-8j55-vwgq](https://github.com/advisories/GHSA-fhw8-8j55-vwgq), CC-BY-4.0, modified 2024-02-16
- NVD: [CVE-2022-45047](https://nvd.nist.gov/vuln/detail/CVE-2022-45047), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-45047 · Whole record: https://cve.day/CVE-2022-45047.json · Rebuilt by cve.day 2026-11-25T22:58:16.552Z
