6.7Mittel

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

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 Veröffentlicht: (vor 3 Monaten)

Beschreibung

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.

Schwachstellentyp (CWE): CWE-121

Daten: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Wiedergegeben wie in der Quelle, auf Englisch.

Betroffene Produkte und Versionen

Referenzen und Patches

CPE-Treffer (NVD) (20)

  • cpe:2.3:a:libssh:libssh:*:*:*:*:*:*:*:* ≥ 0.11.0 < 0.11.5
  • cpe:2.3:a:libssh:libssh:0.12.0:*:*:*:*:*:*:*
  • cpe:2.3:a:redhat:hardened_images:-:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux:10.0:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux:10.0:*:*:*:*:*:arm64:*
  • cpe:2.3:o:redhat:enterprise_linux:10.0:*:*:*:*:*:x64:*
  • cpe:2.3:o:redhat:enterprise_linux:10.2:*:*:*:*:*:arm64:*
  • cpe:2.3:o:redhat:enterprise_linux:10.2:*:*:*:*:*:x64:*
  • cpe:2.3:o:redhat:enterprise_linux_for_els:10.2:*:*:*:*:*:arm64:*
  • cpe:2.3:o:redhat:enterprise_linux_for_els:10.2:*:*:*:*:*:x64:*
  • cpe:2.3:o:redhat:enterprise_linux_for_eus:10.2:*:*:*:*:*:arm64:*
  • cpe:2.3:o:redhat:enterprise_linux_for_eus:10.2:*:*:*:*:*:x64:*
  • cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems:10.0:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems:10.2:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems_els:10.2:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems_eus:10.2:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux_for_power_little_endian:10.0:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux_for_power_little_endian:10.2:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux_for_power_little_endian_els:10.2:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux_for_power_little_endian_eus:10.2:*:*:*:*:*:*:*