Skip to content
OpenAdvisories
High · 8.1 Public exploit CVE-2026-55200 EUVD-2026-37784GHSA-r8mh-x5qv-7gg2

libssh2 - Out-of-Bounds Write via Unchecked packet_length in transport.c

Published Jun 17, 2026 · Updated Nov 8, 2026 · Assigned by VulnCheck

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.

Affected products

VendorProductAffectedFixed
libssh2 libssh2 1.11.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libssh2 1.11.1-4 —
Debian 13 libssh2 1.11.1-1+deb13u1 —
ReleasePackageFixed inAdvisory
Ubuntu 26.04 LTS libssh2 1.11.1-1ubuntu0.26.04.2 —
Ubuntu 25.10 libssh2 1.11.1-1ubuntu0.25.10.2 —
ReleasePackageFixed inAdvisory
Red Hat Hardened Images 1 libssh2 +2 1.11.1-8.hum1 RHSA-2026:29950
ReleasePackageFixed inAdvisory
SLES for SAP 16.0 libssh2_org 1.11.1-160000.4.1 SUSE-SU-2026:22364-1
SLES 16.0 libssh2_org 1.11.1-160000.4.1 SUSE-SU-2026:22364-1
SLE Micro 6.2 libssh2_org 1.11.1-160000.4.1 SUSE-SU-2026:22284-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed libssh2_org 1.11.1-3.1 openSUSE-SU-2026:11109-1
openSUSE Leap 16.0 libssh2_org 1.11.1-160000.4.1 openSUSE-SU-2026:21057-1
ReleasePackageFixed inAdvisory
Alpine v3.24 libssh2 1.11.1-r3 —
Alpine v3.24 rust +1 1.96.1-r0 —
Alpine v3.23 libssh2 1.11.1-r3 —
Alpine v3.22 libssh2 1.11.1-r2 —
Alpine v3.21 libssh2 1.11.1-r2 —

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 libssh2 1.11.1-3 —
Azure Linux 3 rust No fix yet —

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling libssh2 +2 1.11.1-r6 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 3 repositories

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 9

References