Skip to content
Fencer Intel
medium 6.7

CVE-2026-15370 json

Libssh: libssh: stack buffer overflow in sftp server longname construction

published 3mo ago modified 4d ago also EUVD-2026-46169

cvss
6.7
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.2%
EPSS 0.2% chance of exploitation in 30 days, percentile 6%
public exploits
0
none known

Summary

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.

Patch / fix

  • Red Hat Red Hat Enterprise Linux 10 0:0.12.0-3.el10_2
  • Red Hat Red Hat Hardened Images 0.12.2-1.hum1
  • libssh Debian 13 0.11.5-0+deb13u1
  • libssh Debian 14 0.12.1-1

debian advisories DEBIAN-CVE-2026-15370

  • libssh Ubuntu 26.04 LTS 0.11.3-1ubuntu2.1

ubuntu advisories UBUNTU-CVE-2026-15370

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • libssh RHEL 10.2 0.12.0-3.el10_2
  • libssh-config RHEL 10.2 0.12.0-3.el10_2
  • libssh hummingbird 1 0.12.2-1.hum1
  • libssh-config hummingbird 1 0.12.2-1.hum1

red hat advisories RHSA-2026:55855RHSA-2026:47768

  • libssh SLES 16.0, Linux Micro 6.2, SLES for SAP applications 16.0 0.11.5-160000.1.1

suse advisories SUSE-SU-2026:22940-1SUSE-SU-2026:22948-1SUSE-SU-2026:22956-1

  • libssh openSUSE Tumbleweed 0.11.5-1.2
  • libssh openSUSE Leap 16.0 0.11.5-160000.1.1

opensuse advisories openSUSE-SU-2026:11377-1openSUSE-SU-2026:21444-1

  • libssh AlmaLinux 10 0.12.0-3.el10_2
  • libssh-config AlmaLinux 10 0.12.0-3.el10_2

almalinux advisories ALSA-2026:55855

  • libssh Rocky Linux 10 0.12.0-3.el10_2

rocky linux advisories RLSA-2026:55855

  • libssh Alpine 3.24 0.12.1-r0

alpine advisories ALPINE-CVE-2026-15370

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Is CVE-2026-15370 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2026-15370 updated cvss 6.7

libssh: libssh: stack buffer overflow in SFTP server longname construction

  • Red Hat Enterprise Linux AppStream (v. 10) libssh-devel 0.12.0-3.el10_2, libssh-debuginfo 0.12.0-3.el10_2, libssh-debugsource 0.12.0-3.el10_2 Red Hat Enterprise Linux BaseOS (v. 10) libssh 0.12.0-3.el10_2, libssh-config 0.12.0-3.el10_2
    fixed: vendor fix “No workaround available.” RHSA-2026:55855
  • Red Hat Hardened Images libssh 0.12.2-1.hum1, libssh-config 0.12.2-1.hum1
    fixed: vendor fix “No workaround available.” RHSA-2026:47768
  • Red Hat Enterprise Linux 8 libssh, libssh-config Red Hat Enterprise Linux 9 libssh, libssh-config
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
total
Assessed
3mo ago

Exploit prediction

0.17% chance of exploitation in the next 30 days, higher than 6% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
CNA 3.1 6.7 CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
NVD 3.1 7.3 CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

Affected products

  • Red Hat Red Hat Enterprise Linux 10
  • Red Hat Red Hat Hardened Images
  • Red Hat Red Hat Enterprise Linux 8
  • Red Hat Red Hat Enterprise Linux 9

Classification

Weakness
  • CWE-121 Stack-based Buffer Overflow

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.