Prevent DoS on deadlocked established channel in golang.org/x/crypto/ssh
Published 2 Sept 2026 · Updated 14 Nov 2026
Is your project on an affected golang.org/x/crypto?
Look after several Go apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected package
- Affected
- <0.56.0
- Fixed in
- 0.56.0
go get golang.org/x/crypto@v0.56.0Details
Previously, 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.
Is GO-2026-6355 in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected golang.org/x/crypto, and gives you the command that fixes it.
More advisories for golang.org/x/crypto
- LowCVE-2026-78662Prevent DoS on deadlocked undecided channel in golang.org/x/crypto/ssh · 2 Sept 2026
- LowCVE-2026-56854Source-address critical option not enforced for non-public-key auth callbacks in golang.org/x/crypto/ssh · 28 Aug 2026
- LowGO-2026-5932The golang.org/x/crypto/openpgp package is unmaintained, unsafe by design, and has known security issues · 7 Jul 2026
- CriticalCVE-2026-46595golang.org/x/crypto: Invoking VerifiedPublicKeyCallback permissions skip enforcement · 25 Jun 2026
- CriticalCVE-2026-42508golang.org/x/crypto vulnerable to auth bypass via unenforced @revoked status · 25 Jun 2026
- CriticalCVE-2026-39834golang.org/x/crypto vulnerable to infinite loop on large channel writes · 25 Jun 2026
References
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.