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

CVE-2026-55200
CRITICAL 9.2

At a glance

Source
NVD
EPSS
EPSS 3.88 % · percentile 90 ()
State
PUBLISHED
Published
Updated
Assigner
VulnCheck
NVD status
Modified

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.

Weaknesses (CWE)

  • CWE-680 — Integer Overflow to Buffer Overflow

References

Scores

VersionScoreVectorScored by
CVSS 4.0CRITICAL 9.2CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NVulnCheck
CVSS 3.1HIGH 8.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HVulnCheck
CVSS 4.0CRITICAL 9.2CVSS: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:XNVD · disclosure@vulncheck.com (Secondary)
CVSS 3.1HIGH 8.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HNVD · disclosure@vulncheck.com (Secondary)
CVSS 3.1HIGH 8.3CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:LNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
libssh2 · libssh2affected 1.11.1 ; affected 1c3f1b7da588f2652260285529ec3c1f1125eb4e < 97acf3dfda80c91c3a8c9f2372546301d4a1a7a8

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD