CVE-2026-58050
Last modified
CVE-2026-58050 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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.. EPSS estimates a 0.31% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/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-58050?
How severe is CVE-2026-58050?
How do I fix CVE-2026-58050?
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-58045A flaw in Node.js allows a spoofed `TypedArray` `byteLength`…6.2
- 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-58051libssh2 through 1.11.1 grows its publickey list with SSH2_RE…8.3
- 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
Are you affected by CVE-2026-58050?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
