CVE-2026-66034Libssh2
High 7.7 No auth needed
Follow: this CVE · Libssh2 · Libssh2 We alert you by email or Slack (account required).
- Priority
- 61
- CVSS 4.0
- 7.7
- EPSS
- —
- Auth required
- No
- Published
- Jul 24, 2026
- Updated
- Nov 10, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:H/VI:H/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, fixed in commit a13bb6c, contains a missing bounds check vulnerability that allows a malicious SSH server to trigger an arbitrary-length heap out-of-bounds read and a free of an uninitialized pointer via the publickey subsystem. In libssh2_publickey_list_fetch(), the version 1 response parser reads a server-controlled comment_len value and advances the parse pointer without verifying sufficient bytes remain in the buffer, causing the out-of-bounds read to leak heap pointers from adjacent allocations defeating ASLR, followed by heap allocator state corruption when the error cleanup path frees an uninitialized pointer from a non-zeroed realloc() region.
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
- Vulnerabilities in the additional GNU/Linux subsystem of the SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP V3.1.7 · Siemens · SSA-457936 · Oct 13, 2026 Critical
- 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:46927 · Jul 28, 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 Patch
- github.com Issue Tracking Patch
- www.vulncheck.com Patch Third Party Advisory
- cert-portal.siemens.com