VulnWatch by ve1ve2
high 7.5 EPSS 0.47%

GO-2026-5018: Invoking pathological RSA/DSA parameters may cause DoS in golang.org/x/crypto/ssh

Source:
OSV.dev
Published:
Fetched:
Updated:
Affects:
golang.org/x/crypto

https://osv.dev/vulnerability/GO-2026-5018 ↗

osvgofix-available

Invoking pathological RSA/DSA parameters may cause DoS in golang.org/x/crypto/ssh 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: Go:golang.org/x/crypto Fixed in: 0.52.0 References: https://go.dev/issue/79565 https://groups.google.com/g/golang-announce/c/a082jnz-LvI https://go.dev/cl/781641 https://go.dev/cl/781661

Linked vulnerabilities (2)

CVE-2026-39829 high 7.5 EPSS 0.47% (p41) NVDCVE.orgGHSA
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

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

CWE: CWE-347, CWE-1284Aliases: GHSA-w879-237q-wc7rNVD: Modified

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

Aliases: CVE-2026-39829