GO-2026-4946

Inefficient policy validation in crypto/x509

At a glance

Published
Updated
CVE
CVE-2026-32281
Aliases
BIT-golang-2026-32281

Description

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

PackageVersions
Go · stdlibintroduced 0, fixed 1.25.9, introduced 1.26.0-0, fixed 1.26.2

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — Go Vulnerability Database