What’s Vulnerable › Vulnerabilities
CVE-2025-68121: Unexpected session resumption in crypto/tls
- Severity: critical (CVSS 10.0 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.9% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-02-05 · updated 2026-06-17
- Weakness: CWE-295
Description
During session resumption in crypto/tls, if the underlying Config has its ClientCAs or RootCAs fields mutated between the initial handshake and the resumed handshake, the resumed handshake may succeed when it should have failed. This may happen when a user calls Config.Clone and mutates the returned Config, or uses Config.GetConfigForClient. This can cause a client to resume a session with a server that it would not have resumed with during the initial handshake, or cause a server to resume a session with a client that it would not have resumed with during the initial handshake.
Affected products
- Go: before 1.24.13; from 1.25.0 before 1.25.7; 1.26.0-rc1, 1.26.0-rc2 — fixed in 1.24.13, 1.25.7
How to fix
Upgrade to a fixed version: Go 1.24.13, 1.25.7. Check the vendor advisory for mitigations.
References
- https://go.dev/cl/737700
- https://go.dev/issue/77217
- https://groups.google.com/g/golang-announce/c/K09ubi9FQFk
- https://pkg.go.dev/vuln/GO-2026-4337
Get alerted when CVE-2025-68121 or the next vulnerability affects your stack