CVE-2025-58187
Quadratic complexity when checking name constraints in crypto/x509
Description
Due to the design of the name constraint checking algorithm, the processing time of some inputs scale non-linearly with respect to the size of the certificate. This affects programs which validate arbitrary certificate chains.
No summary for this CVE yet.
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
The Go Project
oss-projectaka crypto, go, golang-google-protobuf
ООО «Ред Софт»
commercial·RUaka red soft
ООО "Открытая мобильная платформа"
commercial·RU
Go standard library
oss-project·USaka html/template, crypto/x509, net/http, golang standard library
golang
oss-project·US
Exploitability
Official Patch Available
Attack Graph
Products CVE Techniques Tactics
Click technique nodes for MITRE ATT&CK details · drag to pan · Ctrl/⌘ + scroll to zoom, or go fullscreen.
MITRE ATT&CK
1 technique Impact
References
https://seclists.org/oss-sec/2025/q4/18
seclists.org
https://github.com/golang/go/issues/75681
github.com
https://vuldb.com/?id.327873
vuldb.com
and 6 more references View all →
Unlock Complete Vulnerability Intelligence
Get the full picture for CVE-2025-58187 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
