{"id":"CVE-2026-59842","summary":"Libssh: libssh: information disclosure via short gssapi curve25519 public key","details":"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.","modified":"2026-09-24T03:45:34.116810725Z","published":"2026-07-21T11:08:30.540Z","related":["ALSA-2026:55855"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59842.json","cna_assigner":"redhat","cwe_ids":["CWE-125"]},"references":[{"type":"WEB","url":"https://access.redhat.com/downloads/content/package-browser/"},{"type":"WEB","url":"https://catalog.redhat.com/software/containers/"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:42922"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:55855"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2026-59842"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59842.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59842"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2498168"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://gitlab.com/libssh/libssh-mirror","events":[{"introduced":"50313883f3a077458cde4ea95bf46bfeb0771b34"},{"last_affected":"50313883f3a077458cde4ea95bf46bfeb0771b34"}],"database_specific":{"extracted_events":[{"introduced":"0.12.0"},{"last_affected":"0.12.0"}],"source":"CPE_STRING","cpe":"cpe:2.3:a:libssh:libssh:0.12.0:*:*:*:*:*:*:*"}}],"versions":["0.12.0","libssh-0.12.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-59842.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N"}]}