CVE-2025-61729: Excessive resource consumption when printing error string for host certificate validation in crypto/x509

Published Dec 2, 2025
·
Updated

Excessive resource consumption when printing error string for host certificate validation in crypto/x509

Other sources

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.

NVD

Affected Software

21 affected components
go>=1.24.11<=1.25.5
Microsoft cbl2 golang 1.22.7-5
Microsoft azl3 golang 1.25.3-1
Microsoft cbl2 golang 1.18.8-10
Microsoft cbl2 tensorflow 2.11.1-2
Microsoft cbl2 gcc 11.2.0-8
Microsoft cbl2 msft-golang 1.24.9-1
Microsoft azl3 gcc 13.2.0-7
Microsoft azl3 python-tensorboard 2.16.2-6
Microsoft cbl2 python-tensorboard 2.11.0-3
Microsoft azl3 tensorflow 2.16.1-9
Microsoft azl3 golang 1.23.12-1
Microsoft cbl2 gcc 11.2.0-9
Microsoft cbl2 msft-golang 1.24.11-1
Microsoft azl3 golang 1.25.5-1
Golang Go<1.24.11
Golang Go>=1.25.0<1.25.5
IBM Verify Identity Access<=11.0 - 11.0.2
IBM Security Verify Access<=10.0 - 10.0.9.1
IBM Verify Identity Access Container<=11.0 - 11.0.2
IBM Security Verify Access Container<=10.0 - 10.0.9.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade golang to a version that resolves this vulnerability.

    Fixed in 1.25.5Patch CVE-2025-61729
  2. Upgrade

    Upgrade golang to a version that resolves this vulnerability.

    Fixed in 1.24.11Patch CVE-2025-61727

Event History

Dec 2, 2025
CVE Published
via MITRE·06:54 PM
Data Sourced
via MITRE·06:54 PM
DescriptionWeakness
Data Sourced
via NVD·07:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via Red Hat·08:02 PM
DescriptionSeverityAffected Software
Dec 5, 2025
Data Sourced
via Microsoft·01:01 AM
DescriptionSeverityWeaknessAffected Software
Updated
via Microsoft·01:01 AM
Affected Software
Updated
via Microsoft·01:01 AM
DescriptionSeverity
Jul 8, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-61729?

The severity of CVE-2025-61729 has not been officially rated, but it involves excessive resource consumption due to unbounded error string generation.

2

How do I fix CVE-2025-61729?

To fix CVE-2025-61729, update to a patched version of Go that limits the number of hosts printed in error strings.

3

Which software versions are affected by CVE-2025-61729?

CVE-2025-61729 affects multiple versions of Go from 1.24.11 to 1.25.5 and specific Microsoft products utilizing Go.

4

What type of vulnerability is CVE-2025-61729?

CVE-2025-61729 is classified as a resource consumption vulnerability due to excessive handling of error strings.

5

Can CVE-2025-61729 impact application performance?

Yes, CVE-2025-61729 can significantly impact application performance by consuming excessive resources during error handling.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203