{"id":"CVE-2023-25136","state":"PUBLISHED","title":"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 unaut","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.\"","publishedAt":"2023-02-03T00:00:00.000Z","updatedAt":"2026-10-14T22:32:04.906Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["https://ftp.openbsd.org/pub/OpenBSD/patches/7.2/common/017_sshd.patch.sig","https://www.openwall.com/lists/oss-security/2023/02/02/2","https://bugzilla.mindrot.org/show_bug.cgi?id=3522","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/","https://news.ycombinator.com/item?id=34711565","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://security.netapp.com/advisory/ntap-20230309-0003/","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/R7LKQDFZWKYHQ65TBSH2X2HJQ4V2THS3/","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JGAUIXJ3TEKCRKVWFQ6GDAGQFTIIGQQP/","https://security.gentoo.org/glsa/202307-01","https://cert-portal.siemens.com/productcert/html/ssa-398330.html"],"weaknesses":["CWE-415"],"ingestedAt":"2026-10-29T20:05:43.909Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/25xxx/CVE-2023-25136.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2023-25136","state":"PUBLISHED","datePublished":"2023-02-03T00:00:00.000Z","dateUpdated":"2026-10-14T22:32:04.906Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2023-02-03T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"https://ftp.openbsd.org/pub/OpenBSD/patches/7.2/common/017_sshd.patch.sig"},{"url":"https://www.openwall.com/lists/oss-security/2023/02/02/2"},{"url":"https://bugzilla.mindrot.org/show_bug.cgi?id=3522"},{"url":"https://github.com/openssh/openssh-portable/commit/486c4dc3b83b4b67d663fb0fa62bc24138ec3946"},{"url":"https://jfrog.com/blog/openssh-pre-auth-double-free-cve-2023-25136-writeup-and-proof-of-concept/"},{"url":"https://news.ycombinator.com/item?id=34711565"},{"url":"http://www.openwall.com/lists/oss-security/2023/02/13/1","name":"[oss-security] 20230213 Re: double-free vulnerability in OpenSSH server 9.1 (CVE-2023-25136)","tags":["mailing-list"]},{"url":"http://www.openwall.com/lists/oss-security/2023/02/22/1","name":"[oss-security] 20230222 Re: double-free vulnerability in OpenSSH server 9.1 (CVE-2023-25136)","tags":["mailing-list"]},{"url":"http://www.openwall.com/lists/oss-security/2023/02/22/2","name":"[oss-security] 20230222 Re: Re: double-free vulnerability in OpenSSH server 9.1 (CVE-2023-25136)","tags":["mailing-list"]},{"url":"http://www.openwall.com/lists/oss-security/2023/02/23/3","name":"[oss-security] 20230223 Re: Re: double-free vulnerability in OpenSSH server 9.1 (CVE-2023-25136)","tags":["mailing-list"]},{"url":"http://www.openwall.com/lists/oss-security/2023/03/06/1","name":"[oss-security] 20230306 Re: Re: double-free vulnerability in OpenSSH server 9.1 (CVE-2023-25136)","tags":["mailing-list"]},{"url":"http://www.openwall.com/lists/oss-security/2023/03/09/2","name":"[oss-security] 20230309 Re: Re: double-free vulnerability in OpenSSH server 9.1 (CVE-2023-25136)","tags":["mailing-list"]},{"url":"https://security.netapp.com/advisory/ntap-20230309-0003/"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/R7LKQDFZWKYHQ65TBSH2X2HJQ4V2THS3/","name":"FEDORA-2023-1176c8b10c","tags":["vendor-advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JGAUIXJ3TEKCRKVWFQ6GDAGQFTIIGQQP/","name":"FEDORA-2023-123647648e","tags":["vendor-advisory"]},{"url":"https://security.gentoo.org/glsa/202307-01","name":"GLSA-202307-01","tags":["vendor-advisory"]}],"problemTypes":[{"descriptions":[{"type":"text","lang":"en","description":"n/a"}]}],"providerMetadata":{"shortName":"mitre","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateUpdated":"2023-07-20T00:00:00.000Z"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://ftp.openbsd.org/pub/OpenBSD/patches/7.2/common/017_sshd.patch.sig","tags":["x_transferred"]},{"url":"https://www.openwall.com/lists/oss-security/2023/02/02/2","tags":["x_transferred"]},{"url":"https://bugzilla.mindrot.org/show_bug.cgi?id=3522","tags":["x_transferred"]},{"url":"https://github.com/openssh/openssh-portable/commit/486c4dc3b83b4b67d663fb0fa62bc24138ec3946","tags":["x_transferred"]},{"url":"https://jfrog.com/blog/openssh-pre-auth-double-free-cve-2023-25136-writeup-and-proof-of-concept/","tags":["x_transferred"]},{"url":"https://news.ycombinator.com/item?id=34711565","tags":["x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2023/02/13/1","name":"[oss-security] 20230213 Re: double-free vulnerability in OpenSSH server 9.1 (CVE-2023-25136)","tags":["mailing-list","x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2023/02/22/1","name":"[oss-security] 20230222 Re: double-free vulnerability in OpenSSH server 9.1 (CVE-2023-25136)","tags":["mailing-list","x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2023/02/22/2","name":"[oss-security] 20230222 Re: Re: double-free vulnerability in OpenSSH server 9.1 (CVE-2023-25136)","tags":["mailing-list","x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2023/02/23/3","name":"[oss-security] 20230223 Re: Re: double-free vulnerability in OpenSSH server 9.1 (CVE-2023-25136)","tags":["mailing-list","x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2023/03/06/1","name":"[oss-security] 20230306 Re: Re: double-free vulnerability in OpenSSH server 9.1 (CVE-2023-25136)","tags":["mailing-list","x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2023/03/09/2","name":"[oss-security] 20230309 Re: Re: double-free vulnerability in OpenSSH server 9.1 (CVE-2023-25136)","tags":["mailing-list","x_transferred"]},{"url":"https://security.netapp.com/advisory/ntap-20230309-0003/","tags":["x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/R7LKQDFZWKYHQ65TBSH2X2HJQ4V2THS3/","name":"FEDORA-2023-1176c8b10c","tags":["vendor-advisory","x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JGAUIXJ3TEKCRKVWFQ6GDAGQFTIIGQQP/","name":"FEDORA-2023-123647648e","tags":["vendor-advisory","x_transferred"]},{"url":"https://security.gentoo.org/glsa/202307-01","name":"GLSA-202307-01","tags":["vendor-advisory","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T11:18:35.552Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-02-27T17:36:59.947126Z","id":"CVE-2023-25136","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-415","type":"CWE","lang":"en","description":"CWE-415 Double Free"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-05-28T17:43:14.037Z"}},{"affected":[{"vendor":"Siemens","product":"SIMATIC S7-1500 CPU 1518-4 PN/DP MFP","defaultStatus":"unknown","versions":[{"version":"V3.1.0","status":"affected","lessThan":"V3.1.5","versionType":"custom"}]},{"vendor":"Siemens","product":"SIMATIC S7-1500 CPU 1518-4 PN/DP MFP","defaultStatus":"unknown","versions":[{"version":"V3.1.0","status":"affected","lessThan":"V3.1.5","versionType":"custom"}]},{"vendor":"Siemens","product":"SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP","defaultStatus":"unknown","versions":[{"version":"V3.1.0","status":"affected","lessThan":"V3.1.5","versionType":"custom"}]},{"vendor":"Siemens","product":"SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP","defaultStatus":"unknown","versions":[{"version":"V3.1.0","status":"affected","lessThan":"V3.1.5","versionType":"custom"}]},{"vendor":"Siemens","product":"SIPLUS S7-1500 CPU 1518-4 PN/DP MFP","defaultStatus":"unknown","versions":[{"version":"V3.1.0","status":"affected","lessThan":"V3.1.5","versionType":"custom"}]}],"references":[{"url":"https://cert-portal.siemens.com/productcert/html/ssa-398330.html"}],"providerMetadata":{"shortName":"siemens-SADP","orgId":"0b142b55-0307-4c5a-b3c9-f314f3fb7c5e","dateUpdated":"2026-10-14T22:32:04.906Z"},"x_adpType":"supplier"}]}}}