GO-2025-4007
Dashboard / Vulnerabilities / GO-2025-4007
GO-2025-4007
Published: 29 Oct 2025Last Modified: 15 May 2026
Summary: Quadratic complexity when checking name constraints in crypto/x509
Details: 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.
References: https://go.dev/issue/75681, https://go.dev/cl/709854, https://groups.google.com/g/golang-announce/c/4Emdl2iQ_bI
Affected packages
Package
Name: stdlib
Purl: pkg:golang/stdlib
Affected ranges
Type: SEMVER
Events:
Introduced- 0
Fixed -1.24.9
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
