CVE-2026-39830: CWE-833: Deadlock in golang.org/x/crypto golang.org/x/crypto/ssh
A malicious SSH peer could send unsolicited global request responses to fill an internal buffer, blocking the connection's read loop. The blocked goroutine could not be released by calling Close(), resulting in a resource leak per connection. Unsolicited global responses are now discarded.
AI Analysis
Technical Summary
The vulnerability in golang.org/x/crypto/ssh (CVE-2026-39830) involves a deadlock caused by unsolicited global request responses from a malicious SSH peer. These responses fill an internal buffer and block the connection's read loop goroutine. The blocked goroutine cannot be released by calling Close(), leading to a resource leak for each affected connection. The fix involves discarding unsolicited global responses to prevent the buffer from filling and the deadlock from occurring. This vulnerability has a CVSS score of 9.1 (critical) with network attack vector, low attack complexity, no privileges required, no user interaction, and impacts confidentiality and availability.
Potential Impact
An attacker who can act as a malicious SSH peer can cause a denial of service by sending unsolicited global request responses that fill an internal buffer, blocking the read loop goroutine. This results in a resource leak per connection, potentially exhausting resources and disrupting service availability. Confidentiality impact is rated high due to the CVSS vector, but the description primarily indicates denial of service via resource exhaustion.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The Red Hat advisory references this vulnerability and indicates it is addressed by discarding unsolicited global responses. Users should monitor the linked Red Hat advisories for official patches or updates. Until a patch is applied, mitigating exposure to untrusted SSH peers or limiting SSH connections to trusted sources may reduce risk.
CVE-2026-39830: CWE-833: Deadlock in golang.org/x/crypto golang.org/x/crypto/ssh
Description
A malicious SSH peer could send unsolicited global request responses to fill an internal buffer, blocking the connection's read loop. The blocked goroutine could not be released by calling Close(), resulting in a resource leak per connection. Unsolicited global responses are now discarded.
CVSS v3.1
Score 9.1critical
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in golang.org/x/crypto/ssh (CVE-2026-39830) involves a deadlock caused by unsolicited global request responses from a malicious SSH peer. These responses fill an internal buffer and block the connection's read loop goroutine. The blocked goroutine cannot be released by calling Close(), leading to a resource leak for each affected connection. The fix involves discarding unsolicited global responses to prevent the buffer from filling and the deadlock from occurring. This vulnerability has a CVSS score of 9.1 (critical) with network attack vector, low attack complexity, no privileges required, no user interaction, and impacts confidentiality and availability.
Potential Impact
An attacker who can act as a malicious SSH peer can cause a denial of service by sending unsolicited global request responses that fill an internal buffer, blocking the read loop goroutine. This results in a resource leak per connection, potentially exhausting resources and disrupting service availability. Confidentiality impact is rated high due to the CVSS vector, but the description primarily indicates denial of service via resource exhaustion.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The Red Hat advisory references this vulnerability and indicates it is addressed by discarding unsolicited global responses. Users should monitor the linked Red Hat advisories for official patches or updates. Until a patch is applied, mitigating exposure to untrusted SSH peers or limiting SSH connections to trusted sources may reduce risk.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Go
- Date Reserved
- 2026-04-07T18:13:03.528Z
- Cvss Version
- null
- State
- PUBLISHED
- Remediation Level
- null
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2026-39830","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:29455","vendor":"Red Hat"}]
Threat ID: 6a0fcdabe1370fbb487d5009
Added to database: 05/22/2026, 03:29:47 UTC
Last enriched: 07/25/2026, 21:44:51 UTC
Last updated: 07/31/2026, 21:26:40 UTC
Views: 115
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.