Denial of servicein Go standard library crypto/tls.
Proof of concept public (GitHub).
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.
- Upgrade crypto/tls to 1.19.12, 1.20.7, 1.21.0-rc.4 or later, whichever matches your release line.
- Upgrade stdlib (Go) to 1.19.12, 1.20.7, 1.21.0-rc.4 or later, whichever matches your release line.
Not confirmed by any source yet: severity not scored yet. We show these as not confirmed instead of guessing.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 5 Apr 2023CVE ID reserved by Go.
- 2 Aug 2023Published in the CVE List.
- 21 Aug 2023First public proof of concept on GitHub.
- 13 Feb 2025CVE record last updated.
Attack code anyone can find
Exploit maturity: Proof of concept (GitHub). CISA assessment (SSVC): exploitation none.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Other crypto/tls vulnerabilities
Same weakness: Uncontrolled resource consumption
Patchminder. CVE-2023-29409: Denial of service in Go standard library crypto/tls. https://patchminder.com/cve/cve-2023-29409/ (accessed 5 December 2026).