{"schemaVersion":3,"id":"CVE-2026-58050","aliases":["RHSA-2026:54070","UBUNTU-CVE-2026-58050","DEBIAN-CVE-2026-58050","CGA-223j-qmxj-62fj","CGA-5w5w-j84p-2rvw","CGA-hg8f-pwxf-h6f6","CGA-q3vf-89w8-hm5j","CGA-qj8m-7xx4-95h9","CGA-wmp3-mx5r-hcw9","ALPINE-CVE-2026-58050"],"status":"published","duplicateOf":null,"title":null,"description":"libssh2 through 1.11.1 reads an attacker-controlled 32-bit attribute count from a publickey-subsystem response and uses it in the allocation num_attrs * sizeof(libssh2_publickey_attribute) without bounds checking, so on 32-bit platforms the multiplication overflows to an undersized buffer. A malicious SSH server can then drive the attribute-parsing loop to write past the allocation, causing a heap buffer overflow in a connecting libssh2 client.","dates":{"published":"2026-06-28T01:32:53.582Z","modified":"2026-06-29T12:27:17.078Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.3,"severity":"high","version":"4.0","versionLabel":"v4.0","source":"CVE.org","vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":8.3,"severity":"high","vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/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,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Red hat","score":7,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H","exploitability":5.6,"impact":7.8,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Ubuntu","score":8.3,"severity":"high","vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/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:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Wolfi","score":8.3,"severity":"high","vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Chainguard","score":8.3,"severity":"high","vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":8.3,"severity":"high","vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/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:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Alpine","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true}]},"epss":{"probability":0.00444,"percentile":0.37326,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00444},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00444,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00444,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00444,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00444,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00444,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00444,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00444,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00444,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00444,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00444,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00444,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00444,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00444,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00444,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00444,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00444,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00444,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00444,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00444,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00444,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00444,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00444,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00444,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00444,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00444,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00444,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00444,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00444,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00444,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00444,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00444,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00444,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00444,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00444,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00444,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00444,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00444,"percentile":0.37326}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00444,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00444,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00444,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00444,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00444,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00444,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00444,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00444,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00444,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00444,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00444,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00444,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00444,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00444,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00444,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00444,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00444,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00444,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00444,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00444,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00444,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00444,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00444,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00444,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00444,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00444,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00444,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00444,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00444,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00444,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00444,"percentile":0.37326}]},"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":[{"id":"GITHUB_BIKINI_EXPLOITARIUM","name":"Exploitarium","source":"github","url":"https://web.archive.org/web/20260623211210/https://github.com/bikini/exploitarium/tree/main/libssh2-cve-2026-55200-poc","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-190","name":"Integer Overflow or Wraparound","description":"The product performs a calculation that can\n         produce an integer overflow or wraparound when the logic\n         assumes that the resulting value will always be larger than\n         the original value. This occurs when an integer value is\n         incremented to a value that is too large to store in the\n         associated representation. When this occurs, the value may\n         become a very small or negative number.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/190.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-r4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 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-6","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.10.0-3+deb12u1 | < 1.11.1-1+deb13u2 | < 1.11.1-6","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":"All versions","noFixRecorded":true,"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 | All versions (No fix recorded) | < 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"},{"vendor":"redhat","product":"libssh2","name":"libssh2","label":"libssh2","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/libssh2","purlType":"rpm","versions":[{"text":"< 0:1.11.1-10.4.hum1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:1.11.1-10.4.hum1","eol":null,"hubHref":null},{"vendor":"redhat","product":"libssh2-devel","name":"libssh2-devel","label":"libssh2-devel","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/libssh2-devel","purlType":"rpm","versions":[{"text":"< 0:1.11.1-10.4.hum1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:1.11.1-10.4.hum1","eol":null,"hubHref":null},{"vendor":"redhat","product":"libssh2-docs","name":"libssh2-docs","label":"libssh2-docs","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/libssh2-docs","purlType":"rpm","versions":[{"text":"< 0:1.11.1-10.4.hum1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:1.11.1-10.4.hum1","eol":null,"hubHref":null}],"affectedCount":13,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/bikini/exploitarium/tree/main/libssh2-publickey-list-calc-poc","label":"github.com/bikini/exploitarium/tree/main/libssh2-publickey-list-calc-poc","hostname":"github.com","tags":["Exploit","Third Party Advisory","ARTICLE","REPORT","EVIDENCE","Broken Link"]},{"url":"https://github.com/libssh2/libssh2/blob/master/src/publickey.c","label":"github.com/libssh2/libssh2/blob/master/src/publickey.c","hostname":"github.com","tags":["Product","ARTICLE","REPORT","WEB"]},{"url":"https://www.vulncheck.com/advisories/libssh2-integer-overflow-in-publickey-subsystem-attribute-allocation","label":"www.vulncheck.com/advisories/libssh2-integer-overflow-in-publickey-subsystem-attribute-allocation","hostname":"www.vulncheck.com","tags":["Third Party Advisory","ARTICLE","REPORT","Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2026:54070","label":"access.redhat.com/errata/RHSA-2026:54070","hostname":"access.redhat.com","tags":["Advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-58050","label":"access.redhat.com/security/cve/CVE-2026-58050","hostname":"access.redhat.com","tags":["REPORT"]},{"url":"https://access.redhat.com/security/updates/classification/","label":"access.redhat.com/security/updates/classification/","hostname":"access.redhat.com","tags":["ARTICLE"]},{"url":"https://images.redhat.com/","label":"images.redhat.com","hostname":"images.redhat.com","tags":["ARTICLE"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_54070.json","label":"security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_54070.json","hostname":"security.access.redhat.com","tags":["Advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2493955","label":"bugzilla.redhat.com/show_bug.cgi?id=2493955","hostname":"bugzilla.redhat.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-58050","label":"www.cve.org/CVERecord?id=CVE-2026-58050","hostname":"www.cve.org","tags":["Advisory","REPORT"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-58050","label":"nvd.nist.gov/vuln/detail/CVE-2026-58050","hostname":"nvd.nist.gov","tags":["Advisory","Oval"]},{"url":"https://ubuntu.com/security/CVE-2026-58050","label":"ubuntu.com/security/CVE-2026-58050","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://github.com/libssh2/libssh2/pull/2205#discussion_r3523193089","label":"github.com/libssh2/libssh2/pull/2205","hostname":"github.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-8532-1","label":"ubuntu.com/security/notices/USN-8532-1","hostname":"ubuntu.com","tags":["Advisory"]},{"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-58050","label":"security-tracker.debian.org/tracker/CVE-2026-58050","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/58xxx/CVE-2026-58050.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2026/58xxx/CVE-2026-58050.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2026-58050","label":"security.alpinelinux.org/vuln/CVE-2026-58050","hostname":"security.alpinelinux.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["MGASA-2026-0273","OPENSUSE-SU-2026:11454-1","OPENSUSE-SU-2026:21549-1","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-8532-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-8532-1","USN-8799-1"]},"timeline":[{"kind":"published","date":"2026-06-28T01:32:53.582Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-06-29T12:27:17.078Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":43,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T17:25:38.525Z","stale":false,"partial":false}}