CVE-2023-25136
publishedopenssh: the functions order_hostkeyalgs() and list_hostkey_types() leads to double-free vulnerability
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Siemens | — | SIMATIC S7-1500 CPU 1518-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIMATIC S7-1500 CPU 1518-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| AlmaLinux | 9 | openssh | Advisory build | 8.7p1-29.el9_2 | ALSA-2023:2645 |
| Oracle Linux | 9 | opensshaarch64 | Advisory build | 0:8.7p1-29.el9_2 | ELSA-2023-2645 |
Show 75 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Siemens | — | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIPLUS S7-1500 CPU 1518-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Red Hat Enterprise Linux | RHEL-9 | opensshaarch64 | Advisory build | 8.7p1-29.el9_2 | RHSA-2023:2645 |
| AlmaLinux | 9 | openssh-askpass | Advisory build | 8.7p1-29.el9_2 | ALSA-2023:2645 |
| AlmaLinux | 9 | openssh-clients | Advisory build | 8.7p1-29.el9_2 | ALSA-2023:2645 |
| AlmaLinux | 9 | openssh-keycat | Advisory build | 8.7p1-29.el9_2 | ALSA-2023:2645 |
| AlmaLinux | 9 | openssh-server | Advisory build | 8.7p1-29.el9_2 | ALSA-2023:2645 |
| AlmaLinux | 9 | pam_ssh_agent_auth | Advisory build | 0.10.4-5.29.el9_2 | ALSA-2023:2645 |
| Oracle Linux | 9 | opensshx86_64 | Advisory build | 0:8.7p1-29.el9_2 | ELSA-2023-2645 |
| Oracle Linux | 9 | openssh-askpassaarch64 | Advisory build | 0:8.7p1-29.el9_2 | ELSA-2023-2645 |
| Oracle Linux | 9 | openssh-askpassx86_64 | Advisory build | 0:8.7p1-29.el9_2 | ELSA-2023-2645 |
| Oracle Linux | 9 | openssh-clientsaarch64 | Advisory build | 0:8.7p1-29.el9_2 | ELSA-2023-2645 |
| Oracle Linux | 9 | openssh-clientsx86_64 | Advisory build | 0:8.7p1-29.el9_2 | ELSA-2023-2645 |
| Oracle Linux | 9 | openssh-keycataarch64 | Advisory build | 0:8.7p1-29.el9_2 | ELSA-2023-2645 |
| Oracle Linux | 9 | openssh-keycatx86_64 | Advisory build | 0:8.7p1-29.el9_2 | ELSA-2023-2645 |
| Oracle Linux | 9 | openssh-serveraarch64 | Advisory build | 0:8.7p1-29.el9_2 | ELSA-2023-2645 |
| Oracle Linux | 9 | openssh-serverx86_64 | Advisory build | 0:8.7p1-29.el9_2 | ELSA-2023-2645 |
| Oracle Linux | 9 | pam_ssh_agent_authaarch64 | Advisory build | 0:0.10.4-5.29.el9_2 | ELSA-2023-2645 |
| Oracle Linux | 9 | pam_ssh_agent_authx86_64 | Advisory build | 0:0.10.4-5.29.el9_2 | ELSA-2023-2645 |
| Red Hat Enterprise Linux | RHEL-9 | opensshppc64le | Advisory build | 8.7p1-29.el9_2 | RHSA-2023:2645 |
| Red Hat Enterprise Linux | RHEL-9 | opensshs390x | Advisory build | 8.7p1-29.el9_2 | RHSA-2023:2645 |
| Red Hat Enterprise Linux | RHEL-9 | opensshsrc | Advisory build | 8.7p1-29.el9_2 | RHSA-2023:2645 |
| Red Hat Enterprise Linux | RHEL-9 | opensshx86_64 | Advisory build | 8.7p1-29.el9_2 | RHSA-2023:2645 |
| Red Hat Enterprise Linux | RHEL-9 | openssh-askpassaarch64 | Advisory build | 8.7p1-29.el9_2 | RHSA-2023:2645 |
| Red Hat Enterprise Linux | RHEL-9 | openssh-askpassppc64le | Advisory build | 8.7p1-29.el9_2 | RHSA-2023:2645 |
| Red Hat Enterprise Linux | RHEL-9 | openssh-askpasss390x | Advisory build | 8.7p1-29.el9_2 | RHSA-2023:2645 |
| Red Hat Enterprise Linux | RHEL-9 | openssh-askpassx86_64 | Advisory build | 8.7p1-29.el9_2 | RHSA-2023:2645 |
| Red Hat Enterprise Linux | RHEL-9 | openssh-askpass-debuginfoaarch64 | Advisory build | 8.7p1-29.el9_2 | RHSA-2023:2645 |
| Red Hat Enterprise Linux | RHEL-9 | openssh-askpass-debuginfoppc64le | Advisory build | 8.7p1-29.el9_2 | RHSA-2023:2645 |
| Red Hat Enterprise Linux | RHEL-9 | openssh-askpass-debuginfos390x | Advisory build | 8.7p1-29.el9_2 | RHSA-2023:2645 |
| Red Hat Enterprise Linux | RHEL-9 | openssh-askpass-debuginfox86_64 | Advisory build | 8.7p1-29.el9_2 | RHSA-2023:2645 |
| Red Hat Enterprise Linux | RHEL-9 | openssh-clientsaarch64 | Advisory build | 8.7p1-29.el9_2 | RHSA-2023:2645 |
| Red Hat Enterprise Linux | RHEL-9 | openssh-clientsppc64le | Advisory build | 8.7p1-29.el9_2 | RHSA-2023:2645 |
| Red Hat Enterprise Linux | RHEL-9 | openssh-clientss390x | Advisory build | 8.7p1-29.el9_2 | RHSA-2023:2645 |
| Red Hat Enterprise Linux | RHEL-9 | openssh-clientsx86_64 | Advisory build | 8.7p1-29.el9_2 | RHSA-2023:2645 |
| Red Hat Enterprise Linux | RHEL-9 | openssh-clients-debuginfoaarch64 | Advisory build | 8.7p1-29.el9_2 | RHSA-2023:2645 |
| Red Hat Enterprise Linux | RHEL-9 | openssh-clients-debuginfoppc64le | Advisory build | 8.7p1-29.el9_2 | RHSA-2023:2645 |
| Red Hat Enterprise Linux | RHEL-9 | openssh-clients-debuginfos390x | Advisory build | 8.7p1-29.el9_2 | RHSA-2023:2645 |
| Red Hat Enterprise Linux | RHEL-9 | openssh-clients-debuginfox86_64 | Advisory build | 8.7p1-29.el9_2 | RHSA-2023:2645 |
| Red Hat Enterprise Linux | RHEL-9 | openssh-debuginfoaarch64 | Advisory build | 8.7p1-29.el9_2 | RHSA-2023:2645 |
| Red Hat Enterprise Linux | RHEL-9 | openssh-debuginfoppc64le | Advisory build | 8.7p1-29.el9_2 | RHSA-2023:2645 |
| Red Hat Enterprise Linux | RHEL-9 | openssh-debuginfos390x | Advisory build | 8.7p1-29.el9_2 | RHSA-2023:2645 |
| Red Hat Enterprise Linux | RHEL-9 | openssh-debuginfox86_64 | Advisory build | 8.7p1-29.el9_2 | RHSA-2023:2645 |
| Red Hat Enterprise Linux | RHEL-9 | openssh-debugsourceaarch64 | Advisory build | 8.7p1-29.el9_2 | RHSA-2023:2645 |
| Red Hat Enterprise Linux | RHEL-9 | openssh-debugsourceppc64le | Advisory build | 8.7p1-29.el9_2 | RHSA-2023:2645 |
| Red Hat Enterprise Linux | RHEL-9 | openssh-debugsources390x | Advisory build | 8.7p1-29.el9_2 | RHSA-2023:2645 |
| Red Hat Enterprise Linux | RHEL-9 | openssh-debugsourcex86_64 | Advisory build | 8.7p1-29.el9_2 | RHSA-2023:2645 |
| Red Hat Enterprise Linux | RHEL-9 | openssh-keycataarch64 | Advisory build | 8.7p1-29.el9_2 | RHSA-2023:2645 |
| Red Hat Enterprise Linux | RHEL-9 | openssh-keycatppc64le | Advisory build | 8.7p1-29.el9_2 | RHSA-2023:2645 |
| Red Hat Enterprise Linux | RHEL-9 | openssh-keycats390x | Advisory build | 8.7p1-29.el9_2 | RHSA-2023:2645 |
| Red Hat Enterprise Linux | RHEL-9 | openssh-keycatx86_64 | Advisory build | 8.7p1-29.el9_2 | RHSA-2023:2645 |
| Red Hat Enterprise Linux | RHEL-9 | openssh-keycat-debuginfoaarch64 | Advisory build | 8.7p1-29.el9_2 | RHSA-2023:2645 |
| Red Hat Enterprise Linux | RHEL-9 | openssh-keycat-debuginfoppc64le | Advisory build | 8.7p1-29.el9_2 | RHSA-2023:2645 |
| Red Hat Enterprise Linux | RHEL-9 | openssh-keycat-debuginfos390x | Advisory build | 8.7p1-29.el9_2 | RHSA-2023:2645 |
| Red Hat Enterprise Linux | RHEL-9 | openssh-keycat-debuginfox86_64 | Advisory build | 8.7p1-29.el9_2 | RHSA-2023:2645 |
| Red Hat Enterprise Linux | RHEL-9 | openssh-serveraarch64 | Advisory build | 8.7p1-29.el9_2 | RHSA-2023:2645 |
| Red Hat Enterprise Linux | RHEL-9 | openssh-serverppc64le | Advisory build | 8.7p1-29.el9_2 | RHSA-2023:2645 |
| Red Hat Enterprise Linux | RHEL-9 | openssh-servers390x | Advisory build | 8.7p1-29.el9_2 | RHSA-2023:2645 |
| Red Hat Enterprise Linux | RHEL-9 | openssh-serverx86_64 | Advisory build | 8.7p1-29.el9_2 | RHSA-2023:2645 |
| Red Hat Enterprise Linux | RHEL-9 | openssh-server-debuginfoaarch64 | Advisory build | 8.7p1-29.el9_2 | RHSA-2023:2645 |
| Red Hat Enterprise Linux | RHEL-9 | openssh-server-debuginfoppc64le | Advisory build | 8.7p1-29.el9_2 | RHSA-2023:2645 |
| Red Hat Enterprise Linux | RHEL-9 | openssh-server-debuginfos390x | Advisory build | 8.7p1-29.el9_2 | RHSA-2023:2645 |
| Red Hat Enterprise Linux | RHEL-9 | openssh-server-debuginfox86_64 | Advisory build | 8.7p1-29.el9_2 | RHSA-2023:2645 |
| Red Hat Enterprise Linux | RHEL-9 | openssh-sk-dummy-debuginfoaarch64 | Advisory build | 8.7p1-29.el9_2 | RHSA-2023:2645 |
| Red Hat Enterprise Linux | RHEL-9 | openssh-sk-dummy-debuginfoppc64le | Advisory build | 8.7p1-29.el9_2 | RHSA-2023:2645 |
| Red Hat Enterprise Linux | RHEL-9 | openssh-sk-dummy-debuginfos390x | Advisory build | 8.7p1-29.el9_2 | RHSA-2023:2645 |
| Red Hat Enterprise Linux | RHEL-9 | openssh-sk-dummy-debuginfox86_64 | Advisory build | 8.7p1-29.el9_2 | RHSA-2023:2645 |
| Red Hat Enterprise Linux | RHEL-9 | pam_ssh_agent_authaarch64 | Advisory build | 0.10.4-5.29.el9_2 | RHSA-2023:2645 |
| Red Hat Enterprise Linux | RHEL-9 | pam_ssh_agent_authppc64le | Advisory build | 0.10.4-5.29.el9_2 | RHSA-2023:2645 |
| Red Hat Enterprise Linux | RHEL-9 | pam_ssh_agent_auths390x | Advisory build | 0.10.4-5.29.el9_2 | RHSA-2023:2645 |
| Red Hat Enterprise Linux | RHEL-9 | pam_ssh_agent_authx86_64 | Advisory build | 0.10.4-5.29.el9_2 | RHSA-2023:2645 |
| Red Hat Enterprise Linux | RHEL-9 | pam_ssh_agent_auth-debuginfoaarch64 | Advisory build | 0.10.4-5.29.el9_2 | RHSA-2023:2645 |
| Red Hat Enterprise Linux | RHEL-9 | pam_ssh_agent_auth-debuginfoppc64le | Advisory build | 0.10.4-5.29.el9_2 | RHSA-2023:2645 |
| Red Hat Enterprise Linux | RHEL-9 | pam_ssh_agent_auth-debuginfos390x | Advisory build | 0.10.4-5.29.el9_2 | RHSA-2023:2645 |
| Red Hat Enterprise Linux | RHEL-9 | pam_ssh_agent_auth-debuginfox86_64 | Advisory build | 0.10.4-5.29.el9_2 | RHSA-2023:2645 |
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."
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
Weaknesses
2- n/a
- CWE-415 CWE-415 Double Free
References
17- [oss-security] 20230213 Re: double-free vulnerability in OpenSSH server 9.1 (CVE-2023-25136) http://www.openwall.com/lists/oss-security/2023/02/13/1
- [oss-security] 20230222 Re: double-free vulnerability in OpenSSH server 9.1 (CVE-2023-25136) http://www.openwall.com/lists/oss-security/2023/02/22/1
- [oss-security] 20230222 Re: Re: double-free vulnerability in OpenSSH server 9.1 (CVE-2023-25136) http://www.openwall.com/lists/oss-security/2023/02/22/2
- [oss-security] 20230223 Re: Re: double-free vulnerability in OpenSSH server 9.1 (CVE-2023-25136) http://www.openwall.com/lists/oss-security/2023/02/23/3
- [oss-security] 20230306 Re: Re: double-free vulnerability in OpenSSH server 9.1 (CVE-2023-25136) http://www.openwall.com/lists/oss-security/2023/03/06/1
- [oss-security] 20230309 Re: Re: double-free vulnerability in OpenSSH server 9.1 (CVE-2023-25136) http://www.openwall.com/lists/oss-security/2023/03/09/2
- https://bugzilla.mindrot.org/show_bug.cgi?id=3522
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html
- https://ftp.openbsd.org/pub/OpenBSD/patches/7.2/common/017_sshd.patch.sig
- https://github.com/openssh/openssh-portable/commit/486c4dc3b83b4b67d663fb0fa62bc24138ec3946
- https://jfrog.com/blog/openssh-pre-auth-double-free-cve-2023-25136-writeup-and-proof-of-concept/
- FEDORA-2023-123647648e https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JGAUIXJ3TEKCRKVWFQ6GDAGQFTIIGQQP/
- FEDORA-2023-1176c8b10c https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/R7LKQDFZWKYHQ65TBSH2X2HJQ4V2THS3/
- https://news.ycombinator.com/item?id=34711565
- GLSA-202307-01 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
Provider assertions
4mitre · cna
siemens-SADP · adp
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- ed52ba11e696be38d6b9dc45b72f1699b277e61692c01c301fe8b32a4a96f1ed
- Ingested
- 14 Oct 2026, 22:44:09 UTC
- Source record
- Official CVE record