{
  "id": "CVE-2026-66033",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-66033",
  "published_at": "2026-07-24T16:35:28.607Z",
  "title": "libssh2 Integer Underflow DoS via AES-GCM Cipher Negotiation",
  "vendor": "libssh2",
  "product": "libssh2",
  "cvss": {
    "score": 8.7,
    "source": "cna",
    "vector": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "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",
  "cpes": [
    "cpe:2.3:a:libssh2:libssh2:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.7
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "libssh2",
        "product": "libssh2",
        "ranges": [
          "\u003c= 1.11.1"
        ],
        "fixed_in": [
          "a2ed82d40964bbc0d64cd717aa0a5a892117d2e6"
        ]
      }
    ],
    "upgrade": [
      "Upgrade libssh2 to a2ed82d40964bbc0d64cd717aa0a5a892117d2e6 or later."
    ],
    "references": [
      {
        "kind": "Patch",
        "url": "https://github.com/libssh2/libssh2/pull/2401"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/libssh2/libssh2/commit/a2ed82d40964bbc0d64cd717aa0a5a892117d2e6"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
