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) allows a malicious SSH peer to send unsolicited global request responses that fill an internal buffer, blocking the connection's read loop goroutine. This blocked goroutine cannot be released by calling Close(), resulting in a resource leak for each affected connection. The consequence is a denial of service due to resource exhaustion. The flaw is categorized under CWE-833 (Deadlock) and CWE-772 (Missing Release of Resource after Effective Lifetime). The vulnerability is exploitable remotely without authentication and has a CVSS v3.1 score of 9.1 (critical). Vendor advisories, including Red Hat, confirm the impact and recommend network access restrictions as mitigation. No official patch or fix version is explicitly stated in the advisory, but network-level mitigations are advised.
Potential Impact
An unauthenticated remote attacker can cause a denial of service by exhausting resources on the affected system through unsolicited global request responses in SSH connections. This leads to blocked goroutines that cannot be released, resulting in resource leaks and potential service disruption for systems using the vulnerable golang.org/x/crypto/ssh library.
Mitigation Recommendations
The vendor advisory recommends restricting network access to any service utilizing the golang.org/x/crypto/ssh library exposed to untrusted networks. Implement firewall rules to allow connections only from trusted hosts or networks. Restarting the affected service may be necessary for the new network rules to take effect. No official patch or fix version is explicitly confirmed in the advisory; therefore, patch status is not yet confirmed — check the vendor advisory for current remediation guidance.
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
golang.org/x/crypto
golang.org/x/crypto/ssh
pkg:golang/golang.org/x/crypto/sshRun 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) allows a malicious SSH peer to send unsolicited global request responses that fill an internal buffer, blocking the connection's read loop goroutine. This blocked goroutine cannot be released by calling Close(), resulting in a resource leak for each affected connection. The consequence is a denial of service due to resource exhaustion. The flaw is categorized under CWE-833 (Deadlock) and CWE-772 (Missing Release of Resource after Effective Lifetime). The vulnerability is exploitable remotely without authentication and has a CVSS v3.1 score of 9.1 (critical). Vendor advisories, including Red Hat, confirm the impact and recommend network access restrictions as mitigation. No official patch or fix version is explicitly stated in the advisory, but network-level mitigations are advised.
Potential Impact
An unauthenticated remote attacker can cause a denial of service by exhausting resources on the affected system through unsolicited global request responses in SSH connections. This leads to blocked goroutines that cannot be released, resulting in resource leaks and potential service disruption for systems using the vulnerable golang.org/x/crypto/ssh library.
Mitigation Recommendations
The vendor advisory recommends restricting network access to any service utilizing the golang.org/x/crypto/ssh library exposed to untrusted networks. Implement firewall rules to allow connections only from trusted hosts or networks. Restarting the affected service may be necessary for the new network rules to take effect. No official patch or fix version is explicitly confirmed in the advisory; therefore, patch status is not yet confirmed — check the vendor advisory for current remediation guidance.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Go
- Date Reserved
- 2026-04-07T18:13:03.528Z
- State
- PUBLISHED
- 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: 08/17/2026, 13:18:22 UTC
Last updated: 09/14/2026, 04:53:31 UTC
Views: 149
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.