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.
CVE-2026-58050
Score 7.0 from GitHub Security Advisory (severity: HIGH) published 2026-06-28. NVD baseline CVSS 7.5; sources differ by 0.5.
- High severity, but no confirmed exploitation yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 7.5
- EG Score
- 7.0(high)
- EPSS
- 25.3%
- KEV
- Not listed
Published
June 28, 2026
Last Modified
June 30, 2026
Advisory Details (3)
Auto-updated Jun 28, 2026libssh2 - Integer Overflow in publickey Subsystem Attribute Allocation | Advisories | VulnCheck
https://www.vulncheck.com/advisories/libssh2-integer-overflow-in-publickey-subsystem-attribute-allocationlibssh2/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-58050(2)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Data Freshness Timeline
(refreshed 39× in last 7d / 49× 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 01:44 UTCEG score recompute
- 2026-07-07 01:44 UTCGHSA enrichment
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 13:04 UTCEG score recompute
- 2026-07-06 13:04 UTCGHSA enrichment
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-06 00:21 UTCEG score recompute
- 2026-07-06 00:21 UTCGHSA enrichment
- 2026-07-05 11:39 UTCEG score recompute
- 2026-07-05 11:39 UTCGHSA enrichment
- 2026-07-05 02:31 UTCEPSS rescore
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-04 22:56 UTCEG score recompute
- 2026-07-04 22:56 UTCGHSA enrichment
- 2026-07-04 10:17 UTCEG score recompute
- 2026-07-04 10:16 UTCGHSA enrichment
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-03 21:35 UTCEG score recompute
- 2026-07-03 21:35 UTCGHSA enrichment
- 2026-07-03 08:55 UTCEG score recompute
- 2026-07-03 08:55 UTCGHSA enrichment
- 2026-07-02 20:14 UTCEG score recompute
Show 24 moreShow fewer
- 2026-07-02 20:14 UTCGHSA enrichment
- 2026-07-02 07:34 UTCEG score recompute
- 2026-07-02 07:34 UTCGHSA enrichment
- 2026-07-01 18:53 UTCEG score recompute
- 2026-07-01 18:53 UTCGHSA enrichment
- 2026-07-01 15:07 UTCEPSS rescore
- 2026-07-01 06:13 UTCEG score recompute
- 2026-07-01 06:13 UTCGHSA enrichment
- 2026-06-30 23:22 UTCEPSS rescore
- 2026-06-30 20:33 UTCNVD updateCVSS v3 → 7.5
- 2026-06-30 17:32 UTCEG score recompute
- 2026-06-30 17:32 UTCGHSA enrichment
- 2026-06-30 04:52 UTCEG score recompute
- 2026-06-30 04:52 UTCGHSA enrichment
- 2026-06-29 16:11 UTCEG score recompute
- 2026-06-29 16:11 UTCGHSA enrichment
- 2026-06-29 14:06 UTCEPSS rescore
- 2026-06-29 03:31 UTCEG score recompute
- 2026-06-29 03:30 UTCGHSA enrichment
- 2026-06-28 14:50 UTCEG score recompute
- 2026-06-28 14:50 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-58050?
When was CVE-2026-58050 disclosed?
Is CVE-2026-58050 actively exploited?
What is the CVSS score of CVE-2026-58050?
How do I remediate CVE-2026-58050?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2026-58050
Is Your Infrastructure Affected by CVE-2026-58050?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.