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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-58050— libssh2 - Integer Overflow in publickey Subsystem Attribute Allocation

Quick assessment

Affected
libssh2 libssh2
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

libssh2是libssh2团队开源的一款实现SSH2协议的客户端C库。 libssh2 1.11.1及之前版本存在数字错误漏洞,该漏洞源于整数溢出,在32位平台上乘法溢出导致缓冲区分配不足,可能导致恶意SSH服务器驱动属性解析循环越界写入,造成堆缓冲区溢出。

CVSS 7.0 · High EPSS 0.44% · P37

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application

Affected Version Matrix 1

VendorProduct Version RangeStatus
libssh2 libssh2 ≤ 1.11.1 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-58050

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
libssh2 - Integer Overflow in publickey Subsystem Attribute Allocation
Source: CVE Program / CVE List V5
Vulnerability Description
libssh2 through 1.11.1 reads an attacker-controlled 32-bit attribute count from a publickey-subsystem response and uses it in the allocation num_attrs * sizeof(libssh2_publickey_attribute) without bounds checking, so on 32-bit platforms the multiplication overflows to an undersized buffer. A malicious SSH server can then drive the attribute-parsing loop to write past the allocation, causing a heap buffer overflow in a connecting libssh2 client.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
整数溢出或超界折返
Source: CVE Program / CVE List V5
Vulnerability Title
libssh2 数字错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
libssh2是libssh2团队开源的一款实现SSH2协议的客户端C库。 libssh2 1.11.1及之前版本存在数字错误漏洞,该漏洞源于整数溢出,在32位平台上乘法溢出导致缓冲区分配不足,可能导致恶意SSH服务器驱动属性解析循环越界写入,造成堆缓冲区溢出。
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
libssh2 libssh2 0 ~ 1.11.1 -

II. Public POCs for CVE-2026-58050

# POC Description Source Link Shenlong Link
AI-Generated POC Premium
Qwen3.6-35B-A3B · 11090 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2026-58050

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

Vendor Advisories for CVE-2026-58050 (1)

Proof of Concept for CVE-2026-58050 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-58050

No comments yet


Leave a comment