CVE-2026-55200 PUBLISHED

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

Assigner: VulnCheck
Reserved: 16.06.2026 Published: 17.06.2026 Updated: 18.06.2026

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.

Metrics

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
CVSS Score: 9.2

Product Status

Vendor libssh2
Product libssh2
Versions Default: unaffected
  • affected from 0 to 1.11.1 (incl.)
  • Version 7acf3dfda80c91c3a8c9f2372546301d4a1a7a8 is unaffected

Credits

  • Tristan Madani (@TristanInSec) finder

References

Problem Types

  • Integer Overflow to Buffer Overflow CWE