Skip to main content

golang.org/x/crypto/ssh CVE-2026-39829

| EUVDEUVD-2026-31396 HIGH
Improper Verification of Cryptographic Signature (CWE-347)
2026-05-22 Go GHSA-w879-237q-wc7r
7.5
CVSS 3.1 · Vendor: Go
Share

Severity by source

Vendor (Go) PRIMARY
7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
SUSE
HIGH
qualitative
Red Hat
7.5 HIGH
qualitative

Primary rating from Vendor (Go).

CVSS VectorVendor: Go

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

Lifecycle Timeline

4
Analysis Generated
Jun 02, 2026 - 19:00 vuln.today
CVSS changed
Jun 02, 2026 - 16:37 NVD
7.5 (None) 7.5 (HIGH)
Patch available
May 22, 2026 - 04:31 EUVD
CVE Published
May 22, 2026 - 02:31 nvd
UNKNOWN (no severity yet)

DescriptionCVE.org

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.

AnalysisAI

Denial of service in the Go golang.org/x/crypto/ssh library before version 0.52.0 allows unauthenticated remote attackers to exhaust CPU on SSH servers by submitting crafted RSA or DSA public keys with oversized parameters during public key authentication. EPSS is very low (0.03%) and there is no public exploit identified at time of analysis, but the bug is trivial to trigger and the fix has been published by the Go team in CL 781641/781661.

Technical ContextAI

The vulnerability lives in the RSA and DSA public key parsers used by Go's SSH implementation (golang.org/x/crypto/ssh, CPE cpe:2.3:a:golang.org/x/crypto:golang.org/x/crypto/ssh). Prior to the fix, the parsers accepted arbitrarily large RSA moduli and DSA group parameters; signature verification on such oversized parameters performs modular exponentiation whose cost grows polynomially with key size, leading to multi-minute CPU burns per request. CWE-347 (Improper Verification of Cryptographic Signature) is mapped here because verification is performed on attacker-controlled parameters without bounds-checking; the remediation enforces RSA ≤ 8192 bits and FIPS 186-2 validation for DSA, which is a defense-in-depth pattern consistent with mainstream crypto libraries (OpenSSL, libsodium) that gate verification on parameter sanity.

RemediationAI

Vendor-released patch: upgrade golang.org/x/crypto to v0.52.0 or later (go get golang.org/x/crypto@v0.52.0 followed by a rebuild and redeploy of all SSH server binaries), per Go CLs https://go.dev/cl/781641 and https://go.dev/cl/781661 and the announcement at https://groups.google.com/g/golang-announce/c/a082jnz-LvI. Run govulncheck against built binaries to catch transitive consumers. If immediate upgrade is not possible, compensating controls include placing the SSH listener behind a connection-rate-limiting reverse proxy or fail2ban-style throttling on repeated public-key auth attempts from a single source (side effect: may slow legitimate key-roaming clients), restricting SSH to known source ranges via firewall (side effect: breaks ad-hoc access), or, on multi-tenant servers, capping per-process CPU with cgroups so one attacker cannot starve other connections (side effect: legitimate large operations may also get throttled).

CVE-2013-3900 MEDIUM
5.5 Dec 11

Why is Microsoft republishing a CVE from 2013? We are republishing CVE-2013-3900 in the Security Update Guide to update

CVE-2026-48558 CRITICAL POC
9.5 Jun 12

Authentication bypass in SimpleHelp 5.5.15 and prior (plus 6.0 pre-release builds) allows remote unauthenticated attacke

CVE-2025-59718 CRITICAL
9.8 Dec 09

Authentication bypass in Fortinet FortiOS, FortiProxy, and FortiSwitchManager allows unauthenticated remote attackers to

CVE-2025-25291 CRITICAL POC
9.3 Mar 12

ruby-saml provides security assertion markup language (SAML) single sign-on (SSO) for Ruby. Rated critical severity (CVS

CVE-2025-25292 CRITICAL POC
9.3 Mar 12

ruby-saml provides security assertion markup language (SAML) single sign-on (SSO) for Ruby. Rated critical severity (CVS

CVE-2022-25898 CRITICAL POC
9.8 Jul 01

The package jsrsasign before 10.5.25 are vulnerable to Improper Verification of Cryptographic Signature when JWS or JWT

CVE-2024-42004 CRITICAL POC
9.8 Dec 18

A library injection vulnerability exists in Microsoft Teams (work or school) 24046.2813.2770.1094 for macOS. Rated criti

CVE-2024-41145 CRITICAL POC
9.8 Dec 18

A library injection vulnerability exists in the WebView.app helper app of Microsoft Teams (work or school) 24046.2813.27

CVE-2024-41138 CRITICAL POC
9.8 Dec 18

A library injection vulnerability exists in the com.microsoft.teams2.modulehost.app helper app of Microsoft Teams (work

CVE-2024-45409 CRITICAL POC
9.8 Sep 10

The Ruby SAML library is for implementing the client side of a SAML authorization. Rated critical severity (CVSS 9.8), t

CVE-2022-35929 CRITICAL POC
9.8 Aug 04

cosign is a container signing and verification utility. Rated critical severity (CVSS 9.8), this vulnerability is remote

CVE-2022-31053 CRITICAL POC
9.8 Jun 13

Biscuit is an authentication and authorization token for microservices architectures. Rated critical severity (CVSS 9.8)

Vendor StatusVendor

SUSE

Severity: High
Product Status
openSUSE Leap 16.0 Fixed
openSUSE Tumbleweed Fixed
SUSE Linux Enterprise Module for HPC 15 SP7 Affected
SUSE Linux Enterprise High Performance Computing 15 SP7 Affected
SUSE Linux Enterprise Server 15 SP6-LTSS Affected

Share

CVE-2026-39829 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy