Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2026-66033

Опубликовано: 24 июл. 2026
Источник: redhat
CVSS3: 6.5

Описание

A flaw was found in libssh2. A pre-authentication integer underflow vulnerability exists in the ssh2_cipher_crypt() function when negotiating AES-GCM ciphers during the handshake. A malicious SSH server can exploit this to trigger an out-of-bounds read and a memory copy operation with an extremely large length argument, leading to an immediate client process crash. This vulnerability results in a Denial of Service (DoS) for any connecting client.

Отчет

This Moderate impact flaw in libssh2 allows a malicious SSH server to trigger a client-side denial of service. The vulnerability, an integer underflow during AES-GCM cipher negotiation, can cause a connecting client to crash before authentication. Exploitation requires the client to connect to a specially crafted, untrusted SSH server.

Меры по смягчению последствий

To mitigate the vulnerability, developers or administrators must configure the specific applications utilizing libssh2 to explicitly exclude AES-GCM from their preferred cipher lists.

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
Red Hat Enterprise Linux 6libssh2Out of support scope
Red Hat Enterprise Linux 7libssh2Affected
Red Hat Hardened Imageslibssh2-main-1.11.1-10.2.hum1FixedRHSA-2026:4692727.07.2026

Показывать по

Дополнительная информация

Статус:

Moderate
Дефект:
CWE-125
https://bugzilla.redhat.com/show_bug.cgi?id=2506853libssh2: libssh2: Denial of Service via integer underflow in AES-GCM cipher negotiation

6.5 Medium

CVSS3

Связанные уязвимости

CVSS3: 7.5
ubuntu
7 дней назад

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.

CVSS3: 7.5
nvd
7 дней назад

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.

msrc
6 дней назад

libssh2 Integer Underflow DoS via AES-GCM Cipher Negotiation

CVSS3: 7.5
debian
7 дней назад

libssh2 through 1.11.1, fixed in commit a2ed82d, contains a pre-authen ...

CVSS3: 7.5
github
7 дней назад

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.

6.5 Medium

CVSS3