Out-of-bounds Read in Libssh
CVE-2026-59842
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 3.7 (Low). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N.
EPSS exploit prediction
EPSS 0.005, 42.9th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Libssh — versions 0.12.0
- Red Hat Enterprise Linux — versions 10.2, 10.0
- Red Hat Enterprise Linux For Els — versions 10.2
- Red Hat Enterprise Linux For Eus — versions 10.2
- Red Hat Enterprise Linux For IBM Z Systems — versions 10.0, 10.2
- Red Hat Enterprise Linux For IBM Z Systems Els — versions 10.2
- Red Hat Enterprise Linux For IBM Z Systems Eus — versions 10.2
- Red Hat Enterprise Linux For Power Little Endian — versions 10.0, 10.2
- Red Hat Enterprise Linux For Power Little Endian Els — versions 10.2
- Red Hat Enterprise Linux For Power Little Endian Eus — versions 10.2
Weakness classification (CWE)
References
- access.redhat.com/security/cve/CVE-2026-59842 (vdb-entry, Vendor Advisory)
- bugzilla.redhat.com/show_bug.cgi (issue-tracking, Issue Tracking, Vendor Advisory)
- access.redhat.com/errata/RHSA-2026:42922 (vendor-advisory, Issue Tracking, Vendor Advisory)
- access.redhat.com/errata/RHSA-2026:55855 (vendor-advisory, Vendor Advisory)