Vulnerability GO-2026-5018

Unknown
UNKNOWN RISK
Vulnerabilities without an assigned CVSS score. Severity is not determinable from available data.
6 months ago
May 22, 2026 at 02:08 AM UTC
Invoking pathological RSA/DSA parameters may cause DoS in golang.org/x/crypto/ssh
<0.52.0
<0.52.0

Summary

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

Details

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.

Impacted packages

Timeline

Published
6 months ago
May 22, 2026 at 02:08 AM UTC
Fixed (v0.52.0)
6 months ago
May 22, 2026 at 12:26 AM UTC
Last Modified
3 hours ago
November 25, 2026 at 10:42 AM UTC