CVE-2026-55200libssh2 - Out-of-Bounds Write via Unchecked packet_length in transport.c
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.
What to do
Fixed builds are available from Alpine, Debian, Ubuntu: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | libssh2 | Fixed | 1.11.1-1ubuntu0.26.04.2 | UBUNTU-CVE-2026-55200 |
| Ubuntu 25.10 | libssh2 | Fixed | 1.11.1-1ubuntu0.25.10.2 | UBUNTU-CVE-2026-55200 |
| Ubuntu 24.04 | libssh2 | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | libssh2 | Not affected vulnerable_code_not_present | ||
| Debian 14 | libssh2 | Fixed | 1.11.1-4 | DEBIAN-CVE-2026-55200 |
| Debian 13 | libssh2 | Fixed | 1.11.1-1+deb13u1 | DEBIAN-CVE-2026-55200 |
| Red Hat Enterprise Linux 8 | libssh2 | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 8 | libssh2-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 8 | libssh2-docs | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | libssh2 | Not affected | ||
| Red Hat Enterprise Linux 7 | libssh2-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | libssh2-docs | Not affected | ||
| Red Hat Enterprise Linux 6 | libssh2 | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | libssh2-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | libssh2-docs | Will not fix Out of support scope | ||
| Alpine Linux 3.24 | chromium-rust | Fixed | 1.96.1-r0 | ALPINE-CVE-2026-55200 |
| Alpine Linux 3.24 | libssh2 | Fixed | 1.11.1-r3 | ALPINE-CVE-2026-55200 |
| Alpine Linux 3.24 | rust | Fixed | 1.96.1-r0 | ALPINE-CVE-2026-55200 |
| Alpine Linux 3.23 | libssh2 | Fixed | 1.11.1-r3 | ALPINE-CVE-2026-55200 |
| Alpine Linux 3.22 | libssh2 | Fixed | 1.11.1-r2 | ALPINE-CVE-2026-55200 |
| Alpine Linux 3.21 | libssh2 | Fixed | 1.11.1-r2 | ALPINE-CVE-2026-55200 |
What the vendor says
As published in the CVE record by VulnCheck, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- libssh2: affected: 1.11.1, 1c3f1b7da588f2652260285529ec3c1f1125eb4e to before 97acf3dfda80c91c3a8c9f2372546301d4a1a7a8; fixed in
97acf3dfda80c91c3a8c9f2372546301d4a1a7a8
Vendor advisories:
- https://github.com/libssh2/libssh2/pull/2052 (patch)
- https://github.com/libssh2/libssh2/commit/97acf3dfda80c91c3a8c9f2372546301d4a1a7a8 (patch)
References
- https://github.com/libssh2/libssh2/pull/2052
- https://github.com/libssh2/libssh2/commit/97acf3dfda80c91c3a8c9f2372546301d4a1a7a8
- https://www.vulncheck.com/advisories/libssh2-out-of-bounds-write-via-unchecked-packet-length-in-transport-c
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.