CVE-2026-55200 libssh2 - Out-of-Bounds Write via Unchecked packet_length in transport.c
CriticalCVSS 9.2
EPSS 3.9%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: total
- Technology
- UbuntuDebianRed Hat
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.
Upgrade path
15 packages: 13 fixed, 2 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| azure linux libssh(Azure Linux 3.0) | All versions | No fix listed | No fix yet |
| azure linux rust(Azure Linux 4.0) | All versions | No fix listed | No fix yet |
| alpine/chromium-rust(Alpine v3.24) | < 1.96.1-r0 | 1.96.1-r0 | Fixed |
| alpine/libssh2(Alpine v3.21) | < 1.11.1-r2 | 1.11.1-r2 | Fixed |
| alpine/libssh2(Alpine v3.22) | < 1.11.1-r2 | 1.11.1-r2 | Fixed |
| alpine/libssh2(Alpine v3.23) | < 1.11.1-r3 | 1.11.1-r3 | Fixed |
| alpine/libssh2(Alpine v3.24) | < 1.11.1-r3 | 1.11.1-r3 | Fixed |
| alpine/rust(Alpine v3.24) | < 1.96.1-r0 | 1.96.1-r0 | Fixed |
| azure linux libssh2(Azure Linux 3.0) | < 1.11.1-3 | 1.11.1-3 | Fixed |
| azure linux libssh2(Azure Linux 4.0) | < 0:1.11.1-13.azl4 | 0:1.11.1-13.azl4 | Fixed |
| debian/libssh2(Debian 13) | < 1.11.1-1+deb13u1; = 1.11.1-1 | 1.11.1-1+deb13u1 | Fixed |
| debian/libssh2(Debian 14) | < 1.11.1-4; = 1.11.1-1; = 1.11.1-2; = 1.11.1-3 | 1.11.1-4 | Fixed |
| libssh2 | = 1.11.1; >= 1c3f1b7da588f2652260285529ec3c1f1125eb4e, < 97acf3dfda80c91c3a8c9f2372546301d4a1a7a8 | 97acf3dfda80c91c3a8c9f2372546301d4a1a7a8 | Fixed |
| redhat/libssh2-main(Red Hat hummingbird 1) | < 1.11.1-8.hum1 | 1.11.1-8.hum1 | Fixed |
| ubuntu/libssh2(Ubuntu 26.04) | < 1.11.1-1ubuntu0.26.04.2 | 1.11.1-1ubuntu0.26.04.2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| libssh2 | = 1.11.1 | No fix listed |
| libssh2 | >= 1c3f1b7da588f2652260285529ec3c1f1125eb4e, < 97acf3dfda80c91c3a8c9f2372546301d4a1a7a8 | 97acf3dfda80c91c3a8c9f2372546301d4a1a7a8 |
| redhat/libssh2-main(Red Hat:hummingbird:1) | < 1.11.1-8.hum1 | 1.11.1-8.hum1 |
| redhat/libssh2(Red Hat:rhel_els:6) | All versions | No fix listed |
| redhat/virt:rhel/libssh2(Red Hat:enterprise_linux:8) | All versions | No fix listed |
| debian/libssh2(Debian:13) | < 1.11.1-1+deb13u1 | 1.11.1-1+deb13u1 |
| debian/libssh2(Debian:13) | = 1.11.1-1 | No fix listed |
| debian/libssh2(Debian:14) | < 1.11.1-4 | 1.11.1-4 |
| debian/libssh2(Debian:14) | = 1.11.1-1 | No fix listed |
| debian/libssh2(Debian:14) | = 1.11.1-2 | No fix listed |
| debian/libssh2(Debian:14) | = 1.11.1-3 | No fix listed |
| alpine/chromium-rust(Alpine:v3.24) | < 1.96.1-r0 | 1.96.1-r0 |
| alpine/libssh2(Alpine:v3.21) | < 1.11.1-r2 | 1.11.1-r2 |
| alpine/libssh2(Alpine:v3.22) | < 1.11.1-r2 | 1.11.1-r2 |
| alpine/libssh2(Alpine:v3.23) | < 1.11.1-r3 | 1.11.1-r3 |
| alpine/libssh2(Alpine:v3.24) | < 1.11.1-r3 | 1.11.1-r3 |
| alpine/rust(Alpine:v3.24) | < 1.96.1-r0 | 1.96.1-r0 |
| ubuntu/libssh2(Ubuntu:26.04) | < 1.11.1-1ubuntu0.26.04.2 | 1.11.1-1ubuntu0.26.04.2 |
| azure linux libssh2(Azure Linux:3.0) | < 1.11.1-3 | 1.11.1-3 |
| azure linux libssh(Azure Linux:3.0) | All versions | No fix listed |
| azure linux libssh2(Azure Linux:4.0) | < 0:1.11.1-13.azl4 | 0:1.11.1-13.azl4 |
| azure linux rust(Azure Linux:4.0) | All versions | No fix listed |
References
- MSRC Security Update Guide vendor-advisory
- CBL-Mariner Releases vendor-advisory
- Pull Request issue-tracking patch
- Patch Commit patch
- www.vulncheck.com third-party-advisory
- web.archive.org exploit third-party-advisory
- Red Hat CVE page mitigation vendor-advisory
- RHSA-2026:29950 patch vendor-advisory
- Red Hat Bugzilla 2490127 issue-tracking
- www.cve.org
- nvd.nist.gov
- Debian Security Tracker CVE-2026-55200 vendor-advisory
- security.alpinelinux.org vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-8486-1 vendor-advisory
- bugs.debian.org issue-tracking
- ENISA EUVD EUVD-2026-37784 third-party-advisory