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.
CVSS Vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:XLibssh2
APPLibssh2≤ 1.11.1
🔵
CHECK WITH VENDOR
No clear patch data available. Check vendor references.
Tags
RCEMemory
CWE
Related vulnerabilities
CVE-2019-3859CRITICAL9.1PL ✓same product
Out-of-bounds read w libssh2 — DoS i wyciek pamięci klienta
CVE-2026-66032HIGH8.7PL ✓same product
Double-free w libssh2 sftp_open() umożliwia uszkodzenie sterty klienta
CVE-2026-66033HIGH8.7PL ✓same product
Libssh2: integer underflow przed uwierzytelnieniem prowadzący do crash klienta
CVE-2026-66034HIGH7.7PL ✓same product
Libssh2: heap out-of-bounds read i free niezainicjowanego wskaźnika w podsystemie publickey
CVE-2026-66035HIGH7.7PL ✓same product
Libssh2 — pre-auth heap buffer overflow w negocjacji ETM