Advisory

GO-2026-4337

Also known as: BIT-golang-2025-68121, CVE-2025-68121

Summary

Unexpected session resumption in crypto/tls

Details

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.

Severity

Not rated by the source.

Dates

Published
2026-02-05 17:23 UTC
Modified
2026-11-14 13:12 UTC

Affected packages and fixes

stdlib

Go · All systems

Affected

  • introduced 0, fixed 1.24.13, introduced 1.25.0-0, fixed 1.25.7, introduced 1.26.0-rc.1, fixed 1.26.0-rc.3 (semver)

Fixed versions

1.24.13, 1.25.7, 1.26.0-rc.3

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Go Vulnerability Database · CC BY 4.0

Sources & licences