Skip to main content
EPSS 0.6%top 52%

CVE-2026-39830: CWE-833: Deadlock in golang.org/x/crypto golang.org/x/crypto/ssh

0
Critical
VulnerabilityCVE-2026-39830cvecve-2026-39830cwe-833
Published: 05/22/2026 (05/22/2026, 02:31:27 UTC)
Source: CVE Database V5
Vendor/Project: golang.org/x/crypto
Product: 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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

Affected software

golang.org/x/crypto

golang.org/x/crypto/ssh

Affected versions
>=0 <0.52.0
golang.org/x/crypto/ssh
pkg:golang/golang.org/x/crypto/ssh
Affected versions
=0
golang.org/x/crypto/ssh
pkg:golang/golang.org/x/crypto/ssh
Affected versions
>=0 <0.52.0

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

AILast updated: 08/17/2026, 13:18:22 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses