---
id: CVE-2025-68121
aliases:
  - GO-2026-4337
  - BIT-golang-2025-68121
title: Unexpected session resumption in crypto/tls
summary: Unexpected session resumption in crypto/tls
severity: none
vendor: stdlib
product: stdlib
ecosystem: go
affected:
  - 'stdlib >= 1.26.0-rc.1, < 1.26.0-rc.3'
patched:
  - stdlib 1.26.0-rc.3
published: '2026-02-05'
updated: '2026-09-22'
sourceUpdated: '2026-09-22T10:41:48.776562507Z'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GO-2026-4337'
references:
  - url: 'https://groups.google.com/g/golang-announce/c/K09ubi9FQFk'
  - url: 'https://go.dev/cl/737700'
  - url: 'https://go.dev/issue/77217'
tags:
  - osv
  - go
epss: 0.00856
epssPercentile: 0.56566
ingestedAt: '2026-07-23T19:05:54.031Z'
---

## Overview

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 packages

- `stdlib >= 1.26.0-rc.1, < 1.26.0-rc.3`

## Remediation

Upgrade to a patched release:

- `stdlib 1.26.0-rc.3`
