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

Published Sep 2, 2026
·
Updated

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.

Affected Software

1 affected component
golang.org/x/crypto/ssh

Event History

Sep 2, 2026
CVE Published
via MITRE·07:37 PM
Data Sourced
via MITRE·07:37 PM
DescriptionWeakness
Data Sourced
via NVD·08:17 PM
Description

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