Skip to main content
EPSS 0.6%top 53%

libssh2 Integer Underflow DoS via AES-GCM Cipher Negotiation

0
Medium
Published: 07/26/2026 (07/26/2026, 01:04:00 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:04 UTC

Technical Analysis

The vulnerability in libssh2 up to version 1.11.1 is a pre-authentication integer underflow in the ssh2_cipher_crypt() function located in src/openssl.c. When a malicious SSH server negotiates AES-GCM ciphers during the handshake, it exploits an underflow in the calculation of blocksize minus aadlen minus authentication tag length. This leads to an out-of-bounds read and a memcpy operation with a near-SIZE_MAX length argument, resulting in an immediate crash of the client process before any authentication occurs. The issue was fixed in commit a2ed82d.

Potential Impact

Exploitation of this vulnerability allows a malicious SSH server to cause a denial of service by crashing any connecting libssh2 client before authentication. There is no impact on confidentiality or integrity, but availability is affected due to the forced process crash.

Mitigation Recommendations

A fix for this vulnerability is available in libssh2 as of commit a2ed82d. Users should upgrade to a version that includes this fix to prevent denial of service. Patch status is confirmed by the fix commit; no further mitigation is required.

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-66033
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: 6a984573acd9273b496ad57f

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

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

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

Views: 44

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