CVE-2026-58051: libssh2 - Free of Uninitialized Pointer
Affects libssh2Source GCVE Database
Not known to be exploited · CVSS 6.5 Medium : upgrade to 1.11.1_3 when convenient.
Data as of 11 Nov 2026, 09:53 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 3.1 | 6.5 |
|---|---|---|
| CNA (VulnCheck) | CVSS 4.0 | 8.3 |
- Patch
- Available – fixed in 1.11.1_3
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:HExploitation evidence
t = 0 is the CVE’s publication on cve.org
Disclosed: evidence found.
CVE published 28 Jun 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: evidence found.
CISA SSVC: proof of concept public
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
Timeline
CVE ID reserved
by VulnCheck
, 37 minutes before disclosure
CVE published
on cve.org
, t = 0
CISA SSVC assessment
proof of concept public
, 35 hours after disclosure
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), CISA SSVC, the Metasploit, Exploit-DB and nuclei-templates index as of 10 Nov 2026.
What to do
Upgrade libssh2 to 1.11.1_3.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewlibssh2pkg:brew/libssh2Other threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade libssh2 to version 1.11.1_3 or later, where this vulnerability is fixed. No other mitigation is required as the patch fully addresses the issue.
Description
A vulnerability in libssh2 versions prior to 1.11.1_3 allows a malicious SSH server to cause the client to operate on an uninitialized pointer during publickey list cleanup. This occurs because new entries in the publickey list are not zero-initialized before parsing, leading to potential use of attacker-controlled memory during cleanup if parsing fails.
References
- cert-portal.siemens.com/productcert/html/ssa-457936.html (opens in a new tab)
- github.com/libssh2/libssh2/blob/master/src/publickey.c (opens in a new tab)
- github.com/CVEProject/cvelistV5/tree/main/cves/2026/58xxx/CVE-2026-58051.json (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-58051 (opens in a new tab)
- vulncheck.com/advisories/libssh2-free-of-uninitialized-pointer-in-publickey-list-cleanup (opens in a new tab)
- github.com/bikini/exploitarium/tree/main/libssh2-publickey-list-calc-poc (opens in a new tab)