CVE-2023-29409

published 2 Aug 2023 · updated 16 Nov 2026

Large RSA keys can cause high CPU usage in crypto/tls

5.3MediumCVSS 5.3EPSS 2%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 2%. Fixed in 1.19.12, 1.20.7 and 1.21.0-rc.4.

Extremely large RSA keys in certificate chains can cause a client/server to expend significant CPU time verifying signatures. With fix, the size of RSA keys transmitted during handshakes is restricted to <= 8192 bits. Based on a survey of publicly trusted RSA keys, there are currently only three certificates in circulation with keys larger than this, and all three appear to be test certificates that are not actively deployed. It is possible there are larger keys in use in private PKIs, but we target the web PKI, so causing breakage here in the interests of increasing the default safety of users of crypto/tls seems reasonable.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Go standard library<1.19.12, >=1.20.0-0 <1.20.7, >=1.21.0-0 <1.21.0-rc.41.19.12, 1.20.7, 1.21.0-rc.4

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2023-29409 severity on Zeptric[![CVE-2023-29409](https://zeptric.io/badge/cve/CVE-2023-29409.svg)](https://zeptric.io/cve/CVE-2023-29409)