Resource Consumption Vulnerability in Go's Error Handling
CVE-2025-61729
Key Information:
- Vendor
Go Standard Library
- Status
- Crypto/x509
- CVE ID
- CVE ID:
- CVE-2025-61729
- Vendor
- CVE Published:
- 2 December 2025
- Fixed in
- Fixed in:
- 1.24.11, 1.25.5
Timeline
Trending 1 day after it was published
- π
Vulnerability started trending
Vulnerability published
Vulnerability Reserved
Badges
How risky is it?
- Yes: Works over the network, no login needed
- No: No public exploit yet
- No: Not on CISA's exploited list
- No: No ransomware use seen
Our verdict
Check today
Find out if you're affected. If you are, patch.
What to do
1Update to a fixed version
Install the crypto/x509 release that fixes your version line, or later:
2Can't patch yet? Reduce exposure
It can be reached over the network, so limit who can reach crypto/x509. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.
3Why it's rated "Check today"
- It can be exploited remotely without credentials.
- Its CVSS severity is high (7.5).
What is CVE-2025-61729?
CVE-2025-61729 is a vulnerability in the Go Standard Library's Crypto/x509 package, specifically within the HostnameError.Error() function. This flaw occurs when constructing an error string without a limit on the number of hosts printed. An attacker can exploit this by providing a certificate that triggers excessive resource consumption through repeated string concatenation, leading to performance degradation.
Potential Impact of CVE-2025-61729
- Excessive resource consumption: An attacker can cause the application to consume an excessive amount of CPU and memory resources, potentially leading to denial of service.
References
More Go Standard Library Vulnerabilities
Certificate Trust Issue in Go Affecting Security
Insufficient Host Validation in Go's URL Parsing Component
Cross-Origin Redirect Flaw in Go's Proxy Headers
Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities Β· Report a correction
