CVE-2026-15370
published medium CVSS 3.1 · 6.7Libssh: libssh: stack buffer overflow in sftp server longname construction
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | 10 | libssh0:0.12.0-3.el10_2 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | libssh-mainRed Hat Hardened Images · 0.12.2-1.hum1 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat Enterprise Linux | 8, 9 | libssh | Unaffected | Not required | redhat |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Alpine Linux | edge | libssh | Fixed | 0.12.1-r0 | Package fix record |
| Debian | trixie | libssh | Advisory build | 0.11.5-0+deb13u1 | DSA-6410-1 |
| Oracle Linux | 10 | libsshaarch64 | Advisory build | 0:0.12.0-3.el10_2 | ELSA-2026-55855 |
Show 76 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | RHEL-10 | libsshaarch64 | Advisory build | 0.12.0-3.el10_2 | RHSA-2026:55855 |
| Ubuntu | resolute | libssh | Advisory build | 0.11.3-1ubuntu2.1 | USN-8699-1 |
| AlmaLinux | 10 | libssh-config | Advisory build | 0.12.0-3.el10_2 | ALSA-2026:55855 |
| SUSE / openSUSE | SLE-16 | libssh-confignoarch | Advisory build | 0.11.5-160000.1.1 | SUSE-SU-2026:22948-1 |
| Rocky Linux | 10 | libsshaarch64 | Listed in advisory | Not stated | RLSA-2026:55855 |
| Alpine Linux | v3.24 | libssh | Fixed | 0.12.1-r0 | Package fix record |
| Oracle Linux | 10 | libsshx86_64 | Advisory build | 0:0.12.0-3.el10_2 | ELSA-2026-55855 |
| Red Hat Enterprise Linux | RHEL-10 | libsshppc64le | Advisory build | 0.12.0-3.el10_2 | RHSA-2026:55855 |
| Red Hat Enterprise Linux | RHEL-10 | libsshs390x | Advisory build | 0.12.0-3.el10_2 | RHSA-2026:55855 |
| Red Hat Enterprise Linux | RHEL-10 | libsshsrc | Advisory build | 0.12.0-3.el10_2 | RHSA-2026:55855 |
| Red Hat Enterprise Linux | RHEL-10 | libsshx86_64 | Advisory build | 0.12.0-3.el10_2 | RHSA-2026:55855 |
| Oracle Linux | 10 | libssh-configaarch64 | Advisory build | 0:0.12.0-3.el10_2 | ELSA-2026-55855 |
| Oracle Linux | 10 | libssh-configx86_64 | Advisory build | 0:0.12.0-3.el10_2 | ELSA-2026-55855 |
| Oracle Linux | 10 | libssh-develaarch64 | Advisory build | 0:0.12.0-3.el10_2 | ELSA-2026-55855 |
| Oracle Linux | 10 | libssh-develx86_64 | Advisory build | 0:0.12.0-3.el10_2 | ELSA-2026-55855 |
| Red Hat Enterprise Linux | RHEL-10 | libssh-confignoarch | Advisory build | 0.12.0-3.el10_2 | RHSA-2026:55855 |
| Red Hat Enterprise Linux | RHEL-10 | libssh-debuginfoaarch64 | Advisory build | 0.12.0-3.el10_2 | RHSA-2026:55855 |
| Red Hat Enterprise Linux | RHEL-10 | libssh-debuginfoppc64le | Advisory build | 0.12.0-3.el10_2 | RHSA-2026:55855 |
| Red Hat Enterprise Linux | RHEL-10 | libssh-debuginfos390x | Advisory build | 0.12.0-3.el10_2 | RHSA-2026:55855 |
| Red Hat Enterprise Linux | RHEL-10 | libssh-debuginfox86_64 | Advisory build | 0.12.0-3.el10_2 | RHSA-2026:55855 |
| Red Hat Enterprise Linux | RHEL-10 | libssh-debugsourceaarch64 | Advisory build | 0.12.0-3.el10_2 | RHSA-2026:55855 |
| Red Hat Enterprise Linux | RHEL-10 | libssh-debugsourceppc64le | Advisory build | 0.12.0-3.el10_2 | RHSA-2026:55855 |
| Red Hat Enterprise Linux | RHEL-10 | libssh-debugsources390x | Advisory build | 0.12.0-3.el10_2 | RHSA-2026:55855 |
| Red Hat Enterprise Linux | RHEL-10 | libssh-debugsourcex86_64 | Advisory build | 0.12.0-3.el10_2 | RHSA-2026:55855 |
| Red Hat Enterprise Linux | RHEL-10 | libssh-develaarch64 | Advisory build | 0.12.0-3.el10_2 | RHSA-2026:55855 |
| Red Hat Enterprise Linux | RHEL-10 | libssh-develppc64le | Advisory build | 0.12.0-3.el10_2 | RHSA-2026:55855 |
| Red Hat Enterprise Linux | RHEL-10 | libssh-devels390x | Advisory build | 0.12.0-3.el10_2 | RHSA-2026:55855 |
| Red Hat Enterprise Linux | RHEL-10 | libssh-develx86_64 | Advisory build | 0.12.0-3.el10_2 | RHSA-2026:55855 |
| SUSE / openSUSE | SLE-16 | libssh-confignoarch | Advisory build | 0.11.5-160000.1.1 | SUSE-SU-2026:22956-1 |
| SUSE / openSUSE | SLE-16 | libssh-develaarch64 | Advisory build | 0.11.5-160000.1.1 | SUSE-SU-2026:22948-1 |
| SUSE / openSUSE | SLE-16 | libssh-develaarch64 | Advisory build | 0.11.5-160000.1.1 | SUSE-SU-2026:22956-1 |
| SUSE / openSUSE | SLE-16 | libssh-develppc64le | Advisory build | 0.11.5-160000.1.1 | SUSE-SU-2026:22948-1 |
| SUSE / openSUSE | SLE-16 | libssh-develppc64le | Advisory build | 0.11.5-160000.1.1 | SUSE-SU-2026:22956-1 |
| SUSE / openSUSE | SLE-16 | libssh-devels390x | Advisory build | 0.11.5-160000.1.1 | SUSE-SU-2026:22948-1 |
| SUSE / openSUSE | SLE-16 | libssh-devels390x | Advisory build | 0.11.5-160000.1.1 | SUSE-SU-2026:22956-1 |
| SUSE / openSUSE | SLE-16 | libssh-develx86_64 | Advisory build | 0.11.5-160000.1.1 | SUSE-SU-2026:22948-1 |
| SUSE / openSUSE | SLE-16 | libssh-develx86_64 | Advisory build | 0.11.5-160000.1.1 | SUSE-SU-2026:22956-1 |
| SUSE / openSUSE | SLE-16 | libssh4aarch64 | Advisory build | 0.11.5-160000.1.1 | SUSE-SU-2026:22948-1 |
| SUSE / openSUSE | SLE-16 | libssh4aarch64 | Advisory build | 0.11.5-160000.1.1 | SUSE-SU-2026:22956-1 |
| SUSE / openSUSE | SLE-16 | libssh4ppc64le | Advisory build | 0.11.5-160000.1.1 | SUSE-SU-2026:22948-1 |
| SUSE / openSUSE | SLE-16 | libssh4ppc64le | Advisory build | 0.11.5-160000.1.1 | SUSE-SU-2026:22956-1 |
| SUSE / openSUSE | SLE-16 | libssh4s390x | Advisory build | 0.11.5-160000.1.1 | SUSE-SU-2026:22948-1 |
| SUSE / openSUSE | SLE-16 | libssh4s390x | Advisory build | 0.11.5-160000.1.1 | SUSE-SU-2026:22956-1 |
| SUSE / openSUSE | SLE-16 | libssh4x86_64 | Advisory build | 0.11.5-160000.1.1 | SUSE-SU-2026:22948-1 |
| SUSE / openSUSE | SLE-16 | libssh4x86_64 | Advisory build | 0.11.5-160000.1.1 | SUSE-SU-2026:22956-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libssh-confignoarch | Advisory build | 0.11.5-160000.1.1 | OPENSUSE-SU-2026:21444-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libssh-develaarch64 | Advisory build | 0.11.5-160000.1.1 | OPENSUSE-SU-2026:21444-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libssh-develppc64le | Advisory build | 0.11.5-160000.1.1 | OPENSUSE-SU-2026:21444-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libssh-devels390x | Advisory build | 0.11.5-160000.1.1 | OPENSUSE-SU-2026:21444-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libssh-develx86_64 | Advisory build | 0.11.5-160000.1.1 | OPENSUSE-SU-2026:21444-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libssh4aarch64 | Advisory build | 0.11.5-160000.1.1 | OPENSUSE-SU-2026:21444-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libssh4ppc64le | Advisory build | 0.11.5-160000.1.1 | OPENSUSE-SU-2026:21444-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libssh4s390x | Advisory build | 0.11.5-160000.1.1 | OPENSUSE-SU-2026:21444-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libssh4x86_64 | Advisory build | 0.11.5-160000.1.1 | OPENSUSE-SU-2026:21444-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libssh-configaarch64 | Advisory build | 0.11.5-1.1 | OPENSUSE-SU-2026:11377-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libssh-configppc64le | Advisory build | 0.11.5-1.1 | OPENSUSE-SU-2026:11377-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libssh-configs390x | Advisory build | 0.11.5-1.1 | OPENSUSE-SU-2026:11377-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libssh-configx86_64 | Advisory build | 0.11.5-1.1 | OPENSUSE-SU-2026:11377-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libssh-develaarch64 | Advisory build | 0.11.5-1.1 | OPENSUSE-SU-2026:11377-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libssh-develppc64le | Advisory build | 0.11.5-1.1 | OPENSUSE-SU-2026:11377-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libssh-devels390x | Advisory build | 0.11.5-1.1 | OPENSUSE-SU-2026:11377-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libssh-develx86_64 | Advisory build | 0.11.5-1.1 | OPENSUSE-SU-2026:11377-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libssh4aarch64 | Advisory build | 0.11.5-1.1 | OPENSUSE-SU-2026:11377-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libssh4ppc64le | Advisory build | 0.11.5-1.1 | OPENSUSE-SU-2026:11377-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libssh4s390x | Advisory build | 0.11.5-1.1 | OPENSUSE-SU-2026:11377-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libssh4x86_64 | Advisory build | 0.11.5-1.1 | OPENSUSE-SU-2026:11377-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libssh4-32bitaarch64 | Advisory build | 0.11.5-1.2 | OPENSUSE-SU-2026:11377-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libssh4-32bitppc64le | Advisory build | 0.11.5-1.2 | OPENSUSE-SU-2026:11377-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libssh4-32bits390x | Advisory build | 0.11.5-1.2 | OPENSUSE-SU-2026:11377-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libssh4-32bitx86_64 | Advisory build | 0.11.5-1.2 | OPENSUSE-SU-2026:11377-1 |
| Ubuntu | resolute | libssh-4 | Advisory build | 0.11.3-1ubuntu2.1 | USN-8699-1 |
| Rocky Linux | 10 | libsshsrc | Listed in advisory | Not stated | RLSA-2026:55855 |
| Rocky Linux | 10 | libssh-confignoarch | Listed in advisory | Not stated | RLSA-2026:55855 |
| Rocky Linux | 10 | libssh-debuginfoaarch64 | Listed in advisory | Not stated | RLSA-2026:55855 |
| Rocky Linux | 10 | libssh-debugsourceaarch64 | Listed in advisory | Not stated | RLSA-2026:55855 |
| Rocky Linux | 10 | libssh-develaarch64 | Listed in advisory | Not stated | RLSA-2026:55855 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.7 / 10
- Severity
- medium
- Provider
- redhat · cna
- Vector string
- CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Red Hat | Red Hat Enterprise Linux 10 | 0:0.12.0-3.el10_2 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Hardened Images | 0.12.2-1.hum1 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 8 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 9 | Default: unaffected | redhat · cna |
Weaknesses
1- CWE-121 Stack-based Buffer Overflow
References
4- RHSA-2026:47768 https://access.redhat.com/errata/RHSA-2026:47768
- RHSA-2026:55855 https://access.redhat.com/errata/RHSA-2026:55855
- https://access.redhat.com/security/cve/CVE-2026-15370
- RHBZ#2499049 https://bugzilla.redhat.com/show_bug.cgi?id=2499049
Provider assertions
2redhat · cna
Libssh: libssh: stack buffer overflow in sftp server longname construction
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- db4360a92cdd84add4d61270912b9ebe5ec10de776b4706b001d0bcf92a27c0c
- Ingested
- 24 Nov 2026, 10:27:25 UTC
- Source record
- Official CVE record