CVE-2026-59842

medium

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-30

Risk Information

CVSS v2

Base Score: 5

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

Severity: Medium

CVSS v3

Base Score: 5.3

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

Severity: Medium

EPSS

EPSS: 0.00342