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

- Priority: **Prioritise**
- Reason: Severe, CVSS 8.7 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2026-07-24 · Modified: 2026-07-28
- Aliases: UBUNTU-CVE-2026-66033, DEBIAN-CVE-2026-66033, CGA-2v6w-r64p-v973, CGA-957c-c8f2-qp8r, CGA-gv95-9q27-ppp9, CGA-jj3v-vc7q-8gxv, CGA-r9g4-gw96-3vc5, CGA-wc4j-p5xm-pqmx, ALPINE-CVE-2026-66033
- Record: https://cvemate.com/vulnerability/CVE-2026-66033 · JSON: https://cvemate.com/vulnerability/CVE-2026-66033/json

## Description

```text
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.
```

## Signals

- CVSS: 8.7 high (v4.0, CVE.org) 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
- EPSS: 0.583%, percentile 49.281%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine libssh2 (Alpine Linux): \< 1.11.1-r3 \| \< 1.11.1-r4
- chainguard libssh2 (Chainguard): All versions (No fix recorded)
- chainguard libssh2-dev (Chainguard): All versions (No fix recorded)
- chainguard libssh2-doc (Chainguard): All versions (No fix recorded)
- wolfi libssh2 (Wolfi): All versions (No fix recorded)
- wolfi libssh2-dev (Wolfi): All versions (No fix recorded)
- wolfi libssh2-doc (Wolfi): All versions (No fix recorded)
- debian libssh2 (Debian): \< 1.11.1-1+deb13u2 \| \< 1.11.1-5
- ubuntu libssh2 (Ubuntu): \< 1.11.0-4.1ubuntu0.24.04.4 \| \< 1.11.1-1ubuntu0.26.04.4
- libssh2 libssh2: ≤ 1.11.1

## References

- <https://github.com/libssh2/libssh2/pull/2401>
- <https://github.com/libssh2/libssh2/commit/a2ed82d40964bbc0d64cd717aa0a5a892117d2e6>
- <https://www.vulncheck.com/advisories/libssh2-integer-underflow-dos-via-aes-gcm-cipher-negotiation>
- <https://ubuntu.com/security/CVE-2026-66033>
- <https://www.cve.org/CVERecord?id=CVE-2026-66033>
- <https://ubuntu.com/security/notices/USN-8722-1>
- <https://security-tracker.debian.org/tracker/CVE-2026-66033>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/66xxx/CVE-2026-66033.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-66033>
- <https://github.com/libssh2/libssh2>
- <https://security.alpinelinux.org/vuln/CVE-2026-66033>

---

Data as of 2026-12-05T06:59:49.349Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
