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.
The product calls free() twice on the same memory address, potentially leading to modification of unexpected memory locations.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Openssh | Openbsd | 9.1 (including) | 9.1 (including) |
Openssh | Ubuntu | trusty | * |
Openssh | Ubuntu | upstream | * |
Openssh | Ubuntu | xenial | * |
Openssh-ssh1 | Ubuntu | upstream | * |
Red Hat Enterprise Linux 9 | RedHat | openssh-0:8.7p1-29.el9_2 | * |
Red Hat Enterprise Linux 9 | RedHat | openssh-0:8.7p1-29.el9_2 | * |