CVE-2025-68121 Details
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.
A vulnerability exists in the Go programming language's crypto/tls library, specifically in versions prior to 1.24.13, between 1.25.0-0 and 1.25.7, and in the 1.26.0-rc.1 prior to 1.26.0-rc.3. During session resumption, if the Config's ClientCAs or RootCAs fields are changed between the initial and resumed handshakes, the resumption may incorrectly succeed. This issue can arise when Config.Clone is used to create a mutable copy of the configuration or when Config.GetConfigForClient is called. As a result, a client or server may resume a session under conditions that would have been rejected during the original handshake, leading to potential authentication bypass.
Users can update to Go versions 1.25.7 or 1.24.13, both of which include the necessary fix. After updating, it's important to review the application's use of Config.Clone and Config.GetConfigForClient to ensure that session resumption behaves as expected.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 29, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://go.dev/cl/737700 | [email protected] | Patch |
| https://go.dev/issue/77217 | [email protected] | ExploitIssue Tracking |
| https://groups.google.com/g/golang-announce/c/K09ubi9FQFk | [email protected] | Mailing ListThird Party Advisory |
| https://pkg.go.dev/vuln/GO-2026-4337 | [email protected] | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-295 | Improper Certificate Validation | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| golang go | < 1.24.13 >= 1.25.0, < 1.25.7 1.26.0 rc1 1.26.0 rc2 |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 29, 2026 | CVE Modified | CISA-ADP |
| Feb 20, 2026 | CVE Modified | CISA-ADP |
| Feb 10, 2026 | Initial Analysis | [email protected] |
| Feb 6, 2026 | CVE Modified | CISA-ADP |
| Feb 5, 2026 | New CVE Received | [email protected] |