Security mailing lists by PureSourceCode

CVE-2026-15370

HIGH 7.3CVSS 3.1

Libssh: 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

SourceScored byVersionScoreVector / 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

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD libssh libssh
cpe:2.3:a:libssh:libssh:*:*:*:*:*:*:*:*
>= 0.11.0, < 0.11.5 0.11.5
NVD libssh libssh
cpe:2.3:a:libssh:libssh:0.12.0:*:*:*:*:*:*:*
= 0.12.0
NVD redhat hardened_images
cpe:2.3:a:redhat:hardened_images:-:*:*:*:*:*:*:*
(no version)
NVD redhat enterprise_linux
cpe:2.3:o:redhat:enterprise_linux:10.0:*:*:*:*:*:*:*
= 10.0
NVD redhat enterprise_linux
cpe:2.3:o:redhat:enterprise_linux:10.0:*:*:*:*:*:arm64:*
= 10.0
NVD redhat enterprise_linux
cpe:2.3:o:redhat:enterprise_linux:10.0:*:*:*:*:*:x64:*
= 10.0
NVD redhat enterprise_linux
cpe:2.3:o:redhat:enterprise_linux:10.2:*:*:*:*:*:arm64:*
= 10.2
NVD redhat enterprise_linux
cpe:2.3:o:redhat:enterprise_linux:10.2:*:*:*:*:*:x64:*
= 10.2
NVD redhat enterprise_linux_for_els
cpe:2.3:o:redhat:enterprise_linux_for_els:10.2:*:*:*:*:*:arm64:*
= 10.2
NVD redhat enterprise_linux_for_els
cpe:2.3:o:redhat:enterprise_linux_for_els:10.2:*:*:*:*:*:x64:*
= 10.2
NVD redhat enterprise_linux_for_eus
cpe:2.3:o:redhat:enterprise_linux_for_eus:10.2:*:*:*:*:*:arm64:*
= 10.2
NVD redhat enterprise_linux_for_eus
cpe:2.3:o:redhat:enterprise_linux_for_eus:10.2:*:*:*:*:*:x64:*
= 10.2
NVD redhat enterprise_linux_for_ibm_z_systems
cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems:10.0:*:*:*:*:*:*:*
= 10.0
NVD redhat enterprise_linux_for_ibm_z_systems
cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems:10.2:*:*:*:*:*:*:*
= 10.2
NVD redhat enterprise_linux_for_ibm_z_systems_els
cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems_els:10.2:*:*:*:*:*:*:*
= 10.2
NVD redhat enterprise_linux_for_ibm_z_systems_eus
cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems_eus:10.2:*:*:*:*:*:*:*
= 10.2
NVD redhat enterprise_linux_for_power_little_endian
cpe:2.3:o:redhat:enterprise_linux_for_power_little_endian:10.0:*:*:*:*:*:*:*
= 10.0
NVD redhat enterprise_linux_for_power_little_endian
cpe:2.3:o:redhat:enterprise_linux_for_power_little_endian:10.2:*:*:*:*:*:*:*
= 10.2
NVD redhat enterprise_linux_for_power_little_endian_els
cpe:2.3:o:redhat:enterprise_linux_for_power_little_endian_els:10.2:*:*:*:*:*:*:*
= 10.2
NVD redhat enterprise_linux_for_power_little_endian_eus
cpe: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/ libssh
cpe:/o:redhat:enterprise_linux:10.2
all versions
CVE List https://catalog.redhat.com/software/containers/ libssh-main
cpe:/a:redhat:hummingbird:1
all versions
CVE List https://access.redhat.com/downloads/content/package-browser/ libssh
cpe:/o:redhat:enterprise_linux:8
CVE List https://access.redhat.com/downloads/content/package-browser/ libssh
cpe:/o:redhat:enterprise_linux:9

References

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)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.