GHSA-w879-237q-wc7rHighCVSS 7.5

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

Published
June 25, 2026
Last Modified
June 25, 2026

🔗 CVE IDs covered (1)

📋 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.

🎯 Affected products1

  • go/golang.org/x/crypto/ssh:< 0.52.0

🔗 References (7)