- 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
- disclosure@vulncheck.com
- NVD status
- Analyzed
- Products
- libssh2
CVSS 4.0
- Type
- Secondary
- Base score
- 8.3
- Impact score
- -
- Exploitability score
- -
- Vector string
- CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- Severity
- HIGH
CVSS 3.1
- Type
- Primary
- Base score
- 7.5
- Impact score
- 3.6
- Exploitability score
- 3.9
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Severity
- HIGH
- disclosure@vulncheck.com
- CWE-190
- Hype score
- Not currently trending
libssh2の脆弱性CVE-2026-58050に対する概念実証(PoC)エクスプロイトが公開される libssh2 Vulnerability CVE-2026-58050 Gets Public PoC Exploit #DailyCyberSecurity (Jun 28) https://t.co/SxHMqm068O
@foxbook
29 Jun 2026
183 Impressions
0 Retweets
0 Likes
0 Bookmarks
0 Replies
0 Quotes
🚨High - libssh2 Multiple Memory Corruption Issues (CVE-2026-58050 & CVE-2026-58051) Two related vulnerabilities in libssh2 through 1.11.1: CVE-2026-58050: Integer overflow in publickey subsystem attribute allocation on 32-bit platforms allows heap buffer overflow.
@UpwindMDR
28 Jun 2026
84 Impressions
0 Retweets
0 Likes
0 Bookmarks
0 Replies
0 Quotes
CVE-2026-58050 Heap Buffer Overflow in libssh2 Through 1.11.1 via Integer Overflow https://t.co/JBzaHo34Ua
@VulmonFeeds
28 Jun 2026
106 Impressions
0 Retweets
0 Likes
0 Bookmarks
0 Replies
0 Quotes
[
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:a:libssh2:libssh2:*:*:*:*:*:*:*:*",
"matchCriteriaId": "00D62356-F677-41CF-AC66-2871AD2112BA",
"versionEndIncluding": "1.11.1",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
]