Home

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.

PUBLISHED Reserved 2026-04-07 | Published 2026-05-22 | Updated 2026-05-22 | Assigner Go

Problem types

CWE-1176: Inefficient CPU Computation

Product status

Default status
unaffected

Any version before 0.52.0
affected

Credits

NCC Group Cryptography Services, sponsored by Teleport

References

go.dev/issue/79565

groups.google.com/g/golang-announce/c/a082jnz-LvI

go.dev/cl/781641

go.dev/cl/781661

pkg.go.dev/vuln/GO-2026-5018

cve.org (CVE-2026-39829)

nvd.nist.gov (CVE-2026-39829)

Download JSON