CVE-2026-59842
Fixed in a distro release EPSS <1%CVSS 3.7
A flaw was found in libssh. During server-side GSSAPI key exchange, a client-supplied Curve25519 public key shorter than the expected length is copied without proper length validation, leading to an out-of-bounds heap read. This could allow a remote unauthenticated attacker to disclose small amounts of server memory.
Products: Red Hat Enterprise Linux 10, Red Hat Hardened Images, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| AlmaLinux 10 | libssh | 0.12.0-3.el10_2 |
| AlmaLinux 10 | libssh-config | 0.12.0-3.el10_2 |
| AlmaLinux 10 | libssh-devel | 0.12.0-3.el10_2 |
| Chainguard | libssh | 0.12.1-r0 |
| Chainguard | libssh-dev | 0.12.1-r0 |
| Chainguard | libssh2 | 0 |
| Debian 14 | libssh | 0.12.1-1 |
| Red Hat Enterprise Linux 10.2 | libssh | 0:0.12.0-3.el10_2 |
| Red Hat Enterprise Linux 10.2 | libssh-config | 0:0.12.0-3.el10_2 |
| Red Hat Enterprise Linux 10.2 | libssh-debuginfo | 0:0.12.0-3.el10_2 |
| Red Hat Enterprise Linux 10.2 | libssh-debugsource | 0:0.12.0-3.el10_2 |
| Red Hat Enterprise Linux 10.2 | libssh-devel | 0:0.12.0-3.el10_2 |
| Red Hat hummingbird 1 | libssh | 0:0.12.1-4.hum1 |
| Red Hat hummingbird 1 | libssh-config | 0:0.12.1-4.hum1 |
| Red Hat hummingbird 1 | libssh-devel | 0:0.12.1-4.hum1 |
| Rocky Linux 10 | libssh | 0:0.12.0-3.el10_2 |
| Ubuntu 22.04 LTS | libssh | no fix |
| Ubuntu 24.04 LTS | libssh | no fix |
| Ubuntu 26.04 LTS | libssh | no fix |
| Ubuntu Pro 16.04 LTS | libssh | no fix |
| Ubuntu Pro 18.04 LTS | libssh | no fix |
| Ubuntu Pro 20.04 LTS | libssh | no fix |
| Wolfi | libssh | 0.12.1-r0 |
| Wolfi | libssh-dev | 0.12.1-r0 |
| Wolfi | libssh2 | 0 |