๐Ÿ” CVE Alert

CVE-2026-66033

HIGH 7.5

libssh2 Integer Underflow DoS via AES-GCM Cipher Negotiation

CVSS Score
7.5
EPSS Score
0.0%
EPSS Percentile
0th

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 CWE-191 CWE-125
Vendor libssh2
Product libssh2
Published Jul 24, 2026
Stay Ahead of the Next One

Get instant alerts for libssh2 libssh2

Be the first to know when new high vulnerabilities affecting libssh2 libssh2 are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

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

Affected Versions

libssh2 / libssh2
0 โ‰ค 1.11.1

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/libssh2/libssh2/pull/2401 github.com: https://github.com/libssh2/libssh2/commit/a2ed82d40964bbc0d64cd717aa0a5a892117d2e6 vulncheck.com: https://www.vulncheck.com/advisories/libssh2-integer-underflow-dos-via-aes-gcm-cipher-negotiation

Credits

VladimirEliTokarev