CVE-2026-39829

GHSA-w879-237q-wc7r · GO-2026-5018 · published 22 May 2026 · updated 14 Nov 2026

Invoking pathological RSA/DSA parameters may cause DoS in golang.org/x/crypto/ssh

7.5HighCVSS 7.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 0.52.0 and golang.org/x/crypto 0.52.0.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
golang.org/x/crypto<0.52.00.52.0
go: golang.org/x/crypto<0.52.00.52.0

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in golang.org/x/crypto (Go), strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-39829 severity on Zeptric[![CVE-2026-39829](https://zeptric.io/badge/cve/CVE-2026-39829.svg)](https://zeptric.io/cve/CVE-2026-39829)