CVE-2025-61729
Excessive resource consumption when printing error string for host certificate validation in crypto/x509
7.5CVSSHIGH
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 Vector Breakdown
Exploitability
AV:NAttack VectorNetwork
AC:LAttack ComplexityLow
PR:NPrivileges RequiredNone
UI:NUser InteractionNone
Scope
S:UScopeUnchanged
Impact
C:NConfidentialityNone
I:NIntegrityNone
A:HAvailabilityHigh
Weaknesses
Affected Products
go standard libraryoss-projectUSOSS Librariesaka golang standard library, net/http, crypto/x509, html/template
and 6 more affected products View all →
Attack Graph
Products CVE Techniques Tactics
Click technique nodes to view MITRE ATT&CK details. Scroll to zoom, drag to pan.
Exploitability
Official Patch Available
MITRE ATT&CK
1 technique Collection
References
https://go.dev/cl/725920
go.dev
https://go.dev/issue/76445
go.dev
https://groups.google.com/g/golang-announce/c/8FJoBkPddm4
groups.google.com
and 8 more references View all →
Timeline
Published
Dec 2, 2025
Last Updated
Dec 19, 2025
Unlock Complete Vulnerability Intelligence
Get the full picture for CVE-2025-61729 and every CVE in our database. Create a free account — no credit card required.
Create Free AccountPlain-language analysis
Impact assessment and exploitation scenario in plain English
Attack graph visualization
Interactive attack path and kill chain mapping
Exploit details & PoC links
ExploitDB, Metasploit, GitHub PoCs with direct links
Nuclei scanner templates
Ready-to-use vulnerability scanner templates
Full remediation guide
Patch instructions, workarounds, and compliance impact
Interactive AI chat
Ask questions about this vulnerability in natural language
Related vulnerabilities
Semantically similar CVEs and attack patterns
REST API & MCP access
Integrate vulnerability data into your workflows