CVE Tools

CVE-2026-55200

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

Published: Jun 17, 2026Updated: Jul 1, 2026 Sources: CVE List NVDCWE-680

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.

In plain language

AI Worth attention

CVE-2026-55200 is a serious libssh2 bug where a remote attacker can crash or potentially take over your system by sending a specially crafted SSH packet; if your business connects to untrusted SSH servers using libssh2, you should update.

Executive summary

libssh2 contains an out-of-bounds write in ssh2_transport_read() caused by unchecked SSH packet_length values, enabling remote memory corruption and potentially arbitrary code execution from network attackers without authentication or user interaction (impact depends on reachability of the vulnerable SSH client code path).

If affected, business impact
Remote code execution riskService crashes and downtimeCompromise of server processesPotential data theft

What to do now

  1. Check whether your software uses libssh2 and what version you have installed (look for libssh2 version in your app/package, build logs, or dependency list).
  2. If your libssh2 version is 1.11.1 or earlier, plan an upgrade to the fixed version.
  3. Upgrade libssh2 to the fixed code at commit 7acf3dfda80c91c3a8c9f2372546301d4a1a7a8 (the vulnerability is fixed there).
  4. If you can’t upgrade immediately, limit exposure by ensuring your systems only connect to trusted SSH servers and restrict outbound SSH connections from the affected hosts.
Patch / advisory Usually a quick update

CVSS Vector Breakdown

AV:NAC:HPR:NUI:NS:UC:HI:HA:H
Exploitability
AV:NAttack Vector
Network
AC:HAttack Complexity
High
PR:NPrivileges Required
None
UI:NUser Interaction
None
Scope
S:UScope
Unchanged
Impact
C:HConfidentiality
High
I:HIntegrity
High
A:HAvailability
High

Weaknesses

Affected Products

Exploitability

Official Patch Available

References

and 1 more references View all →
4

Unlock Complete Vulnerability Intelligence

Get the full picture for CVE-2026-55200 and every CVE in our database. Create a free account — no credit card required.

Create Free Account
Plain-language analysis
Impact assessment and exploitation scenario in plain English
Attack graph visualization
Interactive attack path and kill chain mapping
Exploit details & PoC links
ExploitDB, Metasploit, GitHub PoCs with direct links
Nuclei scanner templates
Ready-to-use vulnerability scanner templates
Full remediation guide
Patch instructions, workarounds, and compliance impact
Interactive AI chat
Ask questions about this vulnerability in natural language
Related vulnerabilities
Semantically similar CVEs and attack patterns
REST API & MCP access
Integrate vulnerability data into your workflows