CVE-2026-56855: Prevent DoS on deadlocked established channel in golang.org/x/crypto/ssh

Published Sep 2, 2026
·
Updated

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

Other sources

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.

— OSV

Affected Software

39 affected componentsFixes available
golang.org/x/crypto/ssh
Golang Crypto Go<0.56.0
All of the following
azurelinux/docker-compose<2.27.0-14
2.27.0-14
Microsoft Azure Linux=3.0
All of the following
azurelinux/kubevirt<1.8.4-2
1.8.4-2
Microsoft Azure Linux=3.0
All of the following
azurelinux/moby-engine<25.0.3-21
25.0.3-21
Microsoft Azure Linux=3.0
All of the following
azurelinux/docker-buildx<0.14.0-17
0.14.0-17
Microsoft Azure Linux=3.0
All of the following
azurelinux/kubernetes<1.30.10-30
1.30.10-30
Microsoft Azure Linux=3.0
All of the following
azurelinux/packer<1.9.5-21
1.9.5-21
Microsoft Azure Linux=3.0
All of the following
azurelinux/cf-cli<8.7.11-9
8.7.11-9
Microsoft Azure Linux=3.0
All of the following
azurelinux/gh<2.101.0-1
2.101.0-1
Microsoft Azure Linux=3.0
All of the following
azurelinux/telegraf<1.31.0-33
1.31.0-33
Microsoft Azure Linux=3.0
All of the following
azurelinux/cert-manager<1.12.15-14
1.12.15-14
Microsoft Azure Linux=3.0
ubuntu/golang-defaults*
ubuntu/golang-defaults*
ubuntu/golang-defaults*
ubuntu/golang-1.20*
ubuntu/golang-1.17*
ubuntu/golang-1.23*
ubuntu/golang-1.24*
ubuntu/golang-1.21*
ubuntu/golang-1.23*
ubuntu/golang-1.24*
ubuntu/golang-1.26*
ubuntu/golang-defaults*
ubuntu/golang-1.23*
ubuntu/golang-1.24*
IBM API Connect<=V10.0.8.0 - V10.0.8.13
go/golang.org/x/crypto<0.56.0
0.56.0
debian/golang-go.crypto<=1:0.4.0-1, <=1:0.25.0-1
1:0.56.0-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade azurelinux/docker-compose to a version that resolves this vulnerability.

    Fixed in 2.27.0-14
  2. Upgrade

    Upgrade azurelinux/kubevirt to a version that resolves this vulnerability.

    Fixed in 1.8.4-2
  3. Upgrade

    Upgrade azurelinux/moby-engine to a version that resolves this vulnerability.

    Fixed in 25.0.3-21
  4. Upgrade

    Upgrade azurelinux/docker-buildx to a version that resolves this vulnerability.

    Fixed in 0.14.0-17
  5. Upgrade

    Upgrade azurelinux/kubernetes to a version that resolves this vulnerability.

    Fixed in 1.30.10-30
  6. Upgrade

    Upgrade azurelinux/packer to a version that resolves this vulnerability.

    Fixed in 1.9.5-21
  7. Upgrade

    Upgrade azurelinux/cf-cli to a version that resolves this vulnerability.

    Fixed in 8.7.11-9
  8. Upgrade

    Upgrade azurelinux/gh to a version that resolves this vulnerability.

    Fixed in 2.101.0-1
  9. Upgrade

    Upgrade azurelinux/telegraf to a version that resolves this vulnerability.

    Fixed in 1.31.0-33
  10. Upgrade

    Upgrade azurelinux/cert-manager to a version that resolves this vulnerability.

    Fixed in 1.12.15-14
  11. Upgrade

    Upgrade go/golang.org/x/crypto to a version that resolves this vulnerability.

    Fixed in 0.56.0
  12. Upgrade

    Upgrade debian/golang-go.crypto to a version that resolves this vulnerability.

    Fixed in 1:0.56.0-1

Event History

Sep 2, 2026
Advisory Published
via OSV·07:12 PM
Data Sourced
via OSV·07:12 PM
DescriptionAffected Software
CVE Published
via MITRE·07:37 PM
Data Sourced
via MITRE·07:37 PM
DescriptionWeakness
Data Sourced
via OSV·07:37 PM
Severity
Data Sourced
via NVD·08:17 PM
Description
Sep 3, 2026
Data Sourced
via Red Hat·02:28 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·03:17 PM
SeverityWeakness
Sep 4, 2026
Data Sourced
via NVD·04:34 PM
RemedyAffected Software
Sep 7, 2026
Data Sourced
via Microsoft·09:00 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·09:00 AM
Affected Software
Updated
via Microsoft·09:00 AM
Affected Software
Nov 9, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software
Nov 17, 2026
Updated
via OSV·06:21 PM
Affected Software
Nov 18, 2026
Updated
via IBM·12:00 AM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

Who is exposed to this issue?

Any application using golang.org/x/crypto/ssh that establishes an SSH channel with a malicious peer may be exposed. The crafted messages are sent after the channel has been established.

2

What does an attacker need to do to trigger the denial of service?

The attacker needs to act as the connected peer and send crafted channel messages after channel establishment. Those messages can deadlock the entire SSH connection.

3

How is the problematic message handling changed?

RFC 4254 channel messages are handled, and global requests are handled explicitly. Other messages are treated as protocol errors and cause the connection to be torn down rather than buffered and allowed to block.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203