CVE-2025-68121
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Summary
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 Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Go standard library | crypto/tls | 0 < 1.24.13 | affected |
| Go standard library | crypto/tls | 1.25.0-0 < 1.25.7 | affected |
| Go standard library | crypto/tls | 1.26.0-rc.1 < 1.26.0-rc.3 | affected |
Weaknesses
- CWE-295: Improper Certificate Validation
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: none
- Automatable: yes
- Technical Impact: total
References
- https://groups.google.com/g/golang-announce/c/K09ubi9FQFk
- https://go.dev/cl/737700
- https://go.dev/issue/77217
- https://pkg.go.dev/vuln/GO-2026-4337
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.