CVE-2026-15370
HIGH 7.3CVSS 3.1Libssh: libssh: stack buffer overflow in sftp server longname construction
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.
- Published
- 21 Jul 2026
- Last modified
- 24 Nov 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Analyzed
- Weakness
- CWE-121
- Sources
- NVDJSONCVE ListJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
| NVD | secalert@redhat.com (Secondary) | CVSS 3.1 | MEDIUM 6.7 | CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H |
| CVE List | redhat | CVSS 3.1 | MEDIUM 6.7 | CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H |
| CVE List | CISA-ADP | SSVC | Exploitation: none; Automatable: no; Technical Impact: total |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | libssh | libsshcpe:2.3:a:libssh:libssh:*:*:*:*:*:*:*:* |
>= 0.11.0, < 0.11.5 | 0.11.5 |
| NVD | libssh | libsshcpe:2.3:a:libssh:libssh:0.12.0:*:*:*:*:*:*:* |
= 0.12.0 | |
| NVD | redhat | hardened_imagescpe:2.3:a:redhat:hardened_images:-:*:*:*:*:*:*:* |
(no version) | |
| NVD | redhat | enterprise_linuxcpe:2.3:o:redhat:enterprise_linux:10.0:*:*:*:*:*:*:* |
= 10.0 | |
| NVD | redhat | enterprise_linuxcpe:2.3:o:redhat:enterprise_linux:10.0:*:*:*:*:*:arm64:* |
= 10.0 | |
| NVD | redhat | enterprise_linuxcpe:2.3:o:redhat:enterprise_linux:10.0:*:*:*:*:*:x64:* |
= 10.0 | |
| NVD | redhat | enterprise_linuxcpe:2.3:o:redhat:enterprise_linux:10.2:*:*:*:*:*:arm64:* |
= 10.2 | |
| NVD | redhat | enterprise_linuxcpe:2.3:o:redhat:enterprise_linux:10.2:*:*:*:*:*:x64:* |
= 10.2 | |
| NVD | redhat | enterprise_linux_for_elscpe:2.3:o:redhat:enterprise_linux_for_els:10.2:*:*:*:*:*:arm64:* |
= 10.2 | |
| NVD | redhat | enterprise_linux_for_elscpe:2.3:o:redhat:enterprise_linux_for_els:10.2:*:*:*:*:*:x64:* |
= 10.2 | |
| NVD | redhat | enterprise_linux_for_euscpe:2.3:o:redhat:enterprise_linux_for_eus:10.2:*:*:*:*:*:arm64:* |
= 10.2 | |
| NVD | redhat | enterprise_linux_for_euscpe:2.3:o:redhat:enterprise_linux_for_eus:10.2:*:*:*:*:*:x64:* |
= 10.2 | |
| NVD | redhat | enterprise_linux_for_ibm_z_systemscpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems:10.0:*:*:*:*:*:*:* |
= 10.0 | |
| NVD | redhat | enterprise_linux_for_ibm_z_systemscpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems:10.2:*:*:*:*:*:*:* |
= 10.2 | |
| NVD | redhat | enterprise_linux_for_ibm_z_systems_elscpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems_els:10.2:*:*:*:*:*:*:* |
= 10.2 | |
| NVD | redhat | enterprise_linux_for_ibm_z_systems_euscpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems_eus:10.2:*:*:*:*:*:*:* |
= 10.2 | |
| NVD | redhat | enterprise_linux_for_power_little_endiancpe:2.3:o:redhat:enterprise_linux_for_power_little_endian:10.0:*:*:*:*:*:*:* |
= 10.0 | |
| NVD | redhat | enterprise_linux_for_power_little_endiancpe:2.3:o:redhat:enterprise_linux_for_power_little_endian:10.2:*:*:*:*:*:*:* |
= 10.2 | |
| NVD | redhat | enterprise_linux_for_power_little_endian_elscpe:2.3:o:redhat:enterprise_linux_for_power_little_endian_els:10.2:*:*:*:*:*:*:* |
= 10.2 | |
| NVD | redhat | enterprise_linux_for_power_little_endian_euscpe:2.3:o:redhat:enterprise_linux_for_power_little_endian_eus:10.2:*:*:*:*:*:*:* |
= 10.2 | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | libsshcpe:/o:redhat:enterprise_linux:10.2 |
all versions | |
| CVE List | https://catalog.redhat.com/software/containers/ | libssh-maincpe:/a:redhat:hummingbird:1 |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | libsshcpe:/o:redhat:enterprise_linux:8 |
||
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | libsshcpe:/o:redhat:enterprise_linux:9 |
References
- https://access.redhat.com/errata/RHSA-2026:47768 · Vendor Advisory, vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:55855 · Vendor Advisory, vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2026-15370 · Vendor Advisory, vdb-entry, x_refsource_REDHAT
- https://bugzilla.redhat.com/show_bug.cgi?id=2499049 · Issue Tracking, Vendor Advisory, issue-tracking, x_refsource_REDHAT
History
- 25 Nov 2026 20:36 UTC · CVE List: first stored (published 21 Jul 2026)
- 25 Nov 2026 20:10 UTC · NVD: first stored (published 21 Jul 2026)