Skip to main content
← All vulnerabilities
CVE-2025-68121GO-2026-4337BIT-GOLANG-2025-68121

Unexpected session resumption in crypto/tls

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.24.13, 1.25.7, 1.26.0-rc.3
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: total

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: total

  3. Record last updated

Affected versions

  • crypto/tls

    fixed in 1.24.13; From 1.25.0-0 · fixed in 1.25.7; From 1.26.0-rc.1 · fixed in 1.26.0-rc.3

  • stdlibGo

    fixed in 1.24.13; From 1.25.0-0 · fixed in 1.25.7; From 1.26.0-rc.1 · fixed in 1.26.0-rc.3

References 4

groups.google.com

go.dev

pkg.go.dev