CVE-2026-39829: CWE-1176: Inefficient CPU Computation in golang.org/x/crypto golang.org/x/crypto/ssh
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.
AI Analysis
Technical Summary
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.
CVE-2026-39829: CWE-1176: Inefficient CPU Computation in golang.org/x/crypto 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
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 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.
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 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.