{"schemaVersion":3,"id":"CVE-2026-59842","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"],"status":"published","duplicateOf":null,"title":null,"description":"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.","dates":{"published":"2026-07-21T11:08:30.540Z","modified":"2026-08-19T04:57:33.551Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.3,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":3.7,"severity":"low","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","exploitability":10,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","exploitability":10,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00493,"percentile":0.41102,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0.085,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00408},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00408,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00408,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00408,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00408,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00408,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00408,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00408,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00408,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00408,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00408,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00493,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00493,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00493,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00493,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00493,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00493,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00493,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00493,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00493,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00493,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00493,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00493,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00493,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00493,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00493,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00493,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00493,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00493,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00493,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00493,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00493,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00493,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00493,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00493,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00493,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00493,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00493,"percentile":0.41102}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00408,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00408,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00408,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00408,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00493,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00493,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00493,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00493,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00493,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00493,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00493,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00493,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00493,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00493,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00493,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00493,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00493,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00493,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00493,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00493,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00493,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00493,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00493,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00493,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00493,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00493,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00493,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00493,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00493,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00493,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00493,"percentile":0.41102}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-125","name":"Out-of-bounds Read","description":"The product reads data past the end, or before the beginning, of the intended buffer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/125.html"}],"affected":[{"vendor":"chainguard","product":"libssh","name":"libssh","label":"libssh","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/libssh","purlType":"apk","versions":[{"text":"< 0.12.1-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.12.1-r0","eol":null,"hubHref":null},{"vendor":"chainguard","product":"libssh-dev","name":"libssh-dev","label":"libssh-dev","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/libssh-dev","purlType":"apk","versions":[{"text":"< 0.12.1-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.12.1-r0","eol":null,"hubHref":null},{"vendor":"chainguard","product":"libssh2","name":"libssh2","label":"libssh2","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/libssh2","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"wolfi","product":"libssh","name":"libssh","label":"libssh","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/libssh","purlType":"apk","versions":[{"text":"< 0.12.1-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.12.1-r0","eol":null,"hubHref":null},{"vendor":"wolfi","product":"libssh-dev","name":"libssh-dev","label":"libssh-dev","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/libssh-dev","purlType":"apk","versions":[{"text":"< 0.12.1-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.12.1-r0","eol":null,"hubHref":null},{"vendor":"wolfi","product":"libssh2","name":"libssh2","label":"libssh2","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/libssh2","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"debian","product":"libssh","name":"libssh","label":"libssh","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/libssh","purlType":"deb","versions":[{"text":"< 0.12.1-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.12.1-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"libssh","name":"libssh","label":"libssh","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/libssh","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"libssh","product":"libssh","name":"libssh","label":"libssh","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"0.12.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"0.12.0","eol":null,"hubHref":"/vendor/libssh/libssh"},{"vendor":"redhat","product":"enterprise_linux","name":"enterprise linux","label":"enterprise_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"10.0","noFixRecorded":false,"fixedIn":null},{"text":"10.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"10.0 | 10.2","eol":{"isEol":false,"eolDate":"2035-05-31T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"10","label":"10 (Upcoming ELS)","eolFrom":"2035-05-31T00:00:00.000Z","isLts":false,"isMaintained":true,"latestVersion":"10.2"},"product":{"name":"rhel","label":"Red Hat Enterprise Linux","category":"os"}},"hubHref":"/vendor/redhat/enterprise_linux"},{"vendor":"redhat","product":"enterprise_linux_for_els","name":"enterprise linux for els","label":"enterprise_linux_for_els","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"10.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"10.2","eol":null,"hubHref":"/vendor/redhat/enterprise_linux_for_els"},{"vendor":"redhat","product":"enterprise_linux_for_eus","name":"enterprise linux for eus","label":"enterprise_linux_for_eus","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"10.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"10.2","eol":null,"hubHref":"/vendor/redhat/enterprise_linux_for_eus"},{"vendor":"redhat","product":"enterprise_linux_for_ibm_z_systems","name":"enterprise linux for ibm z systems","label":"enterprise_linux_for_ibm_z_systems","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"10.0","noFixRecorded":false,"fixedIn":null},{"text":"10.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"10.0 | 10.2","eol":null,"hubHref":"/vendor/redhat/enterprise_linux_for_ibm_z_systems"},{"vendor":"redhat","product":"enterprise_linux_for_ibm_z_systems_els","name":"enterprise linux for ibm z systems els","label":"enterprise_linux_for_ibm_z_systems_els","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"10.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"10.2","eol":null,"hubHref":"/vendor/redhat/enterprise_linux_for_ibm_z_systems_els"},{"vendor":"redhat","product":"enterprise_linux_for_ibm_z_systems_eus","name":"enterprise linux for ibm z systems eus","label":"enterprise_linux_for_ibm_z_systems_eus","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"10.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"10.2","eol":null,"hubHref":"/vendor/redhat/enterprise_linux_for_ibm_z_systems_eus"},{"vendor":"redhat","product":"enterprise_linux_for_power_little_endian","name":"enterprise linux for power little endian","label":"enterprise_linux_for_power_little_endian","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"10.0","noFixRecorded":false,"fixedIn":null},{"text":"10.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"10.0 | 10.2","eol":null,"hubHref":"/vendor/redhat/enterprise_linux_for_power_little_endian"},{"vendor":"redhat","product":"enterprise_linux_for_power_little_endian_els","name":"enterprise linux for power little endian els","label":"enterprise_linux_for_power_little_endian_els","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"10.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"10.2","eol":null,"hubHref":"/vendor/redhat/enterprise_linux_for_power_little_endian_els"},{"vendor":"redhat","product":"enterprise_linux_for_power_little_endian_eus","name":"enterprise linux for power little endian eus","label":"enterprise_linux_for_power_little_endian_eus","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"10.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"10.2","eol":null,"hubHref":"/vendor/redhat/enterprise_linux_for_power_little_endian_eus"},{"vendor":"redhat","product":"hardened_images","name":"hardened images","label":"hardened_images","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/redhat/hardened_images"}],"affectedCount":19,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://access.redhat.com/errata/RHSA-2026:42922","label":"access.redhat.com/errata/RHSA-2026:42922","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT","Issue Tracking"]},{"url":"https://access.redhat.com/errata/RHSA-2026:55855","label":"access.redhat.com/errata/RHSA-2026:55855","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-59842","label":"access.redhat.com/security/cve/CVE-2026-59842","hostname":"access.redhat.com","tags":["VDB Entry","X Refsource REDHAT","Vendor Advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2498168","label":"bugzilla.redhat.com/show_bug.cgi?id=2498168","hostname":"bugzilla.redhat.com","tags":["Issue Tracking","X Refsource REDHAT","Vendor Advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-59842","label":"ubuntu.com/security/CVE-2026-59842","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-59842","label":"www.cve.org/CVERecord?id=CVE-2026-59842","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://www.libssh.org/2026/07/21/libssh-0-12-1-and-0-11-5-security-releases/","label":"www.libssh.org/2026/07/21/libssh-0-12-1-and-0-11-5-security-releases/","hostname":"www.libssh.org","tags":["REPORT"]},{"url":"https://www.libssh.org/security/advisories/CVE-2026-59842.txt","label":"www.libssh.org/security/advisories/CVE-2026-59842.txt","hostname":"www.libssh.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-59842","label":"security-tracker.debian.org/tracker/CVE-2026-59842","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["RHSA-2026:42922","RHSA-2026:55855"],"duplicates":[],"related":["CGA-QF5X-6HCR-WPCH"]},"timeline":[{"kind":"published","date":"2026-07-21T11:08:30.540Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-08-19T04:57:33.551Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":21,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T17:20:48.834Z","stale":false,"partial":false}}