Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
Red Hat Red Hat Enterprise Linux 10
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

libssh是libssh组织开源的一个用于访问SSH服务的C语言开发包,它能够执行远程命令、文件传输,同时为远程的程序提供安全的传输通道。 libssh存在缓冲区错误漏洞,该漏洞源于libssh组件在SFTP服务器目录列表期间,将longname字段不安全地连接到一个固定大小的栈缓冲区,当客户端使服务器列出攻击者控制的文件名时,过长的名称会导致栈缓冲区溢出,可能导致服务器崩溃或执行任意代码。

CVSS 6.7 · Medium EPSS 0.17% · P5

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application

Affected Version Matrix 4

VendorProduct Version RangeStatus
Red Hat Red Hat Enterprise Linux 10 0:0.12.0-3.el10_2< * unaffected
Red Hat Red Hat Enterprise Linux 8 any unaffected
Red Hat Red Hat Enterprise Linux 9 any unaffected
Red Hat Red Hat Hardened Images 0.12.2-1.hum1< * unaffected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-15370

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Libssh: libssh: stack buffer overflow in sftp server longname construction
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
栈缓冲区溢出
Source: CVE Program / CVE List V5
Vulnerability Title
libssh 缓冲区错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
libssh是libssh组织开源的一个用于访问SSH服务的C语言开发包,它能够执行远程命令、文件传输,同时为远程的程序提供安全的传输通道。 libssh存在缓冲区错误漏洞,该漏洞源于libssh组件在SFTP服务器目录列表期间,将longname字段不安全地连接到一个固定大小的栈缓冲区,当客户端使服务器列出攻击者控制的文件名时,过长的名称会导致栈缓冲区溢出,可能导致服务器崩溃或执行任意代码。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
Red Hat Red Hat Enterprise Linux 10 0:0.12.0-3.el10_2 ~ * cpe:/o:redhat:enterprise_linux:10.2
Red Hat Red Hat Hardened Images 0.12.2-1.hum1 ~ * cpe:/a:redhat:hummingbird:1
Red Hat Red Hat Enterprise Linux 8 - cpe:/o:redhat:enterprise_linux:8
Red Hat Red Hat Enterprise Linux 9 - cpe:/o:redhat:enterprise_linux:9

II. Public POCs for CVE-2026-15370

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-15370

请登录查看更多情报信息。

Vendor Advisories for CVE-2026-15370 (4)

Same Patch Batch · Red Hat · 2026-07-21 · 20 CVEs total

CVE-2026-59851 8.8 HIGH Libssh: libssh: authentication bypass via missing gssapi principal check
CVE-2026-16493 7.8 HIGH Ansible-core: argument injection in ansible-galaxy collection install via git clone (incom
CVE-2026-16445 7.5 HIGH Dracut: dracut: root code execution via dhcp options command injection in networkmanager i
CVE-2026-15927 6.8 MEDIUM Quay: mirror-registry: ssrf: repo-level mirror accepts external_reference without url vali
CVE-2026-59843 6.5 MEDIUM Libssh: libssh: denial of service via zero advertised channel packet size
CVE-2026-16461 6.5 MEDIUM Rpcbind: rpcbind: stack buffer overflow in rpcinfo rpcbdump() short-mode version-list form
CVE-2026-59844 6.5 MEDIUM Libssh: libssh: denial of service via oversized sftp read length
CVE-2026-59847 5.9 MEDIUM Libssh: libssh: integrity downgrade via openssl aes-gcm tag verification
CVE-2026-15811 5.8 MEDIUM Kronosnet: kronosnet: encryption key exposure in memory after cryptographic configuration
CVE-2026-59845 5.3 MEDIUM Libssh: libssh: denial of service via unchecked proxycommand fork() failure
CVE-2026-59848 5.3 MEDIUM Libssh: libssh: denial of service via sftp responses with unknown request ids
CVE-2026-15812 4.8 MEDIUM Kronosnet: kronosnet: access control list bypass via link id spoofing on unencrypted dynam
CVE-2026-59850 4.3 MEDIUM Libssh: libssh: use-after-free via data callbacks on closed channels
CVE-2026-12548 4.2 MEDIUM Libsoup: heap out-of-bounds read in libsoup due to integer truncation
CVE-2026-59846 3.9 LOW Libssh: libssh: information disclosure via proxycommand %r username expansion
CVE-2026-59842 3.7 LOW Libssh: libssh: information disclosure via short gssapi curve25519 public key
CVE-2026-12547 3.4 LOW Libsoup: information disclosure in libsoup via soupauthmanager proxy credential leak on pr
CVE-2026-59849 3.1 LOW Libssh: libssh: denial of service via automatic certificate authentication loop
CVE-2026-16517 2.9 LOW Libarchive: libarchive: signed integer overflow in archive_write_zip_header

IV. Related Vulnerabilities

V. Comments for CVE-2026-15370

No comments yet


Leave a comment