Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2023-25136

openssh: the functions order_hostkeyalgs() and list_hostkey_types() leads to double-free vulnerability

Overview

Published
3 Feb 2023
Modified
14 Oct 2026
Medium CVE
1 Registry packages
7 OS packages
8 Linux distributions
Yes Fix available

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."

Source: OX vulnerability database

Severity

6.5 · MEDIUM

CVSS 3.1 base score, scored by NVD.

Attack vector
Network
Attack complexity
High
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
High

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H

Weakness: CWE-415

Affected packages · 1

Packages affected by CVE-2023-25136
EcosystemPackageVulnerableFixed in
Julia OpenSSH_jll >=8.9.0+0, <9.1.0+0 9.1.0+0

Open a package to see all its vulnerabilities.

Operating systems · 14 fixes

Oracle Linux 1 release · 2 packages

fixed 2
pam-ssh-agent-auth openssh
Oracle Linux fixes for CVE-2023-25136
ReleasePackageFixed in
9 pam-ssh-agent-auth 0.10.4-5.29.el9_2
9 openssh +4 8.7p1-29.el9_2

Red Hat 1 release · 2 packages

fixed 2
pam-ssh-agent-auth openssh
Red Hat fixes for CVE-2023-25136
ReleasePackageFixed inAdvisory
9 pam-ssh-agent-auth 0:0.10.4-5.29.el9_2 RHSA-2023:2645
9 openssh +4 0:8.7p1-29.el9_2 RHSA-2023:2645

alma 1 release · 2 packages

fixed 2
pam-ssh-agent-auth openssh
alma fixes for CVE-2023-25136
ReleasePackageFixed in
9 pam-ssh-agent-auth 0.10.4-5.29.el9_2
9 openssh +4 8.7p1-29.el9_2

chainguard 1 release · 1 package

fixed 1
openssh
chainguard fixes for CVE-2023-25136
ReleasePackageFixed in
openssh 9.2_p1-r0

debian 3 releases · 1 package

fixed 3
openssh
debian fixes for CVE-2023-25136
ReleasePackageFixed in
12 openssh 1:9.2p1-1
13 openssh 1:9.2p1-1
14 openssh 1:9.2p1-1

echo 1 release · 1 package

fixed 1
openssh
echo fixes for CVE-2023-25136
ReleasePackageFixed in
openssh 1:9.2p1-1

root.io debian 2 releases · 1 package

fixed 2
rootio-openssh
root.io debian fixes for CVE-2023-25136
ReleasePackageFixed in
12 rootio-openssh 1:9.2p1-1
13 rootio-openssh 1:9.2p1-1

wolfi 1 release · 1 package

fixed 1
openssh
wolfi fixes for CVE-2023-25136
ReleasePackageFixed in
openssh 9.2_p1-r0

References

Show all 25 references

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.