Double-Free Vulnerability in OpenSSH Server (sshd) 9.1 Allows Remote Code Execution

Double-Free Vulnerability in OpenSSH Server (sshd) 9.1 Allows Remote Code Execution

CVE-2023-25136 · MEDIUM Severity

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

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

Learn more about our Cis Benchmark Audit For Server Software.