{"id":"CVE-2026-59842","aliases":["CVE-2026-59842"],"related":[],"kind":"vulnerability","state":"published","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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-07-21T11:08:30.540Z","modified":"2026-11-25T17:17:55.800Z","severity":{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","score":3.7,"rating":"LOW"},"severities":[{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","score":3.7,"rating":"LOW"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"}],"cwes":["CWE-125"],"affected":[{"ranges":[{"type":"rpm","introduced":"0:0.12.0-3.el10_2","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 10","package":"libssh","cpe":"cpe:/o:redhat:enterprise_linux:10.2","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0.12.1-4.hum1","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Hardened Images","package":"libssh-main","cpe":"cpe:/a:redhat:hummingbird:1","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","package":"libssh","cpe":"cpe:/o:redhat:enterprise_linux:8","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","package":"libssh","cpe":"cpe:/o:redhat:enterprise_linux:9","source":"cvelist"},{"ranges":[{"status":"affected","version":"0.12.0"}],"vendor":"libssh","product":"libssh","cpe":"cpe:2.3:a:libssh:libssh:0.12.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"vendor":"redhat","product":"hardened_images","cpe":"cpe:2.3:a:redhat:hardened_images:-:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"10.0"},{"status":"affected","version":"10.0"},{"status":"affected","version":"10.0"},{"status":"affected","version":"10.2"},{"status":"affected","version":"10.2"}],"vendor":"redhat","product":"enterprise_linux","cpe":"cpe:2.3:o:redhat:enterprise_linux:10.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"10.2"},{"status":"affected","version":"10.2"}],"vendor":"redhat","product":"enterprise_linux_for_els","cpe":"cpe:2.3:o:redhat:enterprise_linux_for_els:10.2:*:*:*:*:*:arm64:*","source":"nvd"},{"ranges":[{"status":"affected","version":"10.2"},{"status":"affected","version":"10.2"}],"vendor":"redhat","product":"enterprise_linux_for_eus","cpe":"cpe:2.3:o:redhat:enterprise_linux_for_eus:10.2:*:*:*:*:*:arm64:*","source":"nvd"},{"ranges":[{"status":"affected","version":"10.0"},{"status":"affected","version":"10.2"}],"vendor":"redhat","product":"enterprise_linux_for_ibm_z_systems","cpe":"cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems:10.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"10.2"}],"vendor":"redhat","product":"enterprise_linux_for_ibm_z_systems_els","cpe":"cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems_els:10.2:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"10.2"}],"vendor":"redhat","product":"enterprise_linux_for_ibm_z_systems_eus","cpe":"cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems_eus:10.2:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"10.0"},{"status":"affected","version":"10.2"}],"vendor":"redhat","product":"enterprise_linux_for_power_little_endian","cpe":"cpe:2.3:o:redhat:enterprise_linux_for_power_little_endian:10.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"10.2"}],"vendor":"redhat","product":"enterprise_linux_for_power_little_endian_els","cpe":"cpe:2.3:o:redhat:enterprise_linux_for_power_little_endian_els:10.2:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"10.2"}],"vendor":"redhat","product":"enterprise_linux_for_power_little_endian_eus","cpe":"cpe:2.3:o:redhat:enterprise_linux_for_power_little_endian_eus:10.2:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2026:42922","tags":["issue-tracking","vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:55855","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-59842","tags":["vdb-entry","vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2498168","tags":["issue-tracking","vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]}],"credits":["Red Hat would like to thank Haruki Oyama, Yi Lin, and nevv for reporting this issue."],"assigner":"redhat","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-07-22T14:00:56.434Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-59842","url":"https://www.cve.org/CVERecord?id=CVE-2026-59842","licence":"CVE Terms of Use","modified":"2026-11-25T16:55:33.568Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-59842","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59842","licence":"Public domain","modified":"2026-11-25T17:17:55.800Z"}],"updatedAt":"2026-11-25T23:18:23.081Z","epss":{"score":0.00537,"percentile":0.4671,"date":"2026-12-01T12:00:22.000Z"}}