CVE-2026-59842
published low CVSS 3.1 · 3.7Libssh: libssh: information disclosure via short gssapi curve25519 public key
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | 10 | libssh0:0.12.0-3.el10_2 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | libssh-mainRed Hat Hardened Images · 0.12.1-4.hum1 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat Enterprise Linux | 8, 9 | libssh | Unaffected | Not required | redhat |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Alpine Linux | edge | libssh | Fixed | 0.12.1-r0 | Package fix record |
| Oracle Linux | 10 | libsshaarch64 | Advisory build | 0:0.12.0-3.el10_2 | ELSA-2026-55855 |
| Red Hat Enterprise Linux | RHEL-10 | libsshaarch64 | Advisory build | 0.12.0-3.el10_2 | RHSA-2026:55855 |
Show 30 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| AlmaLinux | 10 | libssh-config | Advisory build | 0.12.0-3.el10_2 | ALSA-2026:55855 |
| Rocky Linux | 10 | libsshaarch64 | Listed in advisory | Not stated | RLSA-2026:55855 |
| Alpine Linux | v3.24 | libssh | Fixed | 0.12.1-r0 | Package fix record |
| Oracle Linux | 10 | libsshx86_64 | Advisory build | 0:0.12.0-3.el10_2 | ELSA-2026-55855 |
| Red Hat Enterprise Linux | RHEL-10 | libsshppc64le | Advisory build | 0.12.0-3.el10_2 | RHSA-2026:55855 |
| Red Hat Enterprise Linux | RHEL-10 | libsshs390x | Advisory build | 0.12.0-3.el10_2 | RHSA-2026:55855 |
| Red Hat Enterprise Linux | RHEL-10 | libsshsrc | Advisory build | 0.12.0-3.el10_2 | RHSA-2026:55855 |
| Red Hat Enterprise Linux | RHEL-10 | libsshx86_64 | Advisory build | 0.12.0-3.el10_2 | RHSA-2026:55855 |
| Oracle Linux | 10 | libssh-configaarch64 | Advisory build | 0:0.12.0-3.el10_2 | ELSA-2026-55855 |
| Oracle Linux | 10 | libssh-configx86_64 | Advisory build | 0:0.12.0-3.el10_2 | ELSA-2026-55855 |
| Oracle Linux | 10 | libssh-develaarch64 | Advisory build | 0:0.12.0-3.el10_2 | ELSA-2026-55855 |
| Oracle Linux | 10 | libssh-develx86_64 | Advisory build | 0:0.12.0-3.el10_2 | ELSA-2026-55855 |
| Red Hat Enterprise Linux | RHEL-10 | libssh-confignoarch | Advisory build | 0.12.0-3.el10_2 | RHSA-2026:55855 |
| Red Hat Enterprise Linux | RHEL-10 | libssh-debuginfoaarch64 | Advisory build | 0.12.0-3.el10_2 | RHSA-2026:55855 |
| Red Hat Enterprise Linux | RHEL-10 | libssh-debuginfoppc64le | Advisory build | 0.12.0-3.el10_2 | RHSA-2026:55855 |
| Red Hat Enterprise Linux | RHEL-10 | libssh-debuginfos390x | Advisory build | 0.12.0-3.el10_2 | RHSA-2026:55855 |
| Red Hat Enterprise Linux | RHEL-10 | libssh-debuginfox86_64 | Advisory build | 0.12.0-3.el10_2 | RHSA-2026:55855 |
| Red Hat Enterprise Linux | RHEL-10 | libssh-debugsourceaarch64 | Advisory build | 0.12.0-3.el10_2 | RHSA-2026:55855 |
| Red Hat Enterprise Linux | RHEL-10 | libssh-debugsourceppc64le | Advisory build | 0.12.0-3.el10_2 | RHSA-2026:55855 |
| Red Hat Enterprise Linux | RHEL-10 | libssh-debugsources390x | Advisory build | 0.12.0-3.el10_2 | RHSA-2026:55855 |
| Red Hat Enterprise Linux | RHEL-10 | libssh-debugsourcex86_64 | Advisory build | 0.12.0-3.el10_2 | RHSA-2026:55855 |
| Red Hat Enterprise Linux | RHEL-10 | libssh-develaarch64 | Advisory build | 0.12.0-3.el10_2 | RHSA-2026:55855 |
| Red Hat Enterprise Linux | RHEL-10 | libssh-develppc64le | Advisory build | 0.12.0-3.el10_2 | RHSA-2026:55855 |
| Red Hat Enterprise Linux | RHEL-10 | libssh-devels390x | Advisory build | 0.12.0-3.el10_2 | RHSA-2026:55855 |
| Red Hat Enterprise Linux | RHEL-10 | libssh-develx86_64 | Advisory build | 0.12.0-3.el10_2 | RHSA-2026:55855 |
| Rocky Linux | 10 | libsshsrc | Listed in advisory | Not stated | RLSA-2026:55855 |
| Rocky Linux | 10 | libssh-confignoarch | Listed in advisory | Not stated | RLSA-2026:55855 |
| Rocky Linux | 10 | libssh-debuginfoaarch64 | Listed in advisory | Not stated | RLSA-2026:55855 |
| Rocky Linux | 10 | libssh-debugsourceaarch64 | Listed in advisory | Not stated | RLSA-2026:55855 |
| Rocky Linux | 10 | libssh-develaarch64 | Listed in advisory | Not stated | RLSA-2026:55855 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 3.7 / 10
- Severity
- low
- Provider
- redhat · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Red Hat | Red Hat Enterprise Linux 10 | 0:0.12.0-3.el10_2 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Hardened Images | 0.12.1-4.hum1 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 8 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 9 | Default: unaffected | redhat · cna |
Weaknesses
1- CWE-125 Out-of-bounds Read
References
4- RHSA-2026:42922 https://access.redhat.com/errata/RHSA-2026:42922
- RHSA-2026:55855 https://access.redhat.com/errata/RHSA-2026:55855
- https://access.redhat.com/security/cve/CVE-2026-59842
- RHBZ#2498168 https://bugzilla.redhat.com/show_bug.cgi?id=2498168
Provider assertions
2redhat · cna
Libssh: libssh: information disclosure via short gssapi curve25519 public key
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 683afe608aaa48558e630e9bb20d878191f3d7844898ab04a4236857b25a86e0
- Ingested
- 25 Nov 2026, 16:58:51 UTC
- Source record
- Official CVE record