libssh2 through 1.11.1, fixed in commit a2ed82d, contains a pre-authentication integer underflow vulnerability in the ssh2ciphercrypt() 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.
{
"cna_assigner": "VulnCheck",
"cwe_ids": [
"CWE-125",
"CWE-191"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/66xxx/CVE-2026-66033.json"
}{
"extracted_events": [
{
"introduced": "0"
},
{
"last_affected": "1.11.1"
}
],
"source": [
"CPE_RANGE",
"REFERENCES"
],
"cpe": "cpe:2.3:a:libssh2:libssh2:*:*:*:*:*:*:*:*"
}
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-66033.json"
[
{
"target": {
"file": "src/openssl.c"
},
"deprecated": false,
"source": "https://github.com/libssh2/libssh2/commit/a2ed82d40964bbc0d64cd717aa0a5a892117d2e6",
"id": "CVE-2026-66033-89f09c5e",
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"46633703602793041808516286579933556623",
"279562781493981400548354506450174966742",
"258491700871900350601374492589103506149",
"235345207691640829178811662733441267462",
"283781903113671097521482788622692922695",
"208608583349629759841085481553437954960",
"46721559972552605241860937490957983536"
]
},
"signature_type": "Line"
},
{
"target": {
"function": "ssh2_cipher_crypt",
"file": "src/openssl.c"
},
"deprecated": false,
"source": "https://github.com/libssh2/libssh2/commit/a2ed82d40964bbc0d64cd717aa0a5a892117d2e6",
"id": "CVE-2026-66033-bb286c20",
"signature_version": "v1",
"digest": {
"length": 1781.0,
"function_hash": "284423643486394263830813353865833030823"
},
"signature_type": "Function"
}
]
"2026-08-12T16:41:43Z"