Bug 2498168 (CVE-2026-59842) - CVE-2026-59842 libssh: libssh: information disclosure via short GSSAPI Curve25519 public key
Summary: CVE-2026-59842 libssh: libssh: information disclosure via short GSSAPI Curve2...
Keywords:
Status: NEW
Alias: CVE-2026-59842
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2503656
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-07-08 17:57 UTC by OSIDB Bzimport
Modified: 2026-07-21 14:56 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-07-08 17:57:33 UTC
A flaw was found in libssh in the server-side GSSAPI Curve25519 key exchange path in src/kex-gss.c. In ssh_server_gss_kex_process_init(), a client-controlled SSH string is unpacked into client_pubkey and then copied with memcpy(..., CURVE25519_PUBKEY_SIZE) without validating ssh_string_len(client_pubkey). A remote unauthenticated client can send a short public key in SSH_MSG_KEXGSS_INIT and trigger an out-of-bounds heap read during handshake processing, disclosing small amounts of adjacent server memory.


Note You need to log in before you can comment on or make changes to this bug.