CVE-2026-58051
Last modified
CVE-2026-58051 is a high-severity vulnerability rated 8.3/10 on the CVSS scale. 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.. EPSS estimates a 0.28% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Libssh2 | Libssh2 | <= 1.11.1 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-58051?
How severe is CVE-2026-58051?
How do I fix CVE-2026-58051?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-58046Improper neutralization in the Plesk XML-RPC API allows a re…9.9
- CVE-2026-58047HTTP Smuggling in cPanel allows potential leak of credential…5.6
- CVE-2026-58048Improper preservation of SQL mode when renaming databases in…9.4
- CVE-2026-58049FFmpeg's RASC video decoder (decode_dlta in libavcodec/rasc.…8.8
- CVE-2026-5805A weakness has been identified in code-projects Easy Blog Si…7.3
- CVE-2026-58050libssh2 through 1.11.1 reads an attacker-controlled 32-bit a…7.5
- CVE-2026-580527-Zip for Windows through 26.01 fails to preserve the Mark-o…4.8
- CVE-2026-58053Gitea act_runner with the Docker backend (through act 0.262.…9.9
- CVE-2026-58054Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2026-58055nghttp2's nghttpx proxy through 1.69.0 forwards an HTTP/1.1 …6.3
- CVE-2026-58056RustDesk gates incoming control messages on per-capability f…7.6
- CVE-2026-58057Flowise before 3.1.3 validates Custom MCP stdio environment …5
Are you affected by CVE-2026-58051?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
