cve.bz

CVE-2025-68121 golang go: Improper Certificate Validation

10.0 criticalExploit referenceEPSS 0.9%Fix available

Critical (10.0) in golang go. EPSS 0.9% estimated probability of exploitation activity in the next 30 days. Fixed in stdlib 1.24.13, 1.25.7, 1.26.0-rc.3.

On this page
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

CVSS 3.1

10.0 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
EPSS
0.9% (unchanged from 0.9% a week ago; 0.9% 30 days ago) estimated probability of exploitation activity in the next 30 days; 61st percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: total, assessed 2026-04-29. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-295 Improper Certificate Validation
OWASP Top 10
A07:2025 Authentication Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-68121 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-68121?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-68121?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-68121 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Go standard library crypto/tlsbefore 1.24.13
Go standard library crypto/tlsfrom 1.25.0-0 before 1.25.7
Go standard library crypto/tlsfrom 1.26.0-rc.1 before 1.26.0-rc.3

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GO-2026-4337Gostdlib<1.24.13
>=1.25.0-0 <1.25.7
>=1.26.0-rc.1 <1.26.0-rc.3
1.24.13, 1.25.7, 1.26.0-rc.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12golang-1.19no fix listedDEBIAN-CVE-2025-68121
Debian13golang-1.24no fix listedDEBIAN-CVE-2025-68121
Ubuntu20.04:LTSgolang-1.18, golang-1.20, golang-1.21 and 1 moreno fix listedUBUNTU-CVE-2025-68121
Ubuntu22.04:LTSgolang-1.17, golang-1.18, golang-1.20 and 4 moreno fix listedUBUNTU-CVE-2025-68121
Ubuntu24.04:LTSgolang-1.21, golang-1.22, golang-1.23no fix listedUBUNTU-CVE-2025-68121
Ubuntu25.10golang-1.23, golang-1.24, golang-1.25no fix listedUBUNTU-CVE-2025-68121
Ubuntu26.04:LTSgolang-1.23no fix listedUBUNTU-CVE-2025-68121
UbuntuPro:16.04:LTSgolang-1.18no fix listedUBUNTU-CVE-2025-68121
UbuntuPro:18.04:LTSgolang-1.16, golang-1.18no fix listedUBUNTU-CVE-2025-68121
UbuntuPro:20.04:LTSgolang-1.16no fix listedUBUNTU-CVE-2025-68121
Red Hatansible_automation_platform:2.5::el8automation-gateway-proxy, automation-gateway-proxy-server0:2.5.10-4.el8apRHSA-2026:6278
Red Hatansible_automation_platform:2.5::el8python3.12-pillow0:12.1.1-1.el8apRHSA-2026:6278
Red Hatansible_automation_platform:2.5::el9automation-gateway-proxy, automation-gateway-proxy-server0:2.6.14-1.el9RHSA-2026:6278
Red Hatansible_automation_platform:2.5::el9python3.12-pillow0:12.1.1-1.el9apRHSA-2026:6278
Red Hatansible_automation_platform:2.6::el9automation-gateway-proxy, automation-gateway-proxy-server, automation-gateway-proxy-debugsource and 1 more0:2.6.14-1.el9RHSA-2026:6277
Red Hatansible_automation_platform:2.6::el9automation-platform-ui0:2.6.7-1.el9apRHSA-2026:6277
Red Hatansible_automation_platform:2.6::el9python3.12-pillow, python3.12-pillow-debuginfo, python3.12-pillow-debugsource0:12.1.1-1.el9apRHSA-2026:6277
Red Hatenterprise_linux:8::appstreamaardvark-dns2:1.10.1-2.module+el8.10.0+24081+a04d358aRHSA-2026:4672
Red Hatenterprise_linux:8::appstreambuildah, buildah-tests, buildah-debuginfo and 2 more2:1.33.14-3.module+el8.10.0+24081+a04d358aRHSA-2026:4672
Red Hatenterprise_linux:8::appstreamcockpit-podman0:84.1-1.module+el8.10.0+24081+a04d358aRHSA-2026:4672
Red Hatenterprise_linux:8::appstreamconmon, conmon-debuginfo, conmon-debugsource3:2.1.10-1.module+el8.10.0+24081+a04d358aRHSA-2026:4672
Red Hatenterprise_linux:8::appstreamcontainer-selinux2:2.229.0-2.module+el8.10.0+24081+a04d358aRHSA-2026:4672
278 more for Red Hat in the JSON and on Red Hat's page.

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This is a moderate flaw because it only occurs under specific conditions, such as TLS session resumption with runtime changes to certificate authority settings. Exploitation is not straightforward and requires a controlled setup. The impact is limited to certificate validation within the same component and does not affect system availability.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Cryostat 4 on RHEL 9cryostat/cryostat-storage-rhel9:4.1.1-3Fixed 2026-02-26RHSA-2026:3186
Red Hat Ansible Automation Platform 2.5 for RHEL 8automation-gateway-proxy-0:2.5.10-4.el8apFixed 2026-03-31RHSA-2026:6278
Red Hat Ansible Automation Platform 2.5 for RHEL 9automation-gateway-proxy-0:2.6.14-1.el9Fixed 2026-03-31RHSA-2026:6278
Red Hat Ansible Automation Platform 2.6 for RHEL 9automation-gateway-proxy-0:2.6.14-1.el9Fixed 2026-03-31RHSA-2026:6277
Red Hat Enterprise Linux 10golang-0:1.25.7-1.el10_1Fixed 2026-02-16RHSA-2026:2706
Red Hat Enterprise Linux 10grafana-0:10.2.6-22.el10_1Fixed 2026-02-18RHSA-2026:2914
Red Hat Enterprise Linux 10grafana-pcp-0:5.3.0-2.el10_1Fixed 2026-02-23RHSA-2026:3035
Red Hat Enterprise Linux 10golang-github-openprinting-ipp-usb-0:0.9.27-5.el10_1Fixed 2026-02-23RHSA-2026:3092
Red Hat Enterprise Linux 10buildah-2:1.41.8-2.el10_1Fixed 2026-02-25RHSA-2026:3297
Red Hat Enterprise Linux 10podman-7:5.6.0-12.el10_1Fixed 2026-02-25RHSA-2026:3336
Assisted Installer for Red Hat OpenShift Container Platform 2rhai/assisted-installer-rhel9Affected
Confidential Compute Attestationbuild-of-trustee/trustee-rhel9-operatorAffected
Confidential Compute Attestationopenshift-sandboxed-containers/osc-monitor-rhel9Will not fix
Deployment Validation Operatordvo/deployment-validation-rhel8-operatorAffected
ExternalDNS Operatoredo/external-dns-rhel8Affected
ExternalDNS Operatoredo/external-dns-rhel9Not affected
Fence Agents Remediation Operatorworkload-availability/fence-agents-remediation-rhel8-operatorAffected
File Integrity Operatorcompliance/openshift-compliance-operator-bundleAffected
Gatekeeper 3gatekeeper/gatekeeper-rhel9-operatorUnder investigation
Logging Subsystem for Red Hat OpenShiftopenshift-logging/eventrouter-rhel9Will not fix
610 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-68121.

Attack patterns (CAPEC)

  • CAPEC-459 Creating a Rogue Certification Authority Certificate Likelihood: Medium · Severity: Very High
  • CAPEC-475 Signature Spoofing by Improper Validation Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON