CVE-2026-39829HIGHCVSS 7.5

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

Published Jun 25, 2026·Updated Jun 25, 2026

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.

Affected Packages (1)

golang.org/x/crypto/sshGO
Fixed in 0.52.0

CVSS Vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References

View on NVD Search GitHub Search Google

Get alerted for CVEs like this

Register your stack and get notified within minutes when a matching CVE drops.

Start monitoring free