CVEfocus › CVE database › CVE-2026-66033

CVE-2026-66033libssh2 Integer Underflow DoS via AES-GCM Cipher Negotiation

CVSS 7.5 HighEPSS 0.7% (higher than 48% of CVEs)Published 2026-07-24Updated 2026-07-28Assigner: VulnCheck

libssh2 through 1.11.1, fixed in commit a2ed82d, contains a pre-authentication integer underflow vulnerability in the ssh2_cipher_crypt() function in src/openssl.c that allows a malicious SSH server to crash any connecting client by negotiating AES-GCM ciphers during handshake. Attackers can exploit the underflow in the expression computing blocksize minus aadlen minus authentication tag length to trigger an out-of-bounds read and a memcpy call with a near-SIZE_MAX length argument, causing immediate process crash before any authentication occurs.

CWE-125CWE-191

What to do

Fixed builds are available from Alpine, Debian, Ubuntu: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

8Fixed
3Will not fix
4Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04libssh2Fixed1.11.1-1ubuntu0.26.04.4UBUNTU-CVE-2026-66033
Ubuntu 24.04libssh2Fixed1.11.0-4.1ubuntu0.24.04.4UBUNTU-CVE-2026-66033
Ubuntu 22.04libssh2Not affected
vulnerable_code_not_present
Debian 14libssh2Fixed1.11.1-5DEBIAN-CVE-2026-66033
Debian 13libssh2Fixed1.11.1-1+deb13u2DEBIAN-CVE-2026-66033
Red Hat Enterprise Linux 7libssh2Not affected
Red Hat Enterprise Linux 7libssh2-develNot affected
Red Hat Enterprise Linux 7libssh2-docsNot affected
Red Hat Enterprise Linux 6libssh2Will not fix
Out of support scope
Red Hat Enterprise Linux 6libssh2-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6libssh2-docsWill not fix
Out of support scope
Alpine Linux 3.24libssh2Fixed1.11.1-r4ALPINE-CVE-2026-66033
Alpine Linux 3.23libssh2Fixed1.11.1-r4ALPINE-CVE-2026-66033
Alpine Linux 3.22libssh2Fixed1.11.1-r3ALPINE-CVE-2026-66033
Alpine Linux 3.21libssh2Fixed1.11.1-r3ALPINE-CVE-2026-66033

What the vendor says

As published in the CVE record by VulnCheck, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.