Skip to content
OpenAdvisories
Unscored Public exploit CVE-2023-25136 EUVD-2023-29115GHSA-w62j-g234-3f6f

OpenSSH server (sshd) 9.1 introduced a double-free vulnerability during options.kex_algorithms handling. This is fixed in OpenSSH 9.2. The …

Published Feb 3, 2023 · Updated Oct 14, 2026 · Assigned by mitre

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

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 openssh 1:9.2p1-1 —
Debian 13 openssh 1:9.2p1-1 —
Debian 12 openssh 1:9.2p1-1 —
ReleasePackageFixed inAdvisory
RHEL 9 openssh +4 8.7p1-29.el9_2 RHSA-2023:2645
RHEL 9 pam_ssh_agent_auth 0.10.4-5.29.el9_2 RHSA-2023:2645

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 openssh +4 8.7p1-29.el9_2 ALSA-2023:2645
AlmaLinux 9 pam_ssh_agent_auth 0.10.4-5.29.el9_2 ALSA-2023:2645

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 openssh +4 8.7p1-29.el9_2 ELSA-2023-2645
Oracle Linux 9 pam_ssh_agent_auth 0.10.4-5.29.el9_2 ELSA-2023-2645

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling openssh 9.2_p1-r0 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 11 repositories · most starred shown

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 7

References