Impact
Libssh2 1.11.1 contains an out‑of‑bounds write that can corrupt heap memory and allow remote code execution. The flaw arises because the library does not check that the packet_length field in an SSH packet is bounded before copying data into a buffer. An attacker can send a packet with a maliciously large packet_length, triggering heap corruption that ultimately can be used to execute arbitrary code. The vulnerability is categorized as CWE‑680.
Affected Systems
The vulnerability affects the libssh2 library, specifically the 1.11.1 release which has not yet incorporated the patch in commit 97acf3df. Any application that links against this library and accepts SSH traffic is potentially exposed. The CPE list includes the base CPE for libssh2 and the specific 1.11.1 CPE. No additional affected product or version information is provided, so an assessment of earlier releases cannot be made from the available data.
Risk and Exploitability
The CVSS score of 9.2 rates this flaw as critical, reflecting threat to confidentiality, integrity, and availability. The EPSS score of 4 % indicates a non‑zero probability that exploitation may occur in the wild, but it does not guarantee widespread exploitation. The vulnerability is not yet listed in the CISA KEV catalog. An attacker can remotely trigger the flaw by sending a malicious SSH packet over a connection that the victim processes with the vulnerable library. Therefore, the risk is high for any exposed service that uses libssh2 1.11.1 until it is upgraded or mitigated.
OpenCVE Enrichment
Debian DSA
Ubuntu USN