CVE-2025-68121
JSON

9.1critical

Unexpected session resumption in crypto/tls

Severity
9.1critical CVSS:3.1 by CISA-ADP
Exploit likelihood
0.90% (higher than 58% of CVEs)
Published
Last changed
Assigned by
Go
Also known as
GO-2026-4337BIT-GOLANG-2025-68121

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.

Affected

Product or packageVersionsReported by
crypto/tlsbefore 1.24.13, from 1.25.0-0 before 1.25.7, from 1.26.0-rc.1 before 1.26.0-rc.3CVE List
stdlib (Go)before 1.24.13, from 1.25.0-0 before 1.25.7, from 1.26.0-rc.1 before 1.26.0-rc.3Go Vulnerability Database
golang gobefore 1.24.13, from 1.25.0 before 1.25.7, 1.26.0NVD
golang (Bitnami)before 1.24.13, from 1.25.0-0 before 1.25.7Bitnami Vulnerability Database

All scores

CISA-ADP9.1critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
NVD10.0critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Bitnami Vulnerability Databasecritical rating

Classification

CWE-295

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.

What each source says

CVE List

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.

NVD (es)

Durante la reanudación de la sesión en crypto/tls, si la Config subyacente tiene sus campos ClientCAs o RootCAs mutados entre el handshake inicial y el handshake reanudado, el handshake reanudado puede tener éxito cuando debería haber fallado. Esto puede ocurrir cuando un usuario llama a Config.Clone y muta la Config devuelta, o usa Config.GetConfigForClient. Esto puede hacer que un cliente reanude una sesión con un servidor con el que no la habría reanudado durante el handshake inicial, o hacer que un servidor reanude una sesión con un cliente con el que no la habría reanudado durante el handshake inicial.

References

https://groups.google.com/g/golang-announce/c/K09ubi9FQFkadvisory, mailing-list, third-party-advisory, web
https://go.dev/cl/737700fix, patch
https://go.dev/issue/77217evidence, exploit, issue-tracking, report
https://pkg.go.dev/vuln/GO-2026-4337advisory, vendor-advisory
https://nvd.nist.gov/vuln/detail/CVE-2025-68121web

Related

Sources

SourceRecordLicence
CVE ListCVE-2025-68121 changed 2026-04-29CVE Terms of Use
Go Vulnerability DatabaseGO-2026-4337 changed 2026-11-25CC-BY-4.0
NVDCVE-2025-68121 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-GOLANG-2025-68121 changed 2026-09-10Apache-2.0