CVE-2026-59842
JSON

3.7low

Libssh: libssh: information disclosure via short gssapi curve25519 public key

Severity
3.7low CVSS:3.1 by redhat
Exploit likelihood
0.54% (higher than 46% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
redhat

Description

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.

Affected

Product or packageVersionsReported by
libsshNot specified
Not affected: from 0:0.12.0-3.el10_2 before *
CVE List
libssh-mainNot specified
Not affected: from 0.12.1-4.hum1 before *
CVE List
libssh libssh0.12.0NVD
redhat hardened_imagesNot specifiedNVD
redhat enterprise_linux10.0, 10.2NVD
redhat enterprise_linux_for_els10.2NVD
redhat enterprise_linux_for_eus10.2NVD
redhat enterprise_linux_for_ibm_z_systems10.0, 10.2NVD
redhat enterprise_linux_for_ibm_z_systems_els10.2NVD
redhat enterprise_linux_for_ibm_z_systems_eus10.2NVD
redhat enterprise_linux_for_power_little_endian10.0, 10.2NVD
redhat enterprise_linux_for_power_little_endian_els10.2NVD

All scores

redhat3.7low CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
NVD5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Classification

CWE-125

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-59842 changed 2026-11-25CVE Terms of Use
NVDCVE-2026-59842 changed 2026-11-25Public domain