CVE-2026-59842 Libssh: libssh: information disclosure via short gssapi curve25519 public key
MediumCVSS 5.3
EPSS 0.49%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- DebianRed Hat
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.
Upgrade path
16 packages: 6 fixed, 1 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| redhat hardened images | All versions | No fix listed | No fix yet |
| alpine/libssh(Alpine v3.24) | < 0.12.1-r0 | 0.12.1-r0 | Fixed |
| debian/libssh(Debian 14) | < 0.12.1-1; = 0.11.2-1; = 0.11.3-1; = 0.12.0-1 +2 more | 0.12.1-1 | Fixed |
| redhat enterprise linux | < 0:0.12.0-3.el10_2; = 8; = 9; = 10.0 +1 more | 0:0.12.0-3.el10_2 | Fixed |
| redhat hummingbird | < 0.12.1-4.hum1 | 0.12.1-4.hum1 | Fixed |
| redhat/libssh(Red Hat enterprise_linux 10.2) | < 0.12.0-3.el10_2 | 0.12.0-3.el10_2 | Fixed |
| redhat/libssh-main(Red Hat hummingbird 1) | < 0.12.1-4.hum1 | 0.12.1-4.hum1 | Fixed |
| libssh | = 0.12.0 | No fix listed | Versions listed |
| redhat enterprise linux for els | = 10.2 | No fix listed | Versions listed |
| redhat enterprise linux for eus | = 10.2 | No fix listed | Versions listed |
| redhat enterprise linux for ibm z systems | = 10.0; = 10.2 | No fix listed | Versions listed |
| redhat enterprise linux for ibm z systems els | = 10.2 | No fix listed | Versions listed |
| redhat enterprise linux for ibm z systems eus | = 10.2 | No fix listed | Versions listed |
| redhat enterprise linux for power little endian | = 10.0; = 10.2 | No fix listed | Versions listed |
| redhat enterprise linux for power little endian els | = 10.2 | No fix listed | Versions listed |
| redhat enterprise linux for power little endian eus | = 10.2 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| redhat enterprise linux | < 0:0.12.0-3.el10_2 | 0:0.12.0-3.el10_2 |
| redhat hummingbird | < 0.12.1-4.hum1 | 0.12.1-4.hum1 |
| redhat enterprise linux | = 8 | No fix listed |
| redhat enterprise linux | = 9 | No fix listed |
| redhat/libssh(Red Hat:enterprise_linux:10.2) | < 0.12.0-3.el10_2 | 0.12.0-3.el10_2 |
| redhat/libssh-main(Red Hat:hummingbird:1) | < 0.12.1-4.hum1 | 0.12.1-4.hum1 |
| debian/libssh(Debian:14) | < 0.12.1-1 | 0.12.1-1 |
| debian/libssh(Debian:14) | = 0.11.2-1 | No fix listed |
| debian/libssh(Debian:14) | = 0.11.3-1 | No fix listed |
| debian/libssh(Debian:14) | = 0.12.0-1 | No fix listed |
| debian/libssh(Debian:14) | = 0.12.0-2 | No fix listed |
| debian/libssh(Debian:14) | = 0.12.0-3 | No fix listed |
| alpine/libssh(Alpine:v3.24) | < 0.12.1-r0 | 0.12.1-r0 |
| libssh | = 0.12.0 | No fix listed |
| redhat hardened images | All versions | No fix listed |
| redhat enterprise linux | = 10.0 | No fix listed |
| redhat enterprise linux | = 10.2 | No fix listed |
| redhat enterprise linux for els | = 10.2 | No fix listed |
| redhat enterprise linux for eus | = 10.2 | No fix listed |
| redhat enterprise linux for ibm z systems | = 10.0 | No fix listed |
| redhat enterprise linux for ibm z systems | = 10.2 | No fix listed |
| redhat enterprise linux for ibm z systems els | = 10.2 | No fix listed |
| redhat enterprise linux for ibm z systems eus | = 10.2 | No fix listed |
| redhat enterprise linux for power little endian | = 10.0 | No fix listed |
| redhat enterprise linux for power little endian | = 10.2 | No fix listed |
Show 2 more
| Product | Affected versions | Fixed in |
|---|---|---|
| redhat enterprise linux for power little endian els | = 10.2 | No fix listed |
| redhat enterprise linux for power little endian eus | = 10.2 | No fix listed |
References
- RHSA-2026:42922 issue-tracking patch vendor-advisory
- RHSA-2026:55855 patch vendor-advisory
- Red Hat CVE page mitigation vdb-entry vendor-advisory
- RHBZ#2498168 issue-tracking vendor-advisory
- www.cve.org
- nvd.nist.gov
- Debian Security Tracker CVE-2026-59842 vendor-advisory
- security.alpinelinux.org vendor-advisory
- bugs.debian.org issue-tracking
- ENISA EUVD EUVD-2026-46176 third-party-advisory