libssh2 through 1.11.1 grows its publickey list with SSH2_REALLOC but does not zero-initialize new entries before parsing populates them, so a parse failure reaching the cleanup path leaves libssh2_publickey_list_free operating on an uninitialized entry. A malicious SSH server offering the publickey subsystem can use a malformed response to make cleanup free an uninitialized, attacker-influenceable attrs pointer in a connecting libssh2 client.
CVE-2026-58051
Score 6.5 from GitHub Security Advisory (severity: HIGH) published 2026-06-28. a secondary CVSS source baseline 6.5; sources differ by 0.0.
- Lower severity and no public exploit yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 6.5
- EG Score
- 6.5(high)
- EPSS
- 19.9%
- KEV
- Not listed
Published
June 28, 2026
Last Modified
June 30, 2026
Advisory Details (3)
Auto-updated Jun 28, 2026libssh2 - Free of Uninitialized Pointer in publickey List Cleanup | Advisories | VulnCheck
https://www.vulncheck.com/advisories/libssh2-free-of-uninitialized-pointer-in-publickey-list-cleanuplibssh2/src/publickey.c at master · libssh2/libssh2 · GitHub
https://github.com/libssh2/libssh2/blob/master/src/publickey.cexploitarium/libssh2-publickey-list-calc-poc at main · bikini/exploitarium · GitHub
https://github.com/bikini/exploitarium/tree/main/libssh2-publickey-list-calc-pocVendor Advisories for CVE-2026-58051(2)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 24× in last 7d / 32× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-07 04:47 UTCEG score recompute
- 2026-07-07 04:47 UTCGHSA enrichment
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 04:33 UTCEG score recompute
- 2026-07-06 04:32 UTCGHSA enrichment
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-05 04:16 UTCEG score recompute
- 2026-07-05 04:15 UTCGHSA enrichment
- 2026-07-05 02:31 UTCEPSS rescore
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-04 03:55 UTCEG score recompute
- 2026-07-04 03:55 UTCGHSA enrichment
- 2026-07-03 03:24 UTCEG score recompute
- 2026-07-03 03:24 UTCGHSA enrichment
- 2026-07-02 03:09 UTCEG score recompute
- 2026-07-02 03:09 UTCGHSA enrichment
- 2026-07-01 15:07 UTCEPSS rescore
- 2026-07-01 02:55 UTCEG score recompute
- 2026-07-01 02:55 UTCGHSA enrichment
- 2026-06-30 23:22 UTCEPSS rescore
- 2026-06-30 02:40 UTCEG score recompute
Show 7 moreShow fewer
- 2026-06-30 02:40 UTCGHSA enrichment
- 2026-06-29 14:06 UTCEPSS rescore
- 2026-06-29 02:25 UTCEG score recompute
- 2026-06-29 02:25 UTCGHSA enrichment
- 2026-06-28 14:07 UTCEPSS rescore
- 2026-06-28 02:10 UTCEG score recompute
- 2026-06-28 02:09 UTCMITRE cvelistV5first tracked
Frequently asked(5)
What is CVE-2026-58051?
When was CVE-2026-58051 disclosed?
Is CVE-2026-58051 actively exploited?
What is the CVSS score of CVE-2026-58051?
How do I remediate CVE-2026-58051?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2026-58051
Is Your Infrastructure Affected by CVE-2026-58051?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.