Prevent DoS on deadlocked undecided channel in golang.org/x/crypto/ssh
Summary
| CVE | CVE-2026-78662 |
|---|---|
| State | PUBLISHED |
| Assigner | Go |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-09-02 20:17:37 UTC |
| Updated | 2026-09-02 20:17:37 UTC |
| Description | 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. |
Risk And Classification
Problem Types: CWE-770: Allocation of Resources Without Limits or Throttling
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Golang.orgxcrypto | Golang.org/x/crypto/ssh | affected 0.56.0 semver | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| go.dev/cl/826504 | [email protected] | go.dev | |
| go.dev/issue/81316 | [email protected] | go.dev | |
| groups.google.com/g/golang-announce/c/1y3fb2np35U | [email protected] | groups.google.com | |
| pkg.go.dev/vuln/GO-2026-6354 | [email protected] | pkg.go.dev | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: Will Mortensen (en)
There are currently no legacy QID mappings associated with this CVE.