CVE-2026-58051
CVE-2026-58051 — libssh2 - Free of Uninitialized Pointer in publickey List Cleanup
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.
Published Updated Sources: cvelistV5, VulnCheck
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
<1%
chance of exploitation in 30 days
CVSS base
6.5
MEDIUM
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
PoC
none · proof-of-concept · active
Automatable
No
can an attacker script all four kill-chain steps
Technical impact
Partial
partial · total control of the vulnerable component
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Products (6)
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 6.5 | CVSS 3.1 | MEDIUM | n/a | n/a | cvelistV5 |
Weakness & attack patterns
- CWE-908
References
4 on the record
- github.com/bikini/exploitarium/tree/main/libssh2-publickey-list-calc-poc
exploit, third-party-advisory
- github.com/libssh2/libssh2/blob/master/src/publickey.c
product
- www.vulncheck.com/advisories/libssh2-free-of-uninitialized-pointer-in-publickey-list-cleanup
third-party-advisory
- cert-portal.siemens.com/productcert/html/ssa-457936.html
reference
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2026-55200 libssh2 - Out-of-Bounds Write via Unchecked packet_length in transport.cCVSS 8.3
- CVE-2026-85880 Windows Advanced Local Procedure Call (ALPC) Elevation of Privilege VulnerabilityCVSS 7.8 · CISA KEV
- CVE-2025-5777 NetScaler ADC and NetScaler Gateway - Insufficient input validation leading to memory overreadCVSS 7.5 · CISA KEV
- CVE-2024-50302 Linux Kernel Use of Uninitialized Resource VulnerabilityCVSS 5.5 · CISA KEV
- CVE-2024-29745 Android Pixel Information Disclosure VulnerabilityCVSS 5.5 · CISA KEV
- CVE-2026-15353 SOAP information disclosure through malformed array dimensionsCVSS 6.3
Elsewhere on this site
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.