CVE-2025-68121

NameCVE-2025-68121
DescriptionDuring 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1125916, 1125917

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
golang-1.15 (PTS)bullseye1.15.15-1~deb11u4vulnerable
golang-1.19 (PTS)bookworm1.19.8-2vulnerable
golang-1.24 (PTS)trixie1.24.4-1vulnerable
forky1.24.9-1vulnerable
sid1.24.12-1fixed
golang-1.25 (PTS)forky1.25.3-1vulnerable
sid1.25.7-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
golang-1.15source(unstable)(unfixed)
golang-1.19source(unstable)(unfixed)
golang-1.24source(unstable)1.24.12-11125917
golang-1.25source(unstable)1.25.6-11125916

Notes

[trixie] - golang-1.24 <no-dsa> (Minor issue)
[bookworm] - golang-1.19 <no-dsa> (Minor issue)
[bullseye] - golang-1.15 <postponed> (Limited support, minor issue, follow bookworm DSAs/point-releases)
https://groups.google.com/g/golang-announce/c/Vd2tYVM8eUc
https://github.com/golang/go/issues/77113
Fixed by: https://github.com/golang/go/commit/4be38528a68a8b0c4e101576df200c214ad49c26 (go1.25.6)
Fixed by: https://github.com/golang/go/commit/d0754e6242e70e171a888b6c5e0336bbf014e538 (go1.24.12)
Followup/Documentation update: https://github.com/golang/go/issues/77217
https://groups.google.com/g/golang-announce/c/K09ubi9FQFk
https://github.com/golang/go/commit/9f30ca9189831b8061a6ee46c0a2a331b4864559 (go1.26rc3)
https://github.com/golang/go/commit/c7d189e65c229a840c1e3e310cf4cd4ca0cb4e84 (go1.25.7)
https://github.com/golang/go/commit/6a501314718b6d69bad1723b3065ca6067b560ea (go1.24.13)

Search for package or bug name: Reporting problems