# JLSEC-2026-661: libssh2 through 1.11.1, fixed in commit 7acf3df contains an out-of-bounds write vulnerability in...

- Severity: High 8.3 (CVSS:3.1, scored by Julia Security Advisories) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-10T13:57:40.607Z
- Modified: 2026-07-25T18:24:44.799Z
- Related: CVE-2026-55200, GHSA-r8mh-x5qv-7gg2, EUVD-2026-37784

## Description

libssh2 through 1.11.1, fixed in commit 7acf3df contains an out-of-bounds write vulnerability in `ssh2_transport_read()` that fails to enforce upper bounds on `packet_length` field. Remote attackers can send crafted SSH packets with excessively large `packet_length` values to corrupt heap memory and achieve remote code execution.

(As written by Julia Security Advisories.)

## Affected

- LibSSH2_jll (Julia): before 1.11.102+0

## Every score

- Julia Security Advisories: CVSS:3.1 8.3 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L`
- Julia Security Advisories: CVSS:4.0 `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/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/bikini/exploitarium/tree/main/libssh2-cve-2026-55200-poc> (exploit, web)
- <https://github.com/advisories/GHSA-r8mh-x5qv-7gg2> (web)
- <https://github.com/libssh2/libssh2/commit/97acf3dfda80c91c3a8c9f2372546301d4a1a7a8> (web)
- <https://github.com/libssh2/libssh2/pull/2052> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-55200> (web)
- <https://web.archive.org/web/20260623211210/https://github.com/bikini/exploitarium/tree/main/libssh2-cve-2026-55200-poc> (web)
- <https://www.vulncheck.com/advisories/libssh2-out-of-bounds-write-via-unchecked-packet-length-in-transport-c> (web)

## Sources

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

---

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