blob: d84e543005583dd8eef44685f03cc2581687a5ee [file]
{
"schema_version": "1.3.1",
"id": "GO-2026-6354",
"modified": "0001-01-01T00:00:00Z",
"published": "0001-01-01T00:00:00Z",
"aliases": [
"CVE-2026-78662"
],
"summary": "Prevent DoS on deadlocked undecided channel in golang.org/x/crypto/ssh",
"details": "Previously, a channel registered in the mux's chanList is not usable until it is established. A malicious peer was able flood the channel's incomingRequests, deadlocking the entire connection.\n\nNow, we add an atomic established state, set when a channel becomes usable. Until such a time, handlePacket drops every packet other than the open confirmation/failure, without blocking and without tearing down the connection.",
"affected": [
{
"package": {
"name": "golang.org/x/crypto",
"ecosystem": "Go"
},
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.56.0"
}
]
}
],
"ecosystem_specific": {
"imports": [
{
"path": "golang.org/x/crypto/ssh",
"symbols": [
"Dial",
"NewClientConn",
"NewControlClientConn",
"NewServerConn",
"channel.Accept",
"channel.handlePacket",
"channel.responseMessageReceived"
]
}
]
}
}
],
"references": [
{
"type": "REPORT",
"url": "https://go.dev/issue/81316"
},
{
"type": "FIX",
"url": "https://go.dev/cl/826504"
},
{
"type": "WEB",
"url": "https://groups.google.com/g/golang-announce/c/1y3fb2np35U"
}
],
"credits": [
{
"name": "Will Mortensen"
}
],
"database_specific": {
"url": "https://pkg.go.dev/vuln/GO-2026-6354",
"review_status": "REVIEWED"
}
}