Vulnerability CVE-2025-61729: Information

Description

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: HIGH (7.5)
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published: Dec. 2, 2025
Modified: Dec. 19, 2025
Error type identifier: CWE-295

Fixed packages

References to Advisories, Solutions, and Tools

    1. cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*
      End excluding
      1.24.11

      cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*
      Start including
      1.25.0
      End excluding
      1.25.5