7.3

CVE-2026-15370: Libssh: libssh: stack buffer overflow in sftp server longname construction

Analyzed
AliasesRHSA-2026:47768UBUNTU-CVE-2026-15370DEBIAN-CVE-2026-15370
Published 21-07-2026Last modified 24-11-2026

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.

Priority
Routine

Not severe (CVSS 6.7, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.3/10
010
High · v3.1 (NVD)
EPSS score
0.15%
0%100%
Low · -0.02 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 9 · Related 7

Timeline

  1. 21-07-2026
    PublishedVulnerability first disclosed.
  2. 24-11-2026
    Last 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

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

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, low-privilege account, user interaction (CVSS vector). Other conditions: not stated in public data.

Redhat13 products
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
Show all 18 references