CVE-2026-59842Libssh
Medium 5.3 No auth needed
Follow: this CVE · Libssh · Libssh We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 5.3
- EPSS
- —
- Auth required
- No
- Published
- Jul 21, 2026
- Updated
- Nov 25, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-125
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for Libssh.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| libssh | libssh | 0.12.0 |
| redhat | hardened_images | all |
| redhat | enterprise_linux | 10.0 |
| redhat | enterprise_linux | 10.0 |
| redhat | enterprise_linux | 10.0 |
| redhat | enterprise_linux | 10.2 |
| redhat | enterprise_linux | 10.2 |
| redhat | enterprise_linux_for_els | 10.2 |
| redhat | enterprise_linux_for_els | 10.2 |
| redhat | enterprise_linux_for_eus | 10.2 |
| redhat | enterprise_linux_for_eus | 10.2 |
| redhat | enterprise_linux_for_ibm_z_systems | 10.0 |
| redhat | enterprise_linux_for_ibm_z_systems | 10.2 |
| redhat | enterprise_linux_for_ibm_z_systems_els | 10.2 |
| redhat | enterprise_linux_for_ibm_z_systems_eus | 10.2 |
| redhat | enterprise_linux_for_power_little_endian | 10.0 |
| redhat | enterprise_linux_for_power_little_endian | 10.2 |
| redhat | enterprise_linux_for_power_little_endian_els | 10.2 |
| redhat | enterprise_linux_for_power_little_endian_eus | 10.2 |
Official advisories
- Red Hat Security Advisory: libssh security update · Red Hat · RHSA-2026:55855 · Aug 18, 2026 High
- Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update · Red Hat · RHSA-2026:42922 · Jul 23, 2026 High
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- access.redhat.com Issue Tracking
- access.redhat.com Vendor Advisory
- access.redhat.com Vendor Advisory
- bugzilla.redhat.com Issue Tracking Vendor Advisory