{"schemaVersion":3,"id":"CVE-2026-66034","aliases":["UBUNTU-CVE-2026-66034","DEBIAN-CVE-2026-66034","CGA-4wfc-2rvc-856x","CGA-5fpx-qqqf-7wjm","CGA-8cmf-c2qg-99px","CGA-cgwh-44mw-r5g6","CGA-qxcm-vpfg-j542","CGA-ww6v-rvx5-c3rg","ALPINE-CVE-2026-66034"],"status":"published","duplicateOf":null,"title":null,"description":"libssh2 through 1.11.1, fixed in commit a13bb6c, contains a missing bounds check vulnerability that allows a malicious SSH server to trigger an arbitrary-length heap out-of-bounds read and a free of an uninitialized pointer via the publickey subsystem. In libssh2_publickey_list_fetch(), the version 1 response parser reads a server-controlled comment_len value and advances the parse pointer without verifying sufficient bytes remain in the buffer, causing the out-of-bounds read to leak heap pointers from adjacent allocations defeating ASLR, followed by heap allocator state corruption when the error cleanup path frees an uninitialized pointer from a non-zeroed realloc() region.","dates":{"published":"2026-07-24T16:42:18.764Z","modified":"2026-07-28T01:06:26.204Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.7,"severity":"high","version":"4.0","versionLabel":"v4.0","source":"CVE.org","vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":7.7,"severity":"high","vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Ubuntu","score":7.7,"severity":"high","vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":4.1,"impact":9.8,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Debian","score":7.7,"severity":"high","vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Wolfi","score":7.7,"severity":"high","vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Chainguard","score":7.7,"severity":"high","vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":7.7,"severity":"high","vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Alpine","score":7.7,"severity":"high","vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":true}]},"epss":{"probability":0.00402,"percentile":0.33313,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.00402},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00402,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00402,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00402,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00402,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00402,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00402,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00402,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00402,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00402,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00402,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00402,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00402,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00402,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00402,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00402,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00402,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00402,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00402,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00402,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00402,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00402,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00402,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00402,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00402,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00402,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00402,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00402,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00402,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00402,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00402,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00402,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00402,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00402,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00402,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00402,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00402,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00402,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00402,"percentile":0.33313}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.00402,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00402,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00402,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00402,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00402,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00402,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00402,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00402,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00402,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00402,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00402,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00402,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00402,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00402,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00402,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00402,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00402,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00402,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00402,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00402,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00402,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00402,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00402,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00402,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00402,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00402,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00402,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00402,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00402,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00402,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00402,"percentile":0.33313}]},"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"},{"id":"CWE-908","name":"Use of Uninitialized Resource","description":"The product uses or accesses a resource that has not been initialized.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/908.html"}],"affected":[{"vendor":"alpine","product":"libssh2","name":"libssh2","label":"libssh2","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/libssh2","purlType":"apk","versions":[{"text":"< 1.11.1-r3","noFixRecorded":false,"fixedIn":null},{"text":"< 1.11.1-r4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.11.1-r3 | < 1.11.1-r4","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":"chainguard","product":"libssh2-dev","name":"libssh2-dev","label":"libssh2-dev","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/libssh2-dev","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"libssh2-doc","name":"libssh2-doc","label":"libssh2-doc","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/libssh2-doc","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","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":"wolfi","product":"libssh2-dev","name":"libssh2-dev","label":"libssh2-dev","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/libssh2-dev","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"wolfi","product":"libssh2-doc","name":"libssh2-doc","label":"libssh2-doc","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/libssh2-doc","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"debian","product":"libssh2","name":"libssh2","label":"libssh2","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/libssh2","purlType":"deb","versions":[{"text":"< 1.10.0-3+deb12u1","noFixRecorded":false,"fixedIn":null},{"text":"< 1.11.1-1+deb13u2","noFixRecorded":false,"fixedIn":null},{"text":"< 1.11.1-5","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.10.0-3+deb12u1 | < 1.11.1-1+deb13u2 | < 1.11.1-5","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"libssh2","name":"libssh2","label":"libssh2","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/libssh2","purlType":"deb","versions":[{"text":"< 1.4.3-2ubuntu0.2+esm4","noFixRecorded":false,"fixedIn":null},{"text":"< 1.5.0-2ubuntu0.1+esm3","noFixRecorded":false,"fixedIn":null},{"text":"< 1.8.0-1ubuntu0.1+esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 1.8.0-2.1ubuntu0.1+esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 1.10.0-3ubuntu0.1","noFixRecorded":false,"fixedIn":null},{"text":"< 1.11.0-4.1ubuntu0.24.04.3","noFixRecorded":false,"fixedIn":null},{"text":"< 1.11.1-1ubuntu0.26.04.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.4.3-2ubuntu0.2+esm4 | < 1.5.0-2ubuntu0.1+esm3 | < 1.8.0-1ubuntu0.1+esm1 | < 1.8.0-2.1ubuntu0.1+esm1 | < 1.10.0-3ubuntu0.1 | < 1.11.0-4.1ubuntu0.24.04.3 | < 1.11.1-1ubuntu0.26.04.3","eol":null,"hubHref":null},{"vendor":"libssh2","product":"libssh2","name":"libssh2","label":"libssh2","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 1.11.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 1.11.1","eol":null,"hubHref":"/vendor/libssh2/libssh2"}],"affectedCount":10,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/libssh2/libssh2/pull/2202","label":"github.com/libssh2/libssh2/pull/2202","hostname":"github.com","tags":["Issue Tracking","Patch","REPORT","FIX"]},{"url":"https://github.com/libssh2/libssh2/commit/a13bb6c773f0d55ad1628cede57e99803cd898d9","label":"github.com/libssh2/libssh2/commit/a13bb6c773f0d55ad1628cede57e99803cd898d9","hostname":"github.com","tags":["Patch","FIX"]},{"url":"https://www.vulncheck.com/advisories/libssh2-heap-out-of-bounds-read-via-publickey-subsystem","label":"www.vulncheck.com/advisories/libssh2-heap-out-of-bounds-read-via-publickey-subsystem","hostname":"www.vulncheck.com","tags":["Third Party Advisory","REPORT","Advisory","Patch"]},{"url":"https://ubuntu.com/security/CVE-2026-66034","label":"ubuntu.com/security/CVE-2026-66034","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-66034","label":"www.cve.org/CVERecord?id=CVE-2026-66034","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-8799-1","label":"ubuntu.com/security/notices/USN-8799-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-66034","label":"security-tracker.debian.org/tracker/CVE-2026-66034","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/66xxx/CVE-2026-66034.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2026/66xxx/CVE-2026-66034.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-66034","label":"nvd.nist.gov/vuln/detail/CVE-2026-66034","hostname":"nvd.nist.gov","tags":["Advisory","Oval"]},{"url":"https://github.com/libssh2/libssh2","label":"github.com/libssh2/libssh2","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2026-66034","label":"security.alpinelinux.org/vuln/CVE-2026-66034","hostname":"security.alpinelinux.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2026:11454-1","OPENSUSE-SU-2026:21549-1","RHSA-2026:46927","RHSA-2026:61752","SUSE-SU-2026:23049-1","SUSE-SU-2026:23187-1","SUSE-SU-2026:23214-1","SUSE-SU-2026:23225-1","SUSE-SU-2026:23245-1","SUSE-SU-2026:3525-1","SUSE-SU-2026:3526-1","SUSE-SU-2026:3541-1","SUSE-SU-2026:4095-1","USN-8799-1"],"duplicates":[],"related":["OPENSUSE-SU-2026:11454-1","OPENSUSE-SU-2026:21549-1","SUSE-SU-2026:23049-1","SUSE-SU-2026:23187-1","SUSE-SU-2026:23214-1","SUSE-SU-2026:23225-1","SUSE-SU-2026:23245-1","SUSE-SU-2026:3525-1","SUSE-SU-2026:3526-1","SUSE-SU-2026:3541-1","SUSE-SU-2026:4095-1","USN-8799-1"]},"timeline":[{"kind":"published","date":"2026-07-24T16:42:18.764Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-07-28T01:06:26.204Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":31,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T19:08:24.253Z","stale":false,"partial":false}}