CVE-2025-68121

Unexpected session resumption in crypto/tls

State
Published
Severity
9.1 Critical
Published
Feb 5, 2026
Updated
Apr 29, 2026
Reserved
Dec 15, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.19.1 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:NCISA-ADP

Weaknesses

  • CWE-295 Improper Certificate Validation

Affected Products

ProductVersions
crypto/tlsGo standard library
  • before 1.24.13Affected
  • 1.25.0-0 to before 1.25.7Affected
  • 1.26.0-rc.1 to before 1.26.0-rc.3Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.