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

32 affected componentsFixes available
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 msft-golang 1.24.9-1
Microsoft cbl2 gcc 11.2.0-8
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 golang 1.23.12-1
Microsoft azl3 tensorflow 2.16.1-9
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
Microsoft cbl2 msft-golang 1.25.8-1
go/stdlib<1.24.11
1.24.11
go/stdlib>=1.25.0<1.25.5
1.25.5
alpine/docker<29.1.2-r0
29.1.2-r0
alpine/docker<29.1.2-r0
29.1.2-r0
alpine/go<1.24.11-r0
1.24.11-r0
alpine/go>=1.25.0<1.25.5-r0
1.25.5-r0
alpine/go>=1.25.0<1.25.5-r0
1.25.5-r0
alpine/rclone<1.72.1-r0
1.72.1-r0
alpine/rclone<1.72.1-r0
1.72.1-r0
ubuntu/golang-1.24*
ubuntu/golang-1.24*
ubuntu/golang-1.24*
ubuntu/golang-1.24*
IBM API Connect<=V10.0.8.0 - V10.0.8.13

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade alpine/docker to a version that resolves this vulnerability.

    Fixed in 29.1.2-r0
  2. Upgrade

    Upgrade alpine/go to a version that resolves this vulnerability.

    Fixed in 1.24.11-r0
  3. Upgrade

    Upgrade alpine/go to a version that resolves this vulnerability.

    Fixed in 1.25.5-r0
  4. Upgrade

    Upgrade alpine/rclone to a version that resolves this vulnerability.

    Fixed in 1.72.1-r0
  5. Upgrade

    Upgrade go/stdlib to a version that resolves this vulnerability.

    Fixed in 1.24.11
  6. Upgrade

    Upgrade go/stdlib to a version that resolves this vulnerability.

    Fixed in 1.25.5
  7. Upgrade

    Upgrade golang to a version that resolves this vulnerability.

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

    Upgrade golang to a version that resolves this vulnerability.

    Fixed in 1.24.11Patch CVE-2025-61727

Event History

Dec 2, 2025
Advisory Published
via OSV·06:30 PM
Data Sourced
via OSV·06:30 PM
DescriptionAffected Software
CVE Published
via MITRE·06:54 PM
Data Sourced
via MITRE·06:54 PM
DescriptionWeakness
Data Sourced
via OSV·07:15 PM
Severity
Data Sourced
via NVD·07:15 PM
Description
Data Sourced
via Red Hat·08:02 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·10:16 PM
Severity
Dec 5, 2025
Data Sourced
via Microsoft·01:01 AM
DescriptionSeverityWeaknessAffected Software
Dec 19, 2025
Data Sourced
via NVD·06:25 PM
RemedyWeaknessAffected Software
Jan 30, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software
Mar 16, 2026
Updated
via IBM·12:00 AM
Affected Software
Jul 7, 2026
Updated
via IBM·12:00 AM
Affected Software
Jul 8, 2026
Updated
via IBM·12:00 AM
Affected Software
Aug 20, 2026
Updated
via IBM·12:00 AM
Affected Software
Sep 22, 2026
Updated
via IBM·12:00 AM
Affected Software
Oct 14, 2026
Updated
via IBM·12:00 AM
Affected Software
Nov 17, 2026
Updated
via OSV·06:31 AM
Affected Software
Nov 18, 2026
Updated
via IBM·12:00 AM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

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