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.
References
| Link | Resource |
|---|---|
| https://access.redhat.com/errata/RHSA-2026:42922 | Vendor Advisory |
| https://access.redhat.com/security/cve/CVE-2026-59842 | Vendor Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=2498168 | Issue Tracking Vendor Advisory |
Configurations
Configuration 1 (hide)
|
History
30 Jul 2026, 13:13
| Type | Values Removed | Values Added |
|---|---|---|
| CPE | cpe:2.3:a:redhat:hardened_images:-:*:*:*:*:*:*:* cpe:2.3:o:redhat:enterprise_linux:10.0:*:*:*:*:*:*:* cpe:2.3:a:libssh:libssh:-:*:*:*:*:*:*:* |
|
| References | () https://access.redhat.com/errata/RHSA-2026:42922 - Vendor Advisory | |
| References | () https://access.redhat.com/security/cve/CVE-2026-59842 - Vendor Advisory | |
| References | () https://bugzilla.redhat.com/show_bug.cgi?id=2498168 - Issue Tracking, Vendor Advisory | |
| First Time |
Libssh libssh
Redhat enterprise Linux Redhat hardened Images Redhat Libssh |
22 Jul 2026, 20:17
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
21 Jul 2026, 12:18
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-07-21 12:18
Updated : 2026-07-30 13:13
NVD link : CVE-2026-59842
Mitre link : CVE-2026-59842
CVE.ORG link : CVE-2026-59842
JSON object : View
Products Affected
redhat
- hardened_images
- enterprise_linux
libssh
- libssh
CWE
CWE-125
Out-of-bounds Read
