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
This vulnerability involves a deadlock condition in the golang.org/x/crypto/ssh package. Specifically, a malicious SSH peer can send unsolicited global request responses that fill an internal buffer, blocking the read loop goroutine. Because the goroutine remains blocked and cannot be released by calling Close(), this results in 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.
Potential Impact
The vulnerability causes a resource leak due to a deadlock in the SSH connection handling code. This can degrade service availability or lead to denial of service conditions by exhausting resources on the server handling SSH connections. There is no indication of code execution or data compromise from the provided information.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The vendor has indicated that unsolicited global responses are now discarded, which suggests a fix or mitigation is implemented. Users should verify they are using a version of golang.org/x/crypto/ssh that includes this change or apply any official patches once available.
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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability involves a deadlock condition in the golang.org/x/crypto/ssh package. Specifically, a malicious SSH peer can send unsolicited global request responses that fill an internal buffer, blocking the read loop goroutine. Because the goroutine remains blocked and cannot be released by calling Close(), this results in 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.
Potential Impact
The vulnerability causes a resource leak due to a deadlock in the SSH connection handling code. This can degrade service availability or lead to denial of service conditions by exhausting resources on the server handling SSH connections. There is no indication of code execution or data compromise from the provided information.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The vendor has indicated that unsolicited global responses are now discarded, which suggests a fix or mitigation is implemented. Users should verify they are using a version of golang.org/x/crypto/ssh that includes this change or apply any official patches once available.
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
Threat ID: 6a0fcdabe1370fbb487d5009
Added to database: 5/22/2026, 3:29:47 AM
Last enriched: 5/22/2026, 3:45:32 AM
Last updated: 5/23/2026, 10:42:59 PM
Views: 10
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.
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.