Skip to main content
EPSS 0.5%top 61%

CVE-2026-39829: CWE-1176: Inefficient CPU Computation in golang.org/x/crypto golang.org/x/crypto/ssh

0
High
VulnerabilityCVE-2026-39829cvecve-2026-39829cwe-1176
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

The RSA and DSA public key parsers did not enforce size limits on key parameters. A crafted public key with an excessively large modulus or DSA parameter could cause several minutes of CPU consumption during signature verification. This could be triggered by unauthenticated clients during public key authentication. RSA moduli are now limited to 8192 bits, and DSA parameters are validated per FIPS 186-2.

CVSS v3.1

Score 7.5high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/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:10 UTC

Technical Analysis

The vulnerability in golang.org/x/crypto/ssh arises from the lack of enforcement of size limits on RSA and DSA public key parameters. Specifically, the RSA moduli and DSA parameters can be excessively large, which leads to inefficient CPU computation during signature verification. This can be triggered by unauthenticated clients during public key authentication, resulting in a denial of service due to prolonged CPU consumption. The issue is tracked as CVE-2026-39829 and is associated with CWE-1176 (Inefficient Computation) and CWE-1284 (Improper Validation of Specified Quantity in Input). Red Hat's advisory rates this vulnerability as Important and notes no current mitigation or fix that meets their deployment and stability criteria. The vulnerability affects golang.org/x/crypto/ssh as used in various Red Hat products including Red Hat Edge Manager. The CVSS v3.1 base score is 7.5, reflecting network attack vector, low attack complexity, no privileges required, no user interaction, unchanged scope, no confidentiality or integrity impact, but high availability impact.

Potential Impact

An unauthenticated remote attacker can cause a denial of service on servers using the vulnerable golang.org/x/crypto/ssh component by sending a specially crafted public key with excessively large parameters during SSH public key authentication. This leads to prolonged CPU consumption during signature verification, degrading service availability. There is no impact on confidentiality or integrity. No known exploits are reported in the wild at this time.

Mitigation Recommendations

Currently, there is no official fix or mitigation available that meets Red Hat's criteria for ease of use, deployment, applicability, or stability. Users should monitor vendor advisories for updates and consider upgrading to fixed versions once available. Red Hat customers with Technical Account Managers can consult them for guidance. No workaround or configuration change is documented as effective at this time.

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-39829","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:29455","vendor":"Red Hat"}]

Threat ID: 6a0fcdabe1370fbb487d5002

Added to database: 05/22/2026, 03:29:47 UTC

Last enriched: 08/17/2026, 13:18:10 UTC

Last updated: 09/14/2026, 22:11:26 UTC

Views: 75

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