cve.bz

CVE-2025-61727 golang go: Improper Certificate Validation

6.5 mediumEPSS 0.3%Fix available

Medium (6.5) in golang go. EPSS 0.3% estimated probability of exploitation activity in the next 30 days. Fixed in stdlib 1.24.11, 1.25.5.

On this page
An excluded subdomain constraint in a certificate chain does not restrict the usage of wildcard SANs in the leaf certificate. For example a constraint that excludes the subdomain test.example.com does not prevent a leaf certificate from claiming the SAN *.example.com.

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 24th 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: partial, assessed 2025-12-03. 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
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-61727 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-61727?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-61727?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-61727 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/x509before 1.24.11
Go standard library crypto/x509from 1.25.0 before 1.25.5

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GO-2025-4175Gostdlib<1.24.11
>=1.25.0 <1.25.5
1.24.11, 1.25.5

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12golang-1.19no fix listedDEBIAN-CVE-2025-61727
Debian13golang-1.24no fix listedDEBIAN-CVE-2025-61727
Ubuntu22.04:LTS, 25.10, 26.04:LTSgolang-1.24, golang-1.25no fix listedUBUNTU-CVE-2025-61727
Ubuntu24.04:LTSgolang-1.24no fix listedUBUNTU-CVE-2025-61727
Red Hathummingbird:1golang-fips1.25, golang-fips1.25-bin, golang-fips1.25-src and 4 more0:1.25.8-0.1.hum1RHSA-2026:7070
Red Hathummingbird:1golang1.25, golang1.25-bin, golang1.25-src and 4 more0:1.25.9-1.hum1RHSA-2026:7385
Red Hathummingbird:1golang1.26, golang1.26-bin, golang1.26-src and 4 more0:1.26.2-1.hum1RHSA-2026:7291
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 11 morego1.241.24.11-150000.1.50.1SUSE-SU-2025:4337-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 11 morego1.251.25.5-150000.1.23.1SUSE-SU-2025:4336-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 5 morego1.24-openssl1.24.12-150000.1.18.1SUSE-SU-2026:0296-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 5 morego1.25-openssl1.25.6-150000.1.9.1SUSE-SU-2026:0297-1
SUSELinux Enterprise Module for Development Tools 15 SP7, Linux Enterprise Server 15 SP6-LTSS, Linux Enterprise Server for SAP Applications 15 SP6go1.24-openssl1.24.12-150600.13.15.1SUSE-SU-2026:0308-1
SUSELinux Enterprise Module for Development Tools 15 SP7, Linux Enterprise Server 15 SP6-LTSS, Linux Enterprise Server for SAP Applications 15 SP6go1.25-openssl1.25.6-150600.13.9.1SUSE-SU-2026:0298-1
SUSELinux Enterprise Module for Package Hub 15 SP6govulncheck-vulndb0.0.20251209T172047-150000.1.127.1SUSE-SU-2025:4395-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0go1.241.24.11-160000.1.1SUSE-SU-2025:21193-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0go1.24-openssl1.24.13-160000.1.1SUSE-SU-2026:20629-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0go1.251.25.5-160000.1.1SUSE-SU-2025:21192-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0go1.25-openssl1.25.7-160000.1.1SUSE-SU-2026:20623-1
openSUSELeap 15.6go1.241.24.11-150000.1.50.1SUSE-SU-2025:4337-1
openSUSELeap 15.6go1.24-openssl1.24.12-150600.13.15.1SUSE-SU-2026:0308-1
openSUSELeap 15.6go1.251.25.5-150000.1.23.1SUSE-SU-2025:4336-1
openSUSELeap 15.6go1.25-openssl1.25.6-150600.13.9.1SUSE-SU-2026:0298-1
openSUSELeap 15.6govulncheck-vulndb0.0.20251209T172047-150000.1.127.1SUSE-SU-2025:4395-1
openSUSELeap 16.0go1.241.24.11-160000.1.1openSUSE-SU-2025:20158-1
openSUSELeap 16.0go1.24-openssl1.24.13-160000.1.1openSUSE-SU-2026:20308-1
openSUSELeap 16.0go1.251.25.5-160000.1.1openSUSE-SU-2025:20157-1
openSUSELeap 16.0go1.25-openssl1.25.7-160000.1.1openSUSE-SU-2026:20301-1
openSUSELeap 16.0govulncheck-vulndb0.0.20260723T184607-160000.1.1openSUSE-SU-2026:21483-1
openSUSETumbleweedbuildpacks-cli0.39.1-1.1openSUSE-SU-2025:15817-1
openSUSETumbleweedgo1.241.24.11-1.1openSUSE-SU-2025:15796-1
3 more for openSUSE in the JSON and on openSUSE's page.
Alpinev3.22go1.24.11-r0ALPINE-CVE-2025-61727
Alpinev3.23, v3.24docker29.1.2-r0ALPINE-CVE-2025-61727
Alpinev3.23, v3.24go1.25.5-r0ALPINE-CVE-2025-61727
Azure Linux2msft-golangno fix listedAZL-71635
Azure Linux3golangno fix listedAZL-71447 AZL-78927 AZL-98646
Alpaquita23, 25go1.24.11-r0BELL-CVE-2025-61727
Alpaquitastreamdocker29.1.2-r1BELL-CVE-2025-61727
Alpaquitastreamgo1.25.5-r0BELL-CVE-2025-61727
BellSoft Hardened Containers23, 25go1.24.11-r0BELL-CVE-2025-61727
BellSoft Hardened Containersstreamgo1.25.5-r0BELL-CVE-2025-61727

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; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita · BellSoft Hardened Containers.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

