libssh2 through 1.11.1, fixed
Affects libssh2Source GCVE Database
Not known to be exploited · CVSS 7.7 High · fixed in 1.11.0-4.1ubuntu0.24.04.4 : patch libssh2 soon.
Data as of 24 Nov 2026, 20:56 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 7.7 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 7.5 |
- Patch
- Available – fixed in 1.11.0-4.1ubuntu0.24.04.4, 1.11.1-1ubuntu0.26.04.4
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 24 Jul 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.
What to do
Upgrade the Ubuntu libssh2 to 1.11.0-4.1ubuntu0.24.04.4 (package) or 1.11.1-1ubuntu0.26.04.4 (package).
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.04 LTSlibssh2pkg:deb/ubuntu/libssh2?arch=source&distro=resoluteOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlibssh2pkg:deb/ubuntu/libssh2?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 22.04 LTSlibssh2pkg:deb/ubuntu/libssh2?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu Pro 20.04 LTSlibssh2pkg:deb/ubuntu/libssh2?arch=source&distro=esm-apps/focalOther threats | Affected
| Fixed in– |
Ubuntu Pro 18.04 LTSlibssh2pkg:deb/ubuntu/libssh2?arch=source&distro=esm-apps/bionicOther threats | Affected
| Fixed in– |
Ubuntu Pro 16.04 LTSlibssh2pkg:deb/ubuntu/libssh2?arch=source&distro=esm-apps-legacy/xenialOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
libssh2 through 1.11.1, fixed in commit 42e33d8, contains a pre-authentication heap buffer overflow vulnerability that allows a malicious SSH server to corrupt heap metadata in any connecting client by sending a packet with a packet_length smaller than the cipher's block size during Encrypt-then-MAC cipher negotiation. In the fullpacket() function in src/transport.c, the ETM path allocates a buffer of packet_length bytes but copies blocksize minus one bytes via memcpy, causing an overflow that on 32-bit glibc writes attacker-controlled bytes into an adjacent chunk's SIZE field, enabling tcache bin confusion, overlapping live objects, and function pointer overwrite during the session handshake before authentication.
References
- ubuntu.com/security/CVE-2026-66035 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-66035 (opens in a new tab)
- github.com/libssh2/libssh2/pull/2198 (opens in a new tab)
- vulncheck.com/advisories/libssh2-heap-buffer-overflow-via-etm-cipher-negotiation (opens in a new tab)
- ubuntu.com/security/notices/USN-8722-1 (opens in a new tab)