Skip to main content
← All vulnerabilities
CVE-2026-39829GHSA-W879-237Q-WC7RGO-2026-5018

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.52.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • golang.org/x/crypto/ssh

    fixed in 0.52.0

  • golang.org/x/cryptoGo

    fixed in 0.52.0

References 5

go.dev

groups.google.com

pkg.go.dev