CVE-2026-59842

low

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

https://bugzilla.redhat.com/show_bug.cgi?id=2498168

https://access.redhat.com/security/cve/CVE-2026-59842

https://access.redhat.com/errata/RHSA-2026:42922

Details

Source: Mitre, NVD

Published: 2026-07-21

Updated: 2026-07-22

Risk Information

CVSS v2

Base Score: 2.6

Vector: CVSS2#AV:N/AC:H/Au:N/C:P/I:N/A:N

Severity: Low

CVSS v3

Base Score: 3.7

Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N

Severity: Low

EPSS

EPSS: 0.00342