Go Vulnerability Database
GO-2026-4946
Inefficient policy validation in crypto/x509
Details
Validating certificate chains which use policies is unexpectedly inefficient when certificates in the chain contain a very large number of policy mappings, possibly causing denial of service.
This only affects validation of otherwise trusted certificate chains, issued by a root CA in the VerifyOptions.Roots CertPool, or in the system certificate pool.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | stdlib | All versions before 1.25.9 (fixed in 1.25.9) From 1.26.0-0 before 1.26.2 (fixed in 1.26.2) |