Low severity3.7NVD Advisory· Published Jul 21, 2026· Updated Sep 22, 2026
CVE-2026-59842
CVE-2026-59842
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
30- cpe:2.3:a:redhat:hardened_images:-:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:10.0:*:*:*:*:*:*:*+ 4 more
- cpe:2.3:o:redhat:enterprise_linux:10.0:*:*:*:*:*:*:*
- cpe:2.3:o:redhat:enterprise_linux:10.0:*:*:*:*:*:arm64:*
- cpe:2.3:o:redhat:enterprise_linux:10.0:*:*:*:*:*:x64:*
- cpe:2.3:o:redhat:enterprise_linux:10.2:*:*:*:*:*:arm64:*
- cpe:2.3:o:redhat:enterprise_linux:10.2:*:*:*:*:*:x64:*
cpe:2.3:o:redhat:enterprise_linux_for_els:10.2:*:*:*:*:*:arm64:*+ 1 more
- cpe:2.3:o:redhat:enterprise_linux_for_els:10.2:*:*:*:*:*:arm64:*
- cpe:2.3:o:redhat:enterprise_linux_for_els:10.2:*:*:*:*:*:x64:*
cpe:2.3:o:redhat:enterprise_linux_for_eus:10.2:*:*:*:*:*:arm64:*+ 1 more
- cpe:2.3:o:redhat:enterprise_linux_for_eus:10.2:*:*:*:*:*:arm64:*
- cpe:2.3:o:redhat:enterprise_linux_for_eus:10.2:*:*:*:*:*:x64:*
cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems:10.0:*:*:*:*:*:*:*+ 1 more
- cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems:10.0:*:*:*:*:*:*:*
- cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems:10.2:*:*:*:*:*:*:*
- cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems_els:10.2:*:*:*:*:*:*:*
- cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems_eus:10.2:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux_for_power_little_endian:10.0:*:*:*:*:*:*:*+ 1 more
- cpe:2.3:o:redhat:enterprise_linux_for_power_little_endian:10.0:*:*:*:*:*:*:*
- cpe:2.3:o:redhat:enterprise_linux_for_power_little_endian:10.2:*:*:*:*:*:*:*
- cpe:2.3:o:redhat:enterprise_linux_for_power_little_endian_els:10.2:*:*:*:*:*:*:*
- cpe:2.3:o:redhat:enterprise_linux_for_power_little_endian_eus:10.2:*:*:*:*:*:*:*
- osv-coords9 versionspkg:apk/chainguard/libsshpkg:apk/chainguard/libssh-devpkg:apk/chainguard/libssh2pkg:apk/wolfi/libsshpkg:apk/wolfi/libssh-devpkg:apk/wolfi/libssh2pkg:rpm/almalinux/libsshpkg:rpm/almalinux/libssh-configpkg:rpm/almalinux/libssh-devel
< 0.12.1-r0+ 8 more
- (no CPE)range: < 0.12.1-r0
- (no CPE)range: < 0.12.1-r0
- (no CPE)range: < 0
- (no CPE)range: < 0.12.1-r0
- (no CPE)range: < 0.12.1-r0
- (no CPE)range: < 0
- (no CPE)range: < 0.12.0-3.el10_2
- (no CPE)range: < 0.12.0-3.el10_2
- (no CPE)range: < 0.12.0-3.el10_2
Patches
Vulnerability mechanics
References
4- access.redhat.com/errata/RHSA-2026:55855nvdVendor Advisory
- access.redhat.com/security/cve/CVE-2026-59842nvdVendor Advisory
- bugzilla.redhat.com/show_bug.cginvdIssue TrackingVendor Advisory
- access.redhat.com/errata/RHSA-2026:42922nvdIssue Tracking
News mentions
1- Libssh: Eleven Vulnerabilities Disclosed Together, Including Auth Bypass and DoSVypr Intelligence · Jul 21, 2026