patchminder
Proof of concept · GitHub CVE-2023-29409

Denial of servicein Go standard library crypto/tls.

Published 2 Aug 2023 · Updated 13 Feb 2025 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Proof of concept public (GitHub).

Attack code is public
Severity
Not scored
No source has scored it yet
Attack likelihood
Moderate
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 1.9% chance in 30 days · 4 Dec 2026
Fix
Available
Fixed in 1.19.12, 1.20.7, 1.21.0-rc.4
In plain words

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.

What to do now
  • 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.

Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
crypto/tls
before 1.19.12
1.19.12
CVE record
crypto/tls
1.20.0-0 to before 1.20.7
1.20.7
CVE record
crypto/tls
1.21.0-0 to before 1.21.0-rc.4
1.21.0-rc.4
CVE record
stdlib (Go)
before 1.19.12
1.19.12
GitHub advisory
stdlib (Go)
1.20.0-0 to before 1.20.7
1.20.7
GitHub advisory
stdlib (Go)
1.21.0-0 to before 1.21.0-rc.4
1.21.0-rc.4
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 5 Apr 2023
    CVE ID reserved by Go.
  2. 2 Aug 2023
    Published in the CVE List.
  3. 21 Aug 2023
    First public proof of concept on GitHub.
  4. 13 Feb 2025
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Proof of concept (GitHub). CISA assessment (SSVC): exploitation none.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
1 repository
GitHubno warning signs foundmateusz834/CVE-2023-294091 stars · created 21 Aug 2023CVE-2023-29409 reproducer

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.

Related

Other crypto/tls vulnerabilities

Same weakness: Uncontrolled resource consumption

All CWE-400 vulnerabilities

References
Cite this page

Patchminder. CVE-2023-29409: Denial of service in Go standard library crypto/tls. https://patchminder.com/cve/cve-2023-29409/ (accessed 5 December 2026).