Low
Libssh: libssh: information disclosure via short gssapi curve25519 public key
Type: advisorySources: OSV
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-59842
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 03:09 UTC · Revision 1
Source evidence
Libssh: libssh: information disclosure via short gssapi curve25519 public key
core-osv · Original sourcePublished 21 Jul 2026, 11:08 UTC
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.
osv:CVE-2026-59842
Complete source record
{
"id": "46564d87f19be3c2211764988cb938625ea082c9ebd248c34397f3c38921a34d",
"url": "https://osv.dev/vulnerability/CVE-2026-59842",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Libssh: libssh: information disclosure via short gssapi curve25519 public key",
"summary": "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.",
"evidence": "osv:CVE-2026-59842",
"products": [],
"severity": "low",
"structured": {
"id": "CVE-2026-59842",
"aliases": [
"CVE-2026-59842"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://gitlab.com/libssh/libssh-mirror",
"type": "GIT",
"events": [
{
"introduced": "50313883f3a077458cde4ea95bf46bfeb0771b34"
},
{
"last_affected": "50313883f3a077458cde4ea95bf46bfeb0771b34"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:libssh:libssh:0.12.0:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0.12.0"
},
{
"last_affected": "0.12.0"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"0.12.0",
"libssh-0.12.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-59842.json"
}
}
],
"modified": "2026-10-28T02:30:25.419517575Z",
"provider": "osv",
"references": [
"https://access.redhat.com/downloads/content/package-browser/",
"https://catalog.redhat.com/software/containers/",
"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://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59842.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-59842",
"https://bugzilla.redhat.com/show_bug.cgi?id=2498168"
],
"provider_metadata": {
"cwe_ids": [
"CWE-125"
],
"cna_assigner": "redhat",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"fixed": "0:0.12.0-3.el10_2"
},
{
"fixed": "0.12.1-4.hum1"
}
],
"source": "AFFECTED_FIELD",
"strategy": "InverseAffectedRanges"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59842.json"
}
},
"related_cves": [
{
"value": "CVE-2026-59842",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 492125,
"published_at": "2026-07-21T11:08:30.54+00:00"
}