Skip to main content
CVE-2026-66035VulnerabilityPublished Updated

libssh2 through 1.11.1, fixed

Affects libssh2Source GCVE Database

0
Compare
Authoritative record:CVE-2026-66035· High 7.7

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

CVSS 4.0 base score
7.7High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (VulnCheck)CVSS 4.07.7
CNA (VulnCheck)CVSS 3.17.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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 24 Jul 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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).

Affected software

ProductAffectedFixed in
Ubuntu 26.04 LTSlibssh2pkg:deb/ubuntu/libssh2?arch=source&distro=resoluteOther threatsAffected
  • <1.11.1-1ubuntu0.26.04.4
Fixed in
  • 1.11.1-1ubuntu0.26.04.4
Ubuntu 24.04 LTSlibssh2pkg:deb/ubuntu/libssh2?arch=source&distro=nobleOther threatsAffected
  • <1.11.0-4.1ubuntu0.24.04.4
Fixed in
  • 1.11.0-4.1ubuntu0.24.04.4
Ubuntu 22.04 LTSlibssh2pkg:deb/ubuntu/libssh2?arch=source&distro=jammyOther threatsAffected
  • 1.9.0-3 – 1.10.0-3ubuntu0.1
5 affected builds
Fixed in–
Ubuntu Pro 20.04 LTSlibssh2pkg:deb/ubuntu/libssh2?arch=source&distro=esm-apps/focalOther threatsAffected
  • =1.8.0-2.1build1
  • =1.8.0-2.1ubuntu0.1
  • =1.8.0-2.1ubuntu0.1+esm1
Fixed in–
Ubuntu Pro 18.04 LTSlibssh2pkg:deb/ubuntu/libssh2?arch=source&distro=esm-apps/bionicOther threatsAffected
  • =1.8.0-1
  • =1.8.0-1ubuntu0.1
  • =1.8.0-1ubuntu0.1+esm1
Fixed in–
Ubuntu Pro 16.04 LTSlibssh2pkg:deb/ubuntu/libssh2?arch=source&distro=esm-apps-legacy/xenialOther threatsAffected
  • 1.5.0-2 – 1.5.0-2ubuntu0.1+esm3
5 affected builds
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

Community reviews

Loading reviews…