{"id":"UBUNTU-CVE-2025-61729","details":"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.","modified":"2026-07-08T22:45:07.150110972Z","published":"2025-12-02T19:15:00Z","upstream":["CVE-2025-61729"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2025-61729"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2025-61729"},{"type":"REPORT","url":"https://groups.google.com/g/golang-announce/c/8FJoBkPddm4"},{"type":"REPORT","url":"https://go-review.googlesource.com/c/go/+/725920"},{"type":"REPORT","url":"https://github.com/golang/go/issues/76445"},{"type":"REPORT","url":"https://go.dev/cl/725920"},{"type":"REPORT","url":"https://go.dev/issue/76445"},{"type":"REPORT","url":"https://pkg.go.dev/vuln/GO-2025-4155"}],"affected":[{"package":{"name":"golang-1.24","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/golang-1.24?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.24.4-1ubuntu1~22.04.1","1.24.4-1ubuntu1~22.04.2"],"ecosystem_specific":{"binaries":[{"binary_name":"golang-1.24","binary_version":"1.24.4-1ubuntu1~22.04.2"},{"binary_name":"golang-1.24-go","binary_version":"1.24.4-1ubuntu1~22.04.2"},{"binary_version":"1.24.4-1ubuntu1~22.04.2","binary_name":"golang-1.24-src"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-61729.json"}},{"package":{"name":"golang-1.24","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/golang-1.24?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.24.4-1ubuntu1~24.04.1","1.24.4-1ubuntu1~24.04.2"],"ecosystem_specific":{"binaries":[{"binary_name":"golang-1.24","binary_version":"1.24.4-1ubuntu1~24.04.2"},{"binary_name":"golang-1.24-go","binary_version":"1.24.4-1ubuntu1~24.04.2"},{"binary_name":"golang-1.24-src","binary_version":"1.24.4-1ubuntu1~24.04.2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-61729.json"}},{"package":{"name":"golang-1.24","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/golang-1.24?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.24.2-1","1.24.2-2","1.24.4-1","1.24.4-1ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"golang-1.24","binary_version":"1.24.4-1ubuntu1"},{"binary_version":"1.24.4-1ubuntu1","binary_name":"golang-1.24-go"},{"binary_name":"golang-1.24-src","binary_version":"1.24.4-1ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-61729.json"}},{"package":{"name":"golang-1.25","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/golang-1.25?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.25.0-0ubuntu1","1.25.7-2~25.10.1"],"ecosystem_specific":{"binaries":[{"binary_name":"golang-1.25","binary_version":"1.25.7-2~25.10.1"},{"binary_name":"golang-1.25-go","binary_version":"1.25.7-2~25.10.1"},{"binary_name":"golang-1.25-src","binary_version":"1.25.7-2~25.10.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-61729.json"}},{"package":{"name":"golang-1.24","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/golang-1.24?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.24.4-1ubuntu1","1.24.9-1","1.24.13-2"],"ecosystem_specific":{"binaries":[{"binary_name":"golang-1.24","binary_version":"1.24.13-2"},{"binary_version":"1.24.13-2","binary_name":"golang-1.24-go"},{"binary_version":"1.24.13-2","binary_name":"golang-1.24-src"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-61729.json"}},{"package":{"name":"golang-1.25","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/golang-1.25?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.25.0-0ubuntu1","1.25.7-2"],"ecosystem_specific":{"binaries":[{"binary_name":"golang-1.25","binary_version":"1.25.7-2"},{"binary_name":"golang-1.25-go","binary_version":"1.25.7-2"},{"binary_name":"golang-1.25-src","binary_version":"1.25.7-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-61729.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}