libssh2, rust — security advisory
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.
- Products
- libssh2, rust
- Affected versions
- Not specified
- Fixed versions
- 1.11.1-r2, 1.11.1-r3, 1.96.1-r0
- CVEs
- CVE-2026-55200
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 02:32 UTC · Revision 1
Source evidence
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.
osv:ALPINE-CVE-2026-55200
libssh2
Fixed versions: 1.11.1-r2
libssh2
Fixed versions: 1.11.1-r2
libssh2
Fixed versions: 1.11.1-r3
libssh2
Fixed versions: 1.11.1-r3
rust
Fixed versions: 1.96.1-r0
Complete source record
{
"id": "210872d50d008b4de44f2a79a6969fb39050baedb16cda6c12467cb633167404",
"url": "https://osv.dev/vulnerability/ALPINE-CVE-2026-55200",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "ALPINE-CVE-2026-55200",
"summary": "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.",
"evidence": "osv:ALPINE-CVE-2026-55200",
"products": [
{
"name": {
"value": "libssh2",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1.11.1-r2",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "libssh2",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1.11.1-r2",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "libssh2",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1.11.1-r3",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "libssh2",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1.11.1-r3",
"evidence": "/affected/3/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "rust",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1.96.1-r0",
"evidence": "/affected/4/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "ALPINE-CVE-2026-55200",
"aliases": [
"ALPINE-CVE-2026-55200"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.11.1-r2"
}
]
}
],
"package": {
"name": "libssh2",
"purl": "pkg:apk/alpine/libssh2?arch=source",
"ecosystem": "Alpine:v3.21"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2026-55200.json"
},
"ecosystem_specific": {}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.11.1-r2"
}
]
}
],
"package": {
"name": "libssh2",
"purl": "pkg:apk/alpine/libssh2?arch=source",
"ecosystem": "Alpine:v3.22"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2026-55200.json"
},
"ecosystem_specific": {}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.11.1-r3"
}
]
}
],
"package": {
"name": "libssh2",
"purl": "pkg:apk/alpine/libssh2?arch=source",
"ecosystem": "Alpine:v3.23"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2026-55200.json"
},
"ecosystem_specific": {}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.11.1-r3"
}
]
}
],
"package": {
"name": "libssh2",
"purl": "pkg:apk/alpine/libssh2?arch=source",
"ecosystem": "Alpine:v3.24"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2026-55200.json"
},
"ecosystem_specific": {}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.96.1-r0"
}
]
}
],
"package": {
"name": "rust",
"purl": "pkg:apk/alpine/rust?arch=source",
"ecosystem": "Alpine:v3.24"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2026-55200.json"
},
"ecosystem_specific": {}
}
],
"modified": "2026-10-23T18:30:03.516227683Z",
"provider": "osv",
"upstream": [
"CVE-2026-55200"
],
"references": [
"https://security.alpinelinux.org/vuln/CVE-2026-55200"
]
},
"related_cves": [
{
"value": "CVE-2026-55200",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 424591,
"published_at": "2026-06-17T20:17:28.667+00:00"
}