Invoking pathological RSA/DSA parameters may cause DoS in golang.org/x/crypto/ssh
GO-2026-5018 · CVE-2026-39829 · GHSA-w879-237q-wc7r
Published · Modified
AI SAST
Find this class of vulnerability in your own code
Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.
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.
References
Ready to move
Start Securing
Free, no credit card | First findings in minutes