Original description
OpenSSH server (sshd) 9.1 introduced a double-free vulnerability during options.kex_algorithms handling. This is fixed in OpenSSH 9.2. The double free can be leveraged, by an unauthenticated remote attacker in the default configuration, to jump to any location in the sshd address space. One third-party report states "remote code execution is theoretically possible."
Affected software
- OpenSSH = 9.1 exact match
Details
- Published
- 2023-02-03
- Last modified
- 2026-10-14
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H- CWE
- CWE-415
- EPSS (30-day exploit probability)
- 89.79% (percentile 100)
References
- cve.org/CVE-2023-25136
- nvd.nist.gov/vuln/detail/CVE-2023-25136
- www.openwall.com/lists/oss-security/2023/02/13/1
- www.openwall.com/lists/oss-security/2023/02/22/1
- www.openwall.com/lists/oss-security/2023/02/22/2
- www.openwall.com/lists/oss-security/2023/02/23/3
- www.openwall.com/lists/oss-security/2023/03/06/1
- www.openwall.com/lists/oss-security/2023/03/09/2
- bugzilla.mindrot.org/show_bug.cgi?id=3522
- ftp.openbsd.org/pub/OpenBSD/patches/7.2/common/017_sshd.patch.sig
- github.com/openssh/openssh-portable/commit/486c4dc3b83b4b67d663fb0fa62bc24138ec3946
- jfrog.com/blog/openssh-pre-auth-double-free-cve-2023-25136-writeup-and-proof-of-concept/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/J...
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/R...
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.