Skip to content
CVE PROGRAM SOURCE RECORD6.5 Medium

CVE-2025-61727

Improper application of excluded DNS name constraints when verifying wildcard names in crypto/x509

Description

An excluded subdomain constraint in a certificate chain does not restrict the usage of wildcard SANs in the leaf certificate. For example a constraint that excludes the subdomain test.example.com does not prevent a leaf certificate from claiming the SAN *.example.com.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Go standard library crypto/x509

Default version status: unaffected

  • 0 to < 1.24.11affected
  • 1.25.0 to < 1.25.5affected

References