CVE-2025-61727

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

State
Published
Severity
6.5 Medium
Published
Dec 3, 2025
Updated
Dec 3, 2025
Reserved
Sep 30, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.16.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:NCISA-ADP

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
crypto/x509Go standard library
  • before 1.24.11Affected
  • 1.25.0 to before 1.25.5Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.