Skip to main content
Mallory
CriticalPublic exploitVulnerability

CVE-2026-55200: Pre-authentication remote code execution in libssh2 SSH transport parsing

Published Jun 17, 2026 · Updated 2 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days3 mentions · peak 1 in a dayToday
CVSS9.2Critical · v4
EPSS0.83%55th percentile
CISA KEVNoNot listed
In the wildReported4 exploitation records in Mallory
Vendor
Libssh2
IdentifiersCVE-2026-55200CWE-787

CVE-2026-55200 is an out-of-bounds heap write vulnerability affecting libssh2 through version 1.11.1. The ssh2_transport_read() function fails to enforce an upper bound on the packet_length field before performing size arithmetic. An excessively large value can cause integer wraparound and an undersized heap allocation, followed by writes beyond the allocated buffer. A malicious or compromised SSH server can trigger the flaw in a connecting libssh2 client during SSH transport establishment, before authentication completes. Successful exploitation may permit arbitrary code execution on the client.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Exploitation can corrupt heap memory in applications using vulnerable libssh2, potentially causing application crashes or arbitrary code execution with the privileges of the affected client process. Code execution could compromise data and operations accessible to that process. Exposure extends to applications and devices embedding or statically linking libssh2, including development tooling, CI/CD systems, backup agents, and embedded appliances; actual exposure depends on whether they use the vulnerable library for SSH connections.

Mitigation

If you can’t patch tonight, do this now.

Restrict outbound SSH connections from affected clients to explicitly trusted servers using network controls and segmentation. Temporarily disable SSH-based automation, backup tasks, or CI/CD operations that connect to unverified endpoints when patching is not feasible. Monitor for unexpected external SSH connections and client crashes during connection establishment. Runtime hardening, including ASLR, hardened allocators, and mandatory access controls, may reduce exploitation reliability or impact but does not remove the vulnerability. Host-key verification should remain enabled but is not a complete defense against a flaw reachable before host trust is established.

Remediation

Patch, then assume compromise.

Install a vendor-supported libssh2 package incorporating the packet-length bounds-checking fix, or apply the upstream fix identified as commit 97acf3d. The fix rejects packet_length values exceeding LIBSSH2_PACKET_MAXPAYLOAD before vulnerable arithmetic occurs. Fixed downstream packages include Debian trixie libssh2 1.11.1-1+deb13u1 and Alpine Linux libssh2 1.11.1-r3 or later. Update Rust/Cargo to 1.96.1 or later where Cargo includes the affected library; Alpine packages are fixed in 1.96.1-r0 or later. Inventory embedded and statically linked copies and rebuild or replace dependent binaries and container images, since updating the system library alone does not repair those copies.

Public exploits

Exploits

2 exploits validated by Mallory's analysis. Hidden: 1 rejected by Mallory's analysis as not a working exploit.

View more in app →
CVE-2026-55200This repository is a small standalone proof-of-concept exploit consisting of one C source file and a README. The main file, CVE-2026-55200.c, implements a multithreaded malicious SSH server that listens on a configurable TCP port (default 2222), accepts inbound client connections, performs a minimal SSH-like handshake, and then sends a crafted packet designed to trigger an out-of-bounds write in vulnerable libssh2 clients. The exploit flow is: send attacker-controlled SSH banner, receive client banner, send a fake SSH_MSG_KEXINIT structure, receive client key-exchange data, then transmit a malicious packet with packet_length set to 0xFFFFFFFF and a body filled largely with 0x41 bytes. The code uses pthreads to handle multiple clients concurrently and basic socket APIs for bind/listen/accept/send/recv. The README documents the claimed target as libssh2 <= 1.11.1 and describes the vulnerability as a network-reachable packet length validation flaw in SSH transport processing. There is no post-exploitation logic, shell payload, callback infrastructure, or framework integration; the repository is focused purely on triggering memory corruption/DoS and potentially enabling further exploitation research.0xBlackash · Disclosed Jun 23, 2026 · c · markdown · networkOperationalCVE-2026-55200Repository contains a single C proof-of-concept exploit and a README. The main file, CVE-2026-55200.c, implements a multithreaded TCP server that impersonates an SSH service. For each inbound client connection, it sends a fake SSH banner, receives the client's banner, sends a minimal fake SSH_MSG_KEXINIT packet, receives additional client handshake data, and then transmits a malformed packet with packet_length set to 0xFFFFFFFF and a body filled largely with 0x41 bytes. The stated goal is to trigger an out-of-bounds write / heap corruption condition in libssh2 clients <= 1.11.1 during pre-authentication packet parsing. This is a server-side lure exploit against connecting clients, not an exploit against an SSH server. No shellcode, command execution, or post-exploitation logic is included, so the repository is best classified as a proof of concept intended to demonstrate crash or memory corruption potential. The README provides vulnerability background, impact claims, mitigation guidance, and references, but the actionable exploit logic is entirely in the single C source file.xd20111 · Disclosed Jun 29, 2026 · c · markdown · networkPoC
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
Libssh2Libssh2application
FAQ

Frequently asked questions

Is CVE-2026-55200 exploited in the wild?
Yes. As of Nov 26, 2026, Mallory has reports of exploitation in the wild.
Is there a public exploit for CVE-2026-55200?
Yes. Mallory tracks 2 public exploits or proofs of concept for CVE-2026-55200, the earliest disclosed Jun 23, 2026.
Is there a patch for CVE-2026-55200?
Install a vendor-supported libssh2 package incorporating the packet-length bounds-checking fix, or apply the upstream fix identified as commit 97acf3d. The fix rejects packet_length values exceeding LIBSSH2_PACKET_MAXPAYLOAD before vulnerable arithmetic occurs.
What products are affected by CVE-2026-55200?
Libssh2.
How severe is CVE-2026-55200?
CVE-2026-55200 has a CVSS v4 score of 9.2 (Critical) and an EPSS score of 0.83% (55th percentile) as of Nov 26, 2026.
Activity feed

Recent activity

149 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
tenable cloud security pluginsNews · Nov 26, 2026Alpine: multiple cargo packages, multiple rust packages, multi... | Tenable®An out-of-bounds write in libssh2 1.11.1 permits heap corruption and remote code execution through SSH packets with excessively large packet_length values. The advisory lists exploits as available and recommends updating Alpine cargo and related packages to version 1.96.1-r0 or later.Read more ↗tenable cloud security pluginsNews · Oct 21, 2026Alpine: multiple libssh2 packages: security update to 1.11.1-r3 | Tenable®A heap out-of-bounds write in libssh2's SSH transport handling allows remote code execution through oversized packet_length values. The content identifies upstream fix commit 7acf3df and recommends Alpine package version 1.11.1-r3 or later. The plugin reports exploit availability collectively but does not unambiguously identify which listed vulnerabilities have available exploits.Read more ↗tenable nessus pluginsNews · Aug 20, 2026GLSA-202608-17 : libssh2: Multiple Vulnerabilities | Tenable®A vulnerability referenced in Gentoo GLSA-202608-17 affecting libssh2 on Gentoo Linux; the content indicates high impact and available exploits but does not provide technical flaw details.Read more ↗vulncheck blogNews · Aug 20, 2026Death By 20,000 PoCs | Blog | VulnCheckAn out-of-bounds write vulnerability in libssh2 used as an example of a high-profile CVE that attracted AI-generated fake exploit repositories after a real PoC was published.Read more ↗
+18 more in the timeline. Sign up to see them
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidence1Every report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity122Community discussion across Reddit, Mastodon, and other social sources.