golang.org/x/crypto/ssh: Invoking pathological RSA/DSA parameters may cause DoS
High severity
GitHub Reviewed
Published
Jun 25, 2026
to the GitHub Advisory Database
•
Updated Jun 25, 2026
Description
Published by the National Vulnerability Database
May 22, 2026
Published to the GitHub Advisory Database
Jun 25, 2026
Reviewed
Jun 25, 2026
Last updated
Jun 25, 2026
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.
References