CVE-2026-32281 PUBLISHED

Inefficient policy validation in crypto/x509

Assigner: Go
Reserved: 11.03.2026 Published: 08.04.2026 Updated: 08.04.2026

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.

Product Status

Vendor Go standard library
Product crypto/x509
Versions Default: unaffected
  • affected from 0 to 1.25.9 (excl.)
  • affected from 1.26.0-0 to 1.26.2 (excl.)

Credits

  • Jakub Ciolek - https://ciolek.dev

References

Problem Types

  • CWE-407: Inefficient Algorithmic Complexity