CVE-2025-61729: Excessive resource consumption when printing error string for host certificate validation in crypto/x509
Vulnerability summary
CVE-2025-61729 is a high (CVSS 7.5) Improper Certificate Validation vulnerability in go standard library crypto/x509. EPSS estimates a 0.49% chance of exploitation in the next 30 days, higher than 42.1% of scored vulnerabilities.
Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 03-11-2026)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 140 · Related 324Showing 100 of 326.
Timeline
- 02-12-2025PublishedVulnerability first disclosed.
- 03-12-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
8 scores · 8 sources · 1 version- OSV · Red hatEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · WolfiEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · ChainguardEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · AlpineEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.49%
Chance of exploitation in the next 30 days
Percentile
42%
Versus all other CVEs
30-day change
Increase +0.03 pp
From 0.46% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard197 products
- aactl< 0.4.12-r39
- actions-runner-controller< 0.13.0-r3
- actions-runner-controller-compat< 0.13.0-r3
- actions-runner-controller-fips< 0.13.0-r4
- actions-runner-controller-fips-compat< 0.13.0-r4
Alpine3 products
- docker< 29.1.2-r0
- go≥ 1.25.0, < 1.24.11-r0 | ≥ 1.25.0, < 1.25.5-r0
- rclone< 1.72.1-r0
2 vendors · 200 products · Showing 200 of 2594
References
65 linksShow all 65 references
- pkg.go.devWEB