To exploit this issue, an attacker needs to obtain a leaf certificate with a wildcard SAN (e.g., *.example.com) and the legitimate certificate policy must contain an excluded DNS name constraint (e.g., to prevent issuance for test.example.com), allowing an application using the crypto/x509 package to validate the certificate when it should have been rejected and to be vulnerable to MITM (man-in-the-middle) attacks. Additionally, the attacker does not have full control of what data can be read of modified during the attack. Due to these reasons, this flaw has been rated with a moderate severity.

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
Cert Manager support for Red Hat OpenShift release 1.18cert-manager/jetstack-cert-manager-rhel9:1768985286Fixed 2026-01-22RHSA-2026:0990
Cert Manager support for Red Hat OpenShift release 1.18cert-manager/jetstack-cert-manager-rhel9:1769093421Fixed 2026-01-22RHSA-2026:1042
Cert Manager support for Red Hat OpenShift release 1.18cert-manager/jetstack-cert-manager-acmesolver-rhel9:1769419550Fixed 2026-01-26RHSA-2026:1168
Cert Manager support for Red Hat OpenShift release 1.18cert-manager/jetstack-cert-manager-rhel9:1769419291Fixed 2026-01-26RHSA-2026:1168
Red Hat Hardened Imagesgolang-fips1-25-main-1.25.8-0.1.hum1Fixed 2026-04-08RHSA-2026:7070
Red Hat Hardened Imagesgolang1-26-main-1.26.2-1.hum1Fixed 2026-04-09RHSA-2026:7291
Red Hat Hardened Imagesgolang1-25-main-1.25.9-1.hum1Fixed 2026-04-10RHSA-2026:7385
Assisted Installer for Red Hat OpenShift Container Platform 2rhai/assisted-installer-agent-rhel9Fix deferred
Assisted Installer for Red Hat OpenShift Container Platform 2rhai/assisted-installer-controller-rhel9Fix deferred
Assisted Installer for Red Hat OpenShift Container Platform 2rhai/assisted-installer-rhel9Fix deferred
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-controller-rhel9Fix deferred
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-git-cloner-rhel9Fix deferred
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-image-bundler-rhel9Fix deferred
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-image-processing-rhel9Fix deferred
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-rhel9-operatorFix deferred
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-shared-resource-rhel9Fix deferred
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-shared-resource-webhook-rhel9Fix deferred
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-waiters-rhel9Fix deferred
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-webhook-rhel9Fix deferred
cert-manager Operator for Red Hat OpenShiftcert-manager/cert-manager-istio-csr-rhel9Fix deferred
487 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-61727.

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