Skip to main content
EPSS 0.4%top 67%

libssh2 Heap Out-of-Bounds Read via publickey subsystem

0
Medium
Published: 07/26/2026 (07/26/2026, 01:03:27 UTC)
Source: GCVE Database
Vendor/Project: Microsoft Security Response Center
Product: Microsoft

Description

To determine the support lifecycle for your software, see the Microsoft Support Lifecycle: https://support.microsoft.com/lifecycle

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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/07/2026, 22:09:15 UTC

Technical Analysis

libssh2 versions through 1.11.1 contain a vulnerability in the publickey subsystem where the version 1 response parser in libssh2_publickey_list_fetch() reads a server-controlled comment_len value without verifying buffer length. This leads to an out-of-bounds heap read that leaks heap pointers and subsequent heap allocator corruption when an uninitialized pointer is freed during error cleanup. The issue is fixed in commit a13bb6c.

Potential Impact

Exploitation of this vulnerability can lead to information disclosure by leaking heap pointers, which can defeat address space layout randomization (ASLR). Additionally, heap allocator state corruption may occur, potentially causing application crashes or enabling further exploitation. The CVSS 3.1 base score is 7.5, indicating a medium severity with high impact on confidentiality, integrity, and availability.

Mitigation Recommendations

A fix for this vulnerability is available in libssh2 as of commit a13bb6c. Users should upgrade to a version including this fix to remediate the issue. No vendor advisory content was provided to indicate alternative mitigations or if the issue is already mitigated in specific distributions.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
UBUNTU-CVE-2026-66034
Osv Schema Version
1.7.0
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"]
Cvss Version
3.1

Threat ID: 6a984573acd9273b496ad57d

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

Last enriched: 09/07/2026, 22:09:15 UTC

Last updated: 10/18/2026, 18:48:22 UTC

Views: 39

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

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

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