CVE-2026-15370: Libssh: libssh: stack buffer overflow in sftp server longname construction
Vulnerability summary
CVE-2026-15370 is a high (CVSS 7.3) Stack-based Buffer Overflow vulnerability in libssh. EPSS estimates a 0.15% chance of exploitation in the next 30 days, higher than 4.6% of scored vulnerabilities.
Not severe (CVSS 6.7, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 9 · Related 7Timeline
- 21-07-2026PublishedVulnerability first disclosed.
- 24-11-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
8 scores · 8 sources · 1 version- CVE.orgCNA6.7MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:HDiffers
- OSV · Red hatEcosystem advisory · calculated6.7MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:HDiffers
- OSV · UbuntuEcosystem advisory · calculated7.3HighCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.3HighCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
- OSV · AlpineEcosystem advisory · calculated7.3HighCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
- OSV · WolfiEcosystem advisory · calculated6.7MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:HDiffers
- OSV · ChainguardEcosystem advisory · calculated6.7MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:HDiffers
EPSS trend
Probability
0.15%
Chance of exploitation in the next 30 days
Percentile
5%
Versus all other CVEs
30-day change
Decrease -0.02 pp
From 0.17% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, user interaction (CVSS vector). Other conditions: not stated in public data.
Redhat13 products
- enterprise_linux10.0 | 10.2
- enterprise_linux_for_els10.2
- enterprise_linux_for_eus10.2
- enterprise_linux_for_ibm_z_systems10.0 | 10.2
- enterprise_linux_for_ibm_z_systems_els10.2
Chainguard3 products
- libssh< 0.12.1-r0
- libssh-dev< 0.12.1-r0
- libssh2All versions (No fix recorded)
Wolfi3 products
- libssh< 0.12.1-r0
- libssh-dev< 0.12.1-r0
- libssh2All versions (No fix recorded)
Alpine1 product
- libssh≥ 0.11.0, < 0.12.1-r0
Debian1 product
- libsshAll versions (No fix recorded) | < 0.11.5-0+deb13u1 | < 0.12.1-1
Libssh1 product
- libssh≥ 0.11.0, < 0.11.5 | 0.12.0
Ubuntu1 product
- libssh< 0.11.3-1ubuntu2.1
7 vendors · 23 products
References
18 links- access.redhat.com/security/cve/CVE-2026-15370VDB EntryX Refsource REDHATREPORTVendor AdvisoryAdvisory
- images.redhat.comARTICLE