CVE-2026-59842
Libssh: libssh: information disclosure via short gssapi curve25519 public key
- State
- Published
- Severity
- 3.7 Low
- Published
- Jul 21, 2026
- Updated
- Aug 19, 2026
- Reserved
- Jul 7, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 3.7 Low | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N | redhat |
Weaknesses
- CWE-125 Out-of-bounds Read
Affected Products
| Product | Versions |
|---|---|
Red Hat Enterprise Linux 10Red Hat |
|
Red Hat Hardened ImagesRed Hat |
|
Red Hat Enterprise Linux 8Red Hat | |
Red Hat Enterprise Linux 9Red Hat |
References
- RHSA-2026:42922vendor-advisory
- RHSA-2026:55855vendor-advisory
- https://access.redhat.com/security/cve/CVE-2026-59842vdb-entry
- RHBZ#2498168issue-tracking
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.