libssh — security advisory
A flaw was found in libssh versions before 0.8.9 and before 0.9.4 in the way it handled AES-CTR (or DES ciphers if enabled) ciphers. The server or client could crash when the connection hasn't been fully initialized and the system tries to cleanup the ciphers when closing the connection. The biggest threat from this vulnerability is system availability.
- Products
- libssh
- Affected versions
- Not specified
- Fixed versions
- 0.7.6-r3, 0.8.9-r0, 0.9.4-r0
- CVEs
- CVE-2020-1730
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 12:04 UTC · Revision 1
Source evidence
A flaw was found in libssh versions before 0.8.9 and before 0.9.4 in the way it handled AES-CTR (or DES ciphers if enabled) ciphers. The server or client could crash when the connection hasn't been fully initialized and the system tries to cleanup the ciphers when closing the connection. The biggest threat from this vulnerability is system availability.
osv:ALPINE-CVE-2020-1730
libssh
Fixed versions: 0.8.9-r0
libssh
Fixed versions: 0.9.4-r0
libssh
Fixed versions: 0.7.6-r3
Complete source record
{
"id": "d38c60e11a2a8b6721cfa65ce0e842afb764a068b857da058a3c0677e9c67b5f",
"url": "https://osv.dev/vulnerability/ALPINE-CVE-2020-1730",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "ALPINE-CVE-2020-1730",
"summary": "A flaw was found in libssh versions before 0.8.9 and before 0.9.4 in the way it handled AES-CTR (or DES ciphers if enabled) ciphers. The server or client could crash when the connection hasn't been fully initialized and the system tries to cleanup the ciphers when closing the connection. The biggest threat from this vulnerability is system availability.",
"evidence": "osv:ALPINE-CVE-2020-1730",
"products": [
{
"name": {
"value": "libssh",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "0.8.9-r0",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "libssh",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "0.9.4-r0",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "libssh",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "0.7.6-r3",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": []
}
],
"severity": "medium",
"structured": {
"id": "ALPINE-CVE-2020-1730",
"aliases": [
"ALPINE-CVE-2020-1730"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0.8.0"
},
{
"fixed": "0.8.9-r0"
}
]
}
],
"package": {
"name": "libssh",
"purl": "pkg:apk/alpine/libssh?arch=source",
"ecosystem": "Alpine:v3.10"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2020-1730.json"
},
"ecosystem_specific": {}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0.8.0"
},
{
"fixed": "0.9.4-r0"
}
]
}
],
"package": {
"name": "libssh",
"purl": "pkg:apk/alpine/libssh?arch=source",
"ecosystem": "Alpine:v3.11"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2020-1730.json"
},
"ecosystem_specific": {}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0.8.0"
},
{
"fixed": "0.7.6-r3"
}
]
}
],
"package": {
"name": "libssh",
"purl": "pkg:apk/alpine/libssh?arch=source",
"ecosystem": "Alpine:v3.9"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2020-1730.json"
},
"ecosystem_specific": {}
}
],
"modified": "2026-10-26T11:17:55.143225434Z",
"provider": "osv",
"upstream": [
"CVE-2020-1730"
],
"references": [
"https://security.alpinelinux.org/vuln/CVE-2020-1730"
]
},
"related_cves": [
{
"value": "CVE-2020-1730",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 450483,
"published_at": "2020-04-13T19:15:11.173+00:00"
}