{"schemaVersion":3,"id":"CVE-2026-15370","aliases":["RHSA-2026:47768","UBUNTU-CVE-2026-15370","DEBIAN-CVE-2026-15370","CGA-6v8r-wq5j-473c","CGA-fxc3-jv4v-2m2m","CGA-mhjv-9r6q-xmvp","CGA-v3r9-h7h9-6x84","CGA-vq3h-5wgv-pxc8","CGA-wrcr-q353-fm6q"],"status":"published","duplicateOf":null,"title":null,"description":"A flaw was found in libssh. During SFTP server directory listing, the longname field is constructed with unsafe concatenation into a fixed-size stack buffer. When a client causes the server to list attacker-controlled filenames, sufficiently long names can overflow that stack buffer and may lead to crashes or possible code execution on the server.","dates":{"published":"2026-07-21T09:07:34.608Z","modified":"2026-08-17T21:54:00.734Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.3,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":6.7,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Red hat","score":6.7,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H","exploitability":2.1,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.3,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","exploitability":3.3,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":7.3,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","exploitability":3.3,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.3,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00168,"percentile":0.05639,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0.015000000000000017,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00153},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00153,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00153,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00153,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00153,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00153,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00153,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00153,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00153,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00153,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00153,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00168,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00168,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00168,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00168,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00168,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00168,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00168,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00168,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00168,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00168,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00168,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00168,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00168,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00168,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00168,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00168,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00168,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00168,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00168,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00168,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00168,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00168,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00168,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00168,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00168,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00168,"percentile":0.05639}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00153,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00153,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00153,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00153,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00153,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00168,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00168,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00168,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00168,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00168,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00168,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00168,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00168,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00168,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00168,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00168,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00168,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00168,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00168,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00168,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00168,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00168,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00168,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00168,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00168,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00168,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00168,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00168,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00168,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00168,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00168,"percentile":0.05639}]},"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-121","name":"Stack-based Buffer Overflow","description":"A stack-based buffer overflow condition is a condition where the buffer being overwritten is allocated on the stack (i.e., is a local variable or, rarely, a parameter to a function).","type":"weakness","status":"Draft","abstraction":"Variant","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/121.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":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 0.11.5-0+deb13u1","noFixRecorded":false,"fixedIn":null},{"text":"< 0.12.1-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 0.11.5-0+deb13u1 | < 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":"< 0.11.3-1ubuntu2.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.11.3-1ubuntu2.1","eol":null,"hubHref":null},{"vendor":"libssh","product":"libssh","name":"libssh","label":"libssh","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 0.11.0, < 0.11.5","noFixRecorded":false,"fixedIn":null},{"text":"0.12.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 0.11.0, < 0.11.5 | 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"},{"vendor":"redhat","product":"libssh","name":"libssh","label":"libssh","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/libssh","purlType":"rpm","versions":[{"text":"< 0:0.12.2-1.hum1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:0.12.2-1.hum1","eol":null,"hubHref":null},{"vendor":"redhat","product":"libssh-config","name":"libssh-config","label":"libssh-config","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/libssh-config","purlType":"rpm","versions":[{"text":"< 0:0.12.2-1.hum1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:0.12.2-1.hum1","eol":null,"hubHref":null},{"vendor":"redhat","product":"libssh-devel","name":"libssh-devel","label":"libssh-devel","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/libssh-devel","purlType":"rpm","versions":[{"text":"< 0:0.12.2-1.hum1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:0.12.2-1.hum1","eol":null,"hubHref":null}],"affectedCount":22,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://access.redhat.com/errata/RHSA-2026:47768","label":"access.redhat.com/errata/RHSA-2026:47768","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT","Advisory"]},{"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-15370","label":"access.redhat.com/security/cve/CVE-2026-15370","hostname":"access.redhat.com","tags":["VDB Entry","X Refsource REDHAT","REPORT","Vendor Advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2499049","label":"bugzilla.redhat.com/show_bug.cgi?id=2499049","hostname":"bugzilla.redhat.com","tags":["Issue Tracking","X Refsource REDHAT","REPORT","Vendor Advisory"]},{"url":"https://images.redhat.com/","label":"images.redhat.com","hostname":"images.redhat.com","tags":["ARTICLE"]},{"url":"https://access.redhat.com/security/updates/classification/","label":"access.redhat.com/security/updates/classification/","hostname":"access.redhat.com","tags":["ARTICLE"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_47768.json","label":"security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_47768.json","hostname":"security.access.redhat.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-15370","label":"www.cve.org/CVERecord?id=CVE-2026-15370","hostname":"www.cve.org","tags":["Advisory","REPORT"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-15370","label":"nvd.nist.gov/vuln/detail/CVE-2026-15370","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-15370","label":"ubuntu.com/security/CVE-2026-15370","hostname":"ubuntu.com","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-15370.txt","label":"www.libssh.org/security/advisories/CVE-2026-15370.txt","hostname":"www.libssh.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-8699-1","label":"ubuntu.com/security/notices/USN-8699-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-15370","label":"security-tracker.debian.org/tracker/CVE-2026-15370","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["MGASA-2026-0425","OPENSUSE-SU-2026:11377-1","OPENSUSE-SU-2026:21444-1","RHSA-2026:55855","SUSE-SU-2026:22940-1","SUSE-SU-2026:22948-1","SUSE-SU-2026:22956-1","USN-8699-1"],"duplicates":[],"related":["CGA-9VJ6-42F9-3XMP","OPENSUSE-SU-2026:11377-1","OPENSUSE-SU-2026:21444-1","SUSE-SU-2026:22940-1","SUSE-SU-2026:22948-1","SUSE-SU-2026:22956-1","USN-8699-1"]},"timeline":[{"kind":"published","date":"2026-07-21T09:07:34.608Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-08-17T21:54:00.734Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":29,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T13:59:59.028Z","stale":false,"partial":false}}