Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

libssh2 through 1.11.1, fixed in commit a13bb6c, contains a missing bounds check vulnerability that allows a malicious SSH server to trigger an… (CVE-2026-66034)

0
Medium
Published: 07/24/2026 (07/24/2026, 17:17:00 UTC)
Source: GCVE Database
Product: libssh2

Description

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.

CVSS v3.1

Score 7.5high

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected software

Ubuntu:Pro:14.04:LTSmore threats →ghsa
libssh2
pkg:deb/ubuntu/libssh2?arch=source&distro=esm-infra-legacy/trusty
Affected versions
=1.4.3-1=1.4.3-2=1.4.3-2ubuntu0.1=1.4.3-2ubuntu0.2=1.4.3-2ubuntu0.2+esm1=1.4.3-2ubuntu0.2+esm2=1.4.3-2ubuntu0.2+esm3
Ubuntu:Pro:16.04:LTSmore threats →ghsa
libssh2
pkg:deb/ubuntu/libssh2?arch=source&distro=esm-apps/xenial
Affected versions
=1.5.0-2=1.5.0-2ubuntu0.1=1.5.0-2ubuntu0.1+esm1=1.5.0-2ubuntu0.1+esm2
Ubuntu:18.04:LTSmore threats →ghsa
libssh2
pkg:deb/ubuntu/libssh2?arch=source&distro=bionic
Affected versions
=1.8.0-1=1.8.0-1ubuntu0.1
Ubuntu:20.04:LTSmore threats →ghsa
libssh2
pkg:deb/ubuntu/libssh2?arch=source&distro=focal
Affected versions
=1.8.0-2.1build1=1.8.0-2.1ubuntu0.1
Ubuntu:22.04:LTSmore threats →ghsa
libssh2
pkg:deb/ubuntu/libssh2?arch=source&distro=jammy
Affected versions
=1.9.0-3=1.10.0-2=1.10.0-2build1=1.10.0-3
Ubuntu:24.04:LTSmore threats →ghsa
libssh2
pkg:deb/ubuntu/libssh2?arch=source&distro=noble
Affected versions
=1.11.0-2=1.11.0-3=1.11.0-4=1.11.0-4.1build1=1.11.0-4.1build2=1.11.0-4.1ubuntu0.24.04.1=1.11.0-4.1ubuntu0.24.04.2=1.11.0-4.1ubuntu0.24.04.3
Ubuntu:26.04:LTSmore threats →ghsa
libssh2
pkg:deb/ubuntu/libssh2?arch=source&distro=resolute
Affected versions
=1.11.1-1build1=1.11.1-1build2=1.11.1-1ubuntu0.26.04.1=1.11.1-1ubuntu0.26.04.2=1.11.1-1ubuntu0.26.04.3

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

Technical Details

Gcve Source
db.gcve.eu
Osv Id
UBUNTU-CVE-2026-66034
Osv Schema Version
1.7.0
Aliases
[]
Ecosystems
["Ubuntu:Pro:14.04:LTS","Ubuntu:Pro:16.04:LTS","Ubuntu:18.04:LTS","Ubuntu:20.04:LTS","Ubuntu:22.04:LTS","Ubuntu:24.04:LTS","Ubuntu:26.04:LTS"]
Database Specific Severity
null
Cvss Version
3.1

Threat ID: 6a984573acd9273b496ad57d

Added to database: 09/02/2026, 15:49:07 UTC

Last updated: 09/02/2026, 15:49:07 UTC

Views: 1

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses