# JLSEC-2026-1086: libssh2 through 1.11.1, fixed in commit a2ed82d, contains a pre-authentication integer underflow...

- Severity: High 7.5 (CVSS:3.1, scored by Julia Security Advisories) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-07-31T18:09:08.751Z
- Modified: 2026-07-31T18:20:49.692Z
- Related: CVE-2026-66033, EUVD-2026-48720, GHSA-2g8c-wcg8-r65c

## 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.

(As written by Julia Security Advisories.)

## Affected

- LibSSH2_jll (Julia): before 1.11.104+0

## Every score

- Julia Security Advisories: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Julia Security Advisories: CVSS:4.0 `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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X`

## References

- <https://github.com/advisories/GHSA-2g8c-wcg8-r65c> (web)
- <https://github.com/libssh2/libssh2/commit/a2ed82d40964bbc0d64cd717aa0a5a892117d2e6> (web)
- <https://github.com/libssh2/libssh2/pull/2401> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-66033> (web)
- <https://www.vulncheck.com/advisories/libssh2-integer-underflow-dos-via-aes-gcm-cipher-negotiation> (web)

## Sources

- Julia Security Advisories: [JLSEC-2026-1086](https://osv.dev/vulnerability/JLSEC-2026-1086), CC-BY-4.0, modified 2026-07-31

---

Page: https://cve.day/JLSEC-2026-1086 · Whole record: https://cve.day/JLSEC-2026-1086.json · Rebuilt by cve.day 2026-11-25T22:56:25.857Z
