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.
CVE-2026-59842
CVSS base score
3.7 (v3.1)
Severity
LOW
Attack vector
Network
Weakness
CWE-125
Last modified
November 25, 2026
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
Affected products
libssh libssh
redhat hardened images
redhat enterprise linux
redhat enterprise linux for els
redhat enterprise linux for eus
redhat enterprise linux for ibm z systems
redhat enterprise linux for ibm z systems els
redhat enterprise linux for ibm z systems eus
redhat enterprise linux for power little endian
redhat enterprise linux for power little endian els
References
- access.redhat.com Issue Tracking
- access.redhat.com Vendor Advisory
- access.redhat.com Vendor Advisory
- bugzilla.redhat.com Issue Tracking, Vendor Advisory