CVE-2026-59842
Medium 5.3No known exploitationFix status unknownLibssh: libssh: information disclosure via short gssapi curve25519 public key
Record last updated
CVSS score
5.3
Medium on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
0.5%
Higher than 35% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
None
Not in the KEV catalog
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.
Weakness: CWE-125
Patching and mitigation
- Patch status
- Unknown: no source documents a fix
- Mitigation
- Disable GSSAPIKeyExchange or remove gss-curve25519-sha256- from GSSAPIKexAlgorithms if appropriate. Source (opens in a new tab)
- Vendor guidance
- access.redhat.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| libssh | libssh | 0.12.0 | Not documented | NIST NVD |
| redhat | enterprise_linux | 10.0 | Not documented | NIST NVD |
| redhat | enterprise_linux | 10.0 | Not documented | NIST NVD |
| redhat | enterprise_linux | 10.0 | Not documented | NIST NVD |
| redhat | enterprise_linux | 10.2 | Not documented | NIST NVD |
| redhat | enterprise_linux | 10.2 | Not documented | NIST NVD |
| redhat | enterprise_linux_for_els | 10.2 | Not documented | NIST NVD |
| redhat | enterprise_linux_for_els | 10.2 | Not documented | NIST NVD |
| redhat | enterprise_linux_for_eus | 10.2 | Not documented | NIST NVD |
| redhat | enterprise_linux_for_eus | 10.2 | Not documented | NIST NVD |
| redhat | enterprise_linux_for_ibm_z_systems | 10.0 | Not documented | NIST NVD |
| redhat | enterprise_linux_for_ibm_z_systems | 10.2 | Not documented | NIST NVD |
| redhat | enterprise_linux_for_ibm_z_systems_els | 10.2 | Not documented | NIST NVD |
| redhat | enterprise_linux_for_ibm_z_systems_eus | 10.2 | Not documented | NIST NVD |
| redhat | enterprise_linux_for_power_little_endian | 10.0 | Not documented | NIST NVD |
| redhat | enterprise_linux_for_power_little_endian | 10.2 | Not documented | NIST NVD |
| redhat | enterprise_linux_for_power_little_endian_els | 10.2 | Not documented | NIST NVD |
| redhat | enterprise_linux_for_power_little_endian_eus | 10.2 | Not documented | NIST NVD |
| redhat | hardened_images | Not documented | Not documented | NIST NVD |
| Red Hat | Red Hat Enterprise Linux 10 (unaffected) | 0:0.12.0-3.el10_2 | Not documented | CVE Program |
| Red Hat | Red Hat Enterprise Linux 8 (status unknown) | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat Enterprise Linux 9 (status unknown) | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat Hardened Images (unaffected) | 0.12.1-4.hum1 | Not documented | CVE Program |
Timeline
Disclosure
CVE record published by redhat
Source: CVE Program (opens in a new tab)
Vendor guidance and references
- RHSA-2026:42922 (opens in a new tab)issue tracking, vendor-advisory, x_refsource_redhat
- RHSA-2026:55855 (opens in a new tab)vendor advisory, vendor-advisory, x_refsource_redhat
- https://access.redhat.com/security/cve/CVE-2026-59842 (opens in a new tab)vdb-entry, vendor advisory, x_refsource_redhat
- RHBZ#2498168 (opens in a new tab)issue tracking, issue-tracking, vendor advisory, x_refsource_redhat