CVE-2026-59842 json
Libssh: libssh: information disclosure via short gssapi curve25519 public key
published 2026-07-21 3 mo ago modified 2026-11-06 2 d ago also EUVD-2026-46176
- cvss
- 3.7
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 42%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Red Hat Red Hat Enterprise Linux 10 0:0.12.0-3.el10_2
- Red Hat Red Hat Hardened Images 0.12.1-4.hum1
- libssh Debian 14 0.12.1-1
debian advisories DEBIAN-CVE-2026-59842
- libssh RHEL 10.2 0.12.0-3.el10_2
- libssh-config RHEL 10.2 0.12.0-3.el10_2
- libssh hummingbird 1 0.12.1-4.hum1
- libssh-config hummingbird 1 0.12.1-4.hum1
red hat advisories RHSA-2026:55855RHSA-2026:42922
- libssh AlmaLinux 10 0.12.0-3.el10_2
- libssh-config AlmaLinux 10 0.12.0-3.el10_2
almalinux advisories ALSA-2026:55855
- libssh Rocky Linux 10 0.12.0-3.el10_2
rocky linux advisories RLSA-2026:55855
- libssh Alpine 3.24 0.12.1-r0
alpine advisories ALPINE-CVE-2026-59842
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-59842 updated cvss 3.7
libssh: libssh: information disclosure via short GSSAPI Curve25519 public key
-
Red Hat Enterprise Linux AppStream (v. 10) libssh-devel 0.12.0-3.el10_2, libssh-debuginfo 0.12.0-3.el10_2, libssh-debugsource 0.12.0-3.el10_2 Red Hat Enterprise Linux BaseOS (v. 10) libssh 0.12.0-3.el10_2, libssh-config 0.12.0-3.el10_2fixed: vendor fix “Disable GSSAPIKeyExchange or remove gss-curve25519-sha256- from GSSAPIKexAlgorithms if appropriate.” RHSA-2026:55855
-
Red Hat Hardened Images libssh 0.12.1-4.hum1, libssh-config 0.12.1-4.hum1fixed: vendor fix “Disable GSSAPIKeyExchange or remove gss-curve25519-sha256- from GSSAPIKexAlgorithms if appropriate.” RHSA-2026:42922
-
Red Hat Enterprise Linux 8 libssh, libssh-config Red Hat Enterprise Linux 9 libssh, libssh-confignot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 3 mo ago
Exploit prediction
0.49% chance of exploitation in the next 30 days, higher than 42% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N |
| NVD | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
Affected products
- Red Hat Red Hat Enterprise Linux 10
- Red Hat Red Hat Hardened Images
- Red Hat Red Hat Enterprise Linux 8
- Red Hat Red Hat Enterprise Linux 9
Classification
- Weakness
-
- CWE-125 Out-of-bounds Read
References
-
access.redhat.com
/errata/RHSA-2026:42922
vendor-advisory, issue-tracking
-
access.redhat.com
/errata/RHSA-2026:55855
vendor-advisory
-
access.redhat.com
/security/cve/CVE-2026-59842
vdb-entry, vendor-advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=2498168
issue-tracking, vendor-advisory
Sources
- CVE List CVE-2026-59842
- NVD CVE-2026-59842
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.