Description
libssh2 1.11.1, fixed in commit 97acf3d, 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.
Metrics
CVSS 3.1 8.3/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:LWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| libssh2 | libssh2 | 1.11.1; >= 1c3f1b7da588f2652260285529ec3c1f1125eb4e, < 97acf3dfda80c91c3a8c9f2372546301d4a1a7a8 |
References
- https://github.com/libssh2/libssh2/commit/97acf3dfda80c91c3a8c9f2372546301d4a1a7a8Patch
- https://github.com/libssh2/libssh2/pull/2052Patch
- https://www.vulncheck.com/advisories/libssh2-out-of-bounds-write-via-unchecked-packet-length-in-transport-cThird Party Advisory
- https://web.archive.org/web/20260623211210/https://github.com/bikini/exploitarium/tree/main/libssh2-cve-2026-55200-pocExploit, Third Party Advisory
Timeline
- Published
- Jun 17, 2026
- Last modified
- Oct 22, 2026
- NVD status
- Modified