Vulnerability · Published Feb 3, 2023 · Assigned by mitre

CVE-2023-25136

Medium 6.5

In plain English

A medium-severity double free in the openssh package (AlmaLinux). Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 89.8% (higher than 99.8% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)6.5Medium
Exploit odds (30 days)89.8%top 0.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack tooling1Public PoC

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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:9openssh8.7p1-29.el9_2ALSA-2023:2645
AlmaLinux:9openssh-askpass8.7p1-29.el9_2ALSA-2023:2645
AlmaLinux:9openssh-clients8.7p1-29.el9_2ALSA-2023:2645
AlmaLinux:9openssh-keycat8.7p1-29.el9_2ALSA-2023:2645
AlmaLinux:9openssh-server8.7p1-29.el9_2ALSA-2023:2645
AlmaLinux:9pam_ssh_agent_auth0.10.4-5.29.el9_2ALSA-2023:2645
Debian:12openssh1:9.2p1-1DEBIAN-CVE-2023-25136
Debian:13openssh1:9.2p1-1DEBIAN-CVE-2023-25136
Debian:14openssh1:9.2p1-1DEBIAN-CVE-2023-25136

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

Weakness: CWE-415

References