cve.bz

CVE-2025-61729 golang go: Improper Certificate Validation

7.5 highEPSS 0.5%Fix available

High (7.5) in golang go. EPSS 0.5% estimated probability of exploitation activity in the next 30 days. Fixed in stdlib 1.24.11, 1.25.5.

On this page
Within HostnameError.Error(), when constructing an error string, there is no limit to the number of hosts that will be printed out. Furthermore, the error string is constructed by repeated string concatenation, leading to quadratic runtime. Therefore, a certificate provided by a malicious actor can result in excessive resource consumption.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 43rd 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: no · Technical impact: partial, assessed 2025-12-02. 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-61729 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-61729?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-61729?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-61729 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-4155Gostdlib<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-61729
Debian13golang-1.24no fix listedDEBIAN-CVE-2025-61729
Ubuntu22.04:LTS, 25.10, 26.04:LTSgolang-1.24, golang-1.25no fix listedUBUNTU-CVE-2025-61729
Ubuntu24.04:LTSgolang-1.24no fix listedUBUNTU-CVE-2025-61729
Red Hatansible_automation_platform:2.4::el8automation-controller-venv-tower0:4.5.30-1.el8apRHSA-2026:1497
Red Hatansible_automation_platform:2.4::el8, ansible_automation_platform_developer:2.4::el8, ansible_automation_platform_inside:2.4::el8receptor0:1.6.3-1.el8apRHSA-2026:1497
Red Hatansible_automation_platform:2.4::el9automation-controller-venv-tower0:4.5.30-1.el9apRHSA-2026:1497
Red Hatansible_automation_platform:2.4::el9, ansible_automation_platform_developer:2.4::el9, ansible_automation_platform_inside:2.4::el9receptor0:1.6.3-1.el9apRHSA-2026:1497
Red Hatansible_automation_platform:2.5::el8automation-controller-venv-tower0:4.6.25-1.el8apRHSA-2026:1506
Red Hatansible_automation_platform:2.5::el8, ansible_automation_platform_developer:2.5::el8python3.11-django0:4.2.27-1.el8apRHSA-2026:1506
Red Hatansible_automation_platform:2.5::el8, ansible_automation_platform_developer:2.5::el8python3.11-urllib30:2.6.3-1.el8apRHSA-2026:1506
Red Hatansible_automation_platform:2.5::el8, ansible_automation_platform_developer:2.5::el8, ansible_automation_platform_inside:2.5::el8receptor0:1.6.3-1.el8apRHSA-2026:1506
Red Hatansible_automation_platform:2.5::el9automation-controller-venv-tower0:4.6.25-1.el9apRHSA-2026:1506
Red Hatansible_automation_platform:2.5::el9, ansible_automation_platform_developer:2.5::el9python3.11-django0:4.2.27-1.el9apRHSA-2026:1506
Red Hatansible_automation_platform:2.5::el9, ansible_automation_platform_developer:2.5::el9python3.11-urllib30:2.6.3-1.el9apRHSA-2026:1506
Red Hatansible_automation_platform:2.5::el9, ansible_automation_platform_developer:2.5::el9, ansible_automation_platform_inside:2.5::el9receptor0:1.6.3-1.el9apRHSA-2026:1506
269 more for Red Hat in the JSON and on Red Hat's page.
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

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. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Important.

ProductPackageStateAdvisory
Cryostat 4 on RHEL 9cryostat/cryostat-grafana-dashboard-rhel9:4.1.0-17Fixed 2026-02-03RHSA-2026:1845
Cryostat 4 on RHEL 9cryostat/cryostat-rhel9-operator:4.1.0-22Fixed 2026-02-03RHSA-2026:1845
Cryostat 4 on RHEL 9cryostat/cryostat-storage-rhel9:4.1.0-22Fixed 2026-02-03RHSA-2026:1845
HawtIO HawtIO 4.3.1hawtio-operator-containerFixed 2026-04-13RHSA-2026:7942
HawtIO HawtIO 4.4.0hawtio-operator-containerFixed 2026-06-10RHSA-2026:25089
Red Hat Ansible Automation Platform 2.4 for RHEL 8receptor-0:1.6.3-1.el8apFixed 2026-01-28RHSA-2026:1497
Red Hat Ansible Automation Platform 2.4 for RHEL 9receptor-0:1.6.3-1.el9apFixed 2026-01-28RHSA-2026:1497
Red Hat Ansible Automation Platform 2.5 for RHEL 8receptor-0:1.6.3-1.el8apFixed 2026-01-28RHSA-2026:1506
Red Hat Ansible Automation Platform 2.5 for RHEL 9receptor-0:1.6.3-1.el9apFixed 2026-01-28RHSA-2026:1506
Red Hat Ansible Automation Platform 2.6 for RHEL 10receptor-0:1.6.3-2.el10apFixed 2026-01-26RHSA-2026:1249
Assisted Installer for Red Hat OpenShift Container Platform 2rhai/assisted-installer-agent-rhel9Affected
Assisted Installer for Red Hat OpenShift Container Platform 2rhai/assisted-installer-controller-rhel9Affected
Assisted Installer for Red Hat OpenShift Container Platform 2rhai/assisted-installer-rhel9Affected
Confidential Compute Attestationbuild-of-trustee/trustee-rhel9-operatorAffected
Confidential Compute Attestationconfidential-compute-attestation-tech-preview/trustee-rhel9-operatorAffected
Confidential Compute Attestationopenshift-sandboxed-containers/osc-monitor-rhel9Will not fix
Cryostat 4cryostat/cryostat-grafana-dashboard-rhel9Affected
Cryostat 4cryostat/cryostat-ose-oauth-proxy-rhel9Will not fix
Cryostat 4cryostat/cryostat-rhel9-operatorAffected
Deployment Validation Operatordvo/deployment-validation-rhel8-operatorAffected
955 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-61729.

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