CVE-2026-59842: Libssh

Medium severity, CVSS 5.3. EPSS: 0.5% probability of exploitation activity in the next 30 days.

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.

What to do

No fixed version is stated in NVD's or the CNA's structured data. Check the vendor's advisory among the references.

Affected products

Published 2026-07-21. Last modified 2026-11-25.