CVE-2026-58051: libssh2 · Use of Uninitialized Resource
Affects libssh2Source CVE Database V5
Public exploit available · CVSS 6.5 Medium.
Data as of 10 Nov 2026, 13:05 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 3.1 | 6.5 |
|---|---|---|
| CNA (VulnCheck) | CVSS 4.0 | 8.3 |
- CISA SSVC
- Exploitation
- Proof of concept is public or traded
- Automatable
- Attackers cannot reliably automate steps 1–4 of the kill chain
- Technical impact
- Limited control over the software or limited information exposure
CISA SSVC assessment, 2026-06-29.
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
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| libssh2libssh2 | Affected
| Fixed in– |
AI-suggested
Until a fix is available, avoid connecting to untrusted SSH servers or those that may offer malformed publickey subsystem responses.
Description
CVE-2026-58051 is a vulnerability in libssh2 up to version 1.11.1 where the publickey list is expanded without zero-initializing new entries. If a parse failure occurs, the cleanup function may operate on uninitialized memory, potentially leading to a use of uninitialized resource. A malicious SSH server could exploit this by sending a malformed publickey subsystem response, causing the client to free an uninitialized pointer.
References
- github.com/bikini/exploitarium/tree/main/libssh2-publickey-list-calc-poc (opens in a new tab)
- github.com/libssh2/libssh2/blob/master/src/publickey.c (opens in a new tab)
- vulncheck.com/advisories/libssh2-free-of-uninitialized-pointer-in-publickey-list-cleanup (opens in a new tab)
- cert-portal.siemens.com/productcert/html/ssa-457936.html (opens in a new tab)