# CVE-2026-59842: Libssh: libssh: information disclosure via short gssapi curve25519 public key

- Priority: **Routine**
- Reason: Not severe (CVSS 3.7, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-07-21 · Modified: 2026-11-25
- Aliases: UBUNTU-CVE-2026-59842, DEBIAN-CVE-2026-59842, CGA-2hf9-8jgp-rjfm, CGA-37jg-hxfv-32w9, CGA-m3r4-j8g5-38v2, CGA-qm3h-92fp-cmhh, CGA-w2h3-7m3j-84h4, CGA-xfc7-vpcp-r4wh, ALPINE-CVE-2026-59842
- Record: https://cvemate.com/vulnerability/CVE-2026-59842 · JSON: https://cvemate.com/vulnerability/CVE-2026-59842/json

## Description

```text
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.
```

## Signals

- CVSS: 5.3 medium (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- EPSS: 0.537%, percentile 46.762%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine libssh (Alpine Linux): \< 0.12.1-r0
- chainguard libssh (Chainguard): \< 0.12.1-r0
- chainguard libssh-dev (Chainguard): \< 0.12.1-r0
- chainguard libssh2 (Chainguard): All versions (No fix recorded)
- wolfi libssh (Wolfi): \< 0.12.1-r0
- wolfi libssh-dev (Wolfi): \< 0.12.1-r0
- wolfi libssh2 (Wolfi): All versions (No fix recorded)
- debian libssh (Debian): \< 0.12.1-1
- ubuntu libssh (Ubuntu): All versions (No fix recorded)
- libssh libssh: 0.12.0
- redhat enterprise\_linux: 10.0 \| 10.2
- redhat enterprise\_linux\_for\_els: 10.2
- redhat enterprise\_linux\_for\_eus: 10.2
- redhat enterprise\_linux\_for\_ibm\_z\_systems: 10.0 \| 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 \| 10.2
- redhat enterprise\_linux\_for\_power\_little\_endian\_els: 10.2
- redhat enterprise\_linux\_for\_power\_little\_endian\_eus: 10.2
- redhat hardened\_images: na

## References

- <https://access.redhat.com/errata/RHSA-2026:42922>
- <https://access.redhat.com/errata/RHSA-2026:55855>
- <https://access.redhat.com/security/cve/CVE-2026-59842>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2498168>
- <https://ubuntu.com/security/CVE-2026-59842>
- <https://www.cve.org/CVERecord?id=CVE-2026-59842>
- <https://www.libssh.org/2026/07/21/libssh-0-12-1-and-0-11-5-security-releases/>
- <https://www.libssh.org/security/advisories/CVE-2026-59842.txt>
- <https://security-tracker.debian.org/tracker/CVE-2026-59842>
- <https://security.alpinelinux.org/vuln/CVE-2026-59842>
- <https://access.redhat.com/downloads/content/package-browser/>
- <https://catalog.redhat.com/software/containers/>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59842.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-59842>

---

Data as of 2026-12-05T04:23:16.752Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
