CVE-2026-59842
3.7
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
Summary
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 Software
| Vendor | Product | Version Range | Status |
|---|
Weaknesses
- CWE-125: Out-of-bounds Read
Workarounds
Disable GSSAPIKeyExchange or remove gss-curve25519-sha256- from GSSAPIKexAlgorithms if appropriate.
References
- https://access.redhat.com/security/cve/CVE-2026-59842
- https://bugzilla.redhat.com/show_bug.cgi?id=2498168
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.