CVE-2026-58050Libssh2
High 8.3 No auth needed
Follow: this CVE · Libssh2 · Libssh2 We alert you by email or Slack (account required).
- Priority
- 65
- CVSS 4.0
- 8.3
- EPSS
- —
- Auth required
- No
- Published
- Jun 28, 2026
- Updated
- Oct 25, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-190
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
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
What happens
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.
What to do
- Apply the vendor's security update for Libssh2.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| libssh2 | libssh2 | ≤ 1.11.1 |
Official advisories
- Security update for libssh2_org · SUSE · SUSE-SU-2026:4095-1 · Sep 9, 2026 High
- Red Hat Security Advisory: libssh2 security update · Red Hat · RHSA-2026:61752 · Sep 1, 2026 High
- Security update for libssh2_org · SUSE · SUSE-SU-2026:23245-1 · Aug 19, 2026 High
- Security update for libssh2_org · SUSE · SUSE-SU-2026:23187-1 · Aug 17, 2026 High
- Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update · Red Hat · RHSA-2026:54070 · Aug 12, 2026 High
Also: SUSE (+8)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Broken Link
- github.com Product
- www.vulncheck.com Third Party Advisory