
CVE catalog
CVE-2026-59842
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 o
- Severity
- Low · CVSS 3.7
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.49% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | libssh | sid | 0.12.2-1 | fixed |
| Debian | libssh | forky | 0.12.2-1 | fixed |
| Debian | libssh | trixie | 0.11.5-0+deb13u1 | not affected |
| Debian | libssh | trixie-security | 0.11.5-0+deb13u1 | not affected |
| Debian | libssh | bookworm | 0.10.6-0+deb12u2 | not affected |
| Debian | libssh | bookworm-security | 0.10.6-0+deb12u3 | not affected |
| Cpe | libssh | Not reported | Not reported | not affected |
| Cpe | libssh | Not reported | Not reported | unknown |
| Cpe | hardened_images | Not reported | Not reported | unknown |
| Cpe | enterprise_linux | Not reported | Not reported | unknown |
| Cpe | enterprise_linux_for_els | Not reported | Not reported | unknown |
| Cpe | enterprise_linux_for_eus | Not reported | Not reported | unknown |
| Cpe | enterprise_linux_for_ibm_z_systems | Not reported | Not reported | unknown |
| Cpe | enterprise_linux_for_ibm_z_systems_els | Not reported | Not reported | unknown |
| Cpe | enterprise_linux_for_ibm_z_systems_eus | Not reported | Not reported | unknown |
| Cpe | enterprise_linux_for_power_little_endian | Not reported | Not reported | unknown |
| Cpe | enterprise_linux_for_power_little_endian_els | Not reported | Not reported | unknown |
| Cpe | enterprise_linux_for_power_little_endian_eus | Not reported | Not reported | unknown |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | libssh | source | sid | 0.12.1-1 | not yet assigned | Not reported | [1142537] |
| Debian | libssh | source | forky | 0.12.1-1 | not yet assigned | Not reported | [1142537] |
| Debian | libssh | source | trixie | Not affected | unimportant | Not reported | [1142537] |
| Debian | libssh | source | bookworm | Not affected | unimportant | Not reported | [1142537] |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libssh-4]Not affected
Source package: [libssh]
Details (4)
0.10.6-0+deb12u2· amd64 · bookwormNot affected
nvd · libssh · debian · bookworm
0.10.6-0+deb12u2· arm64 · bookwormNot affected
nvd · libssh · debian · bookworm
0.10.6-0+deb12u1· amd64 · bookworm-securityNot affected
nvd · libssh · debian · bookworm
0.10.6-0+deb12u1· arm64 · bookworm-securityNot affected
nvd · libssh · debian · bookworm
- [libssh-dev]Not affected
Source package: [libssh]
Details (4)
0.10.6-0+deb12u2· amd64 · bookwormNot affected
nvd · libssh · debian · bookworm
0.10.6-0+deb12u2· arm64 · bookwormNot affected
nvd · libssh · debian · bookworm
0.10.6-0+deb12u1· amd64 · bookworm-securityNot affected
nvd · libssh · debian · bookworm
0.10.6-0+deb12u1· arm64 · bookworm-securityNot affected
nvd · libssh · debian · bookworm
- [libssh-doc]Not affected
Source package: [libssh]
Details (4)
0.10.6-0+deb12u2· all · bookwormNot affected
nvd · libssh · debian · bookworm
0.10.6-0+deb12u2· all · bookwormNot affected
nvd · libssh · debian · bookworm
0.10.6-0+deb12u1· all · bookworm-securityNot affected
nvd · libssh · debian · bookworm
0.10.6-0+deb12u1· all · bookworm-securityNot affected
nvd · libssh · debian · bookworm
- [libssh-gcrypt-4]Not affected
Source package: [libssh]
Details (4)
0.10.6-0+deb12u2· amd64 · bookwormNot affected
nvd · libssh · debian · bookworm
0.10.6-0+deb12u2· arm64 · bookwormNot affected
nvd · libssh · debian · bookworm
0.10.6-0+deb12u1· amd64 · bookworm-securityNot affected
nvd · libssh · debian · bookworm
0.10.6-0+deb12u1· arm64 · bookworm-securityNot affected
nvd · libssh · debian · bookworm
- [libssh-gcrypt-dev]Not affected
Source package: [libssh]
Details (4)
0.10.6-0+deb12u2· amd64 · bookwormNot affected
nvd · libssh · debian · bookworm
0.10.6-0+deb12u2· arm64 · bookwormNot affected
nvd · libssh · debian · bookworm
0.10.6-0+deb12u1· amd64 · bookworm-securityNot affected
nvd · libssh · debian · bookworm
0.10.6-0+deb12u1· arm64 · bookworm-securityNot affected
nvd · libssh · debian · bookworm
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/rhsa-2026_55855.json]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-59842]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-59842]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2026-59842]
- [https://security-tracker.debian.org/tracker/CVE-2026-59842]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-59842.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-2428.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]