Prevent DoS on deadlocked established channel in golang.org/x/crypto/ssh

Summary

CVECVE-2026-56855
StatePUBLISHED
AssignerGo
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-09-02 20:17:36 UTC
Updated2026-09-02 20:17:36 UTC
DescriptionPreviously, after a channel has been established, a malicious peer could send crafted messages that would deadlock the entire connection. Now, we handle all RFC 4254 channel messages; global requests are handled explicitly. Then, treat all other messages as a protocol error and tear the connection down instead of buffering and blocking.

Risk And Classification

Problem Types: CWE-770: Allocation of Resources Without Limits or Throttling

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Golang.orgxcrypto Golang.org/x/crypto/ssh affected 0.56.0 semver Not specified

References

ReferenceSourceLinkTags
groups.google.com/g/golang-announce/c/1y3fb2np35U [email protected] groups.google.com
go.dev/issue/81317 [email protected] go.dev
go.dev/cl/826524 [email protected] go.dev
pkg.go.dev/vuln/GO-2026-6355 [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)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report