CVE-2025-61729Golang Go
High 7.5 No auth needed
Follow: this CVE · Golang · Golang Go We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- —
- Auth required
- No
- Published
- Dec 2, 2025
- Updated
- Oct 18, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-295
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Go.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | stdlib |
< 1.24.11 |
1.24.11 |
go get stdlib@v1.24.11 |
| Go | stdlib |
≥ 1.25.0 < 1.25.5 |
1.25.5 |
go get stdlib@v1.25.5 |
Per OSV / GitHub Advisories (GO-2025-4155). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| golang | go | < 1.24.11 |
| golang | go | ≥ 1.25.0 < 1.25.5 |
Official advisories
- Red Hat Security Advisory: container-tools:rhel8 security, bug fix, and enhancement update · Red Hat · RHSA-2026:102902 · Nov 25, 2026 High
- Red Hat Security Advisory: Red Hat OpenStack Platform 16.2 security advisory · Red Hat · RHSA-2026:54757 · Nov 23, 2026 High
- Red Hat Security Advisory: Red Hat Edge Manager Version 1.1.3 Security Update · Red Hat · RHSA-2026:41019 · Nov 23, 2026 High
- Security update for govulncheck-vulndb · SUSE · openSUSE-SU-2026:21483-1 · Jul 30, 2026 Critical
- cf-cli-8.18.3+git.0.83ce51d9c-1.1 on GA media · SUSE · openSUSE-SU-2026:10688-1 · May 5, 2026 High
- Security update for go1.24-openssl · SUSE · SUSE-SU-2026:20629-1 · Mar 3, 2026 Critical
Also: Red Hat (+140), SUSE (+20)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- go.dev Patch
- go.dev Issue Tracking Patch
- groups.google.com Mailing List Release Notes
- pkg.go.dev Vendor Advisory