GO-2026-6354

Source
https://pkg.go.dev/vuln/GO-2026-6354
Import Source
https://vuln.go.dev/ID/GO-2026-6354.json
JSON Data
https://api.osv.dev/v1/vulns/GO-2026-6354
Aliases
  • CVE-2026-78662
Published
2026-09-02T19:12:04Z
Modified
2026-09-02T19:30:09.192811542Z
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.

Now, 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.

Database specific
{
    "url": "https://pkg.go.dev/vuln/GO-2026-6354",
    "review_status": "REVIEWED"
}
References
Credits
    • Will Mortensen

Affected packages

Go / golang.org/x/crypto

Package

Name
golang.org/x/crypto
View open source insights on deps.dev
Purl
pkg:golang/golang.org/x/crypto

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.56.0

Ecosystem specific

{
    "imports": [
        {
            "path": "golang.org/x/crypto/ssh",
            "symbols": [
                "Dial",
                "NewClientConn",
                "NewControlClientConn",
                "NewServerConn",
                "channel.Accept",
                "channel.handlePacket",
                "channel.responseMessageReceived"
            ]
        }
    ]
}

Database specific

source
"https://vuln.go.dev/ID/GO-2026-6354.json"