high

CVE-2026-39829

Go · golang.org/x/crypto/ssh • Go · golang.org/x/crypto

Summary

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

Severity
high
CVSS
7.5
EPSS
0.5% (p39)
CWE
CWE-347
Also known as
GHSA-w879-237q-wc7r, GO-2026-5018
Published
2026-06-25
Updated
2026-06-25

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

References

Related advisories

Is your project exposed to this? Stateward checks every dependency on every pull request and flags it only if your code actually reaches it.

Check my repo

Summarize with AI

ChatGPTClaudePerplexity

Sources: CISA KEV (public domain), OSV.dev & GitHub Advisory Database (CC-BY-4.0), FIRST EPSS, NVD/CWE (public domain). Served live from the Stateward advisory database.