CVE-2026-59842
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 package | Versions | Reported by |
|---|---|---|
| libssh | Not specified Not affected: from 0:0.12.0-3.el10_2 before * | CVE List |
| libssh-main | Not specified Not affected: from 0.12.1-4.hum1 before * | CVE List |
| libssh libssh | 0.12.0 | NVD |
| redhat hardened_images | Not specified | NVD |
| redhat enterprise_linux | 10.0, 10.2 | NVD |
| redhat enterprise_linux_for_els | 10.2 | NVD |
| redhat enterprise_linux_for_eus | 10.2 | NVD |
| redhat enterprise_linux_for_ibm_z_systems | 10.0, 10.2 | NVD |
| redhat enterprise_linux_for_ibm_z_systems_els | 10.2 | NVD |
| redhat enterprise_linux_for_ibm_z_systems_eus | 10.2 | NVD |
| redhat enterprise_linux_for_power_little_endian | 10.0, 10.2 | NVD |
| redhat enterprise_linux_for_power_little_endian_els | 10.2 | NVD |
| redhat enterprise_linux_for_power_little_endian_eus | 10.2 | NVD |
All scores
| redhat | 3.7low CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N |
| NVD | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
References
| https://access.redhat.com/errata/RHSA-2026:42922 | issue-tracking, vendor-advisory | |
| https://access.redhat.com/errata/RHSA-2026:55855 | vendor-advisory | |
| https://access.redhat.com/security/cve/CVE-2026-59842 | vdb-entry, vendor-advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2498168 | issue-tracking, vendor-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-59842 changed 2026-11-25 | CVE Terms of Use |
| NVD | CVE-2026-59842 changed 2026-11-25 | Public domain |