Description
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.
Published: 2026-09-02
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability is triggered when a malicious SSH peer sends specially crafted channel messages after a SSH session has been established. The golang.org/x/crypto/ssh library would block on an internal lock, causing the entire connection to stall. The resulting denial of service prevents any further SSH operations until the deadlock is resolved. The fix changes the handling of all RFC 4254 channel messages so that unknown or malformed messages are treated as protocol errors, causing the connection to be dropped instead of buffering and blocking, thereby eliminating the deadlock scenario.

Affected Systems

The affected component is the golang.org/x/crypto/ssh package used in Go applications that establish SSH channels. Any program that imports this library can be impacted. No specific version ranges are listed, so users should verify that they are using the latest release of the library.

Risk and Exploitability

The EPSS score of < 1% indicates a very low exploitation probability, and the vulnerability is not listed in the CISA KEV catalog. The attack vector requires an attacker to control a peer that can send crafted channel data after the session handshake. Because the corrected code now aborts the connection on protocol errors, the exploitation path still exists that can trigger a premature disconnect or a DoS. The potential impact remains high for services that rely on continuous SSH connectivity, while the likelihood of successful exploitation is limited to situations where the attacker can send messages before the deadlock would have otherwise developed. The CVSS score of 7.5 indicates a high severity, underscoring the need for timely patching.

Generated by OpenCVE AI on September 3, 2026 at 20:08 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update golang.org/x/crypto/ssh to the latest stable release that includes the fix.
  • If a patch cannot be applied immediately, monitor SSH connections for abnormal termination and consider implementing a short timeout on channel inactivity to mitigate lingering connections.
  • As a temporary workaround, configure the application to close the connection promptly upon receiving any unrecognized channel message, avoiding the deadlock scenario.

Generated by OpenCVE AI on September 3, 2026 at 20:08 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 04 Sep 2026 16:45:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:golang:crypto:*:*:*:*:*:go:*:*

Thu, 03 Sep 2026 18:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-667

Thu, 03 Sep 2026 16:00:00 +0000

Type Values Removed Values Added
First Time appeared Golang
Golang crypto
Vendors & Products Golang
Golang crypto

Thu, 03 Sep 2026 15:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-770
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 03 Sep 2026 10:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-667

Wed, 02 Sep 2026 19:45:00 +0000

Type Values Removed Values Added
Description 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.
Title Prevent DoS on deadlocked established channel in golang.org/x/crypto/ssh
References

cve-icon MITRE

Status: PUBLISHED

Assigner: Go

Published:

Updated: 2026-09-03T14:14:40.169Z

Reserved: 2026-06-23T15:10:49.353Z

Link: CVE-2026-56855

cve-icon Vulnrichment

Updated: 2026-09-03T14:14:13.081Z

cve-icon NVD

Status : Analyzed

Published: 2026-09-02T20:17:36.397

Modified: 2026-09-04T16:34:56.823

Link: CVE-2026-56855

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-03T20:15:06Z

Weaknesses
  • CWE-770

    Allocation of Resources Without Limits or Throttling