CVE-2023-25136
Medium 6.5 CVSS 3.1
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."
Description as published by the source, in English.
Key facts
- Published
- 2023-02-03
- Last modified
- 2026-10-14
- Assigned by
- cve@mitre.org
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H- Scored by
- nvd@nist.gov (NVD Primary)
- Probability of exploitation
-
89.7 %
among the highest of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Yes, see references
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Fedoraproject | Fedora | 37 | Affected |
| Fedoraproject | Fedora | 38 | Affected |
| Netapp | 500f | all versions listed | Not affected |
| Netapp | 500f Firmware | all versions listed | Affected |
| Netapp | A250 | all versions listed | Not affected |
| Netapp | A250 Firmware | all versions listed | Affected |
| Netapp | C250 | all versions listed | Not affected |
| Netapp | C250 Firmware | all versions listed | Affected |
| Netapp | Ontap Select Deploy Administration Utility | all versions listed | Affected |
| Openbsd | Openssh | 9.1 | Affected |
Weakness type
-
CWE-415: Double Free
The product calls free() twice on the same memory address.
References
- http://www.openwall.com/lists/oss-security/2023/02/13/1
- http://www.openwall.com/lists/oss-security/2023/02/22/1
- http://www.openwall.com/lists/oss-security/2023/02/22/2
- http://www.openwall.com/lists/oss-security/2023/02/23/3
- http://www.openwall.com/lists/oss-security/2023/03/06/1
- http://www.openwall.com/lists/oss-security/2023/03/09/2
- https://bugzilla.mindrot.org/show_bug.cgi?id=3522
- https://ftp.openbsd.org/pub/OpenBSD/patches/7.2/common/017_sshd.patch.sig
- https://github.com/openssh/openssh-portable/commit/486c4dc3b83b4b67d663fb0fa62bc24138ec39…
- https://jfrog.com/blog/openssh-pre-auth-double-free-cve-2023-25136-writeup-and-proof-of-c…
- https://news.ycombinator.com/item?id=34711565
- https://security.gentoo.org/glsa/202307-01
- https://security.netapp.com/advisory/ntap-20230309-0003/
- https://www.openwall.com/lists/oss-security/2023/02/02/2
- http://www.openwall.com/lists/oss-security/2023/02/13/1
- http://www.openwall.com/lists/oss-security/2023/02/22/1
- http://www.openwall.com/lists/oss-security/2023/02/22/2
- http://www.openwall.com/lists/oss-security/2023/02/23/3
- http://www.openwall.com/lists/oss-security/2023/03/06/1
- http://www.openwall.com/lists/oss-security/2023/03/09/2
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.