CVE-2026-59842

LOW

Libssh: libssh: information disclosure via short gssapi curve25519 public key

Title source: cna
STIX 2.1

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.

References (3)

Core 3
Core References
Vdb Entry, X_Refsource_Redhat vdb-entry x_refsource_redhat
https://access.redhat.com/security/cve/CVE-2026-59842
Issue Tracking, X_Refsource_Redhat issue-tracking x_refsource_redhat
RHBZ#2498168
https://bugzilla.redhat.com/show_bug.cgi?id=2498168
Vendor Advisory vendor-advisory x_refsource_redhat
RHSA-2026:42922
https://access.redhat.com/errata/RHSA-2026:42922

Scores

CVSS v3 3.7
EPSS 0.0042
EPSS Percentile 34.4%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-125
Status published
Products (8)
libssh/libssh
Red Hat/Red Hat Enterprise Linux 10
Red Hat/Red Hat Enterprise Linux 8
Red Hat/Red Hat Enterprise Linux 9
Red Hat/Red Hat Hardened Images
Red Hat/Red Hat Hardened Images 0.12.1-4.hum1
redhat/enterprise_linux 10.0
redhat/hardened_images
Published Jul 21, 2026
Tracked Since Jul 21, 2026