CVE-2026-55200

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

State
Published
Severity
9.2 Critical
Published
Jun 17, 2026
Updated
Oct 22, 2026
Reserved
Jun 16, 2026

Read the record on cve.org

Description

libssh2 1.11.1, fixed in commit 97acf3d, 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.

Scores

CVSSScoreVectorSource
4.09.2 CriticalCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NVulnCheck
3.18.1 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HVulnCheck

Weaknesses

  • CWE-680 Integer Overflow to Buffer Overflow

Affected Products

ProductVersions
libssh2libssh2
  • 1.11.1Affected
  • 1c3f1b7da588f2652260285529ec3c1f1125eb4e to before 97acf3dfda80c91c3a8c9f2372546301d4a1a7a8Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.