CVE-2025-61727
JSON

6.5medium

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

Severity
6.5medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.30% (higher than 24% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Go
Also known as
GO-2025-4175BIT-GOLANG-2025-61727

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

Product or packageVersionsReported by
crypto/x509before 1.24.11, from 1.25.0 before 1.25.5CVE List
stdlib (Go)before 1.24.11, from 1.25.0 before 1.25.5Go Vulnerability Database
golang gobefore 1.24.11, from 1.25 before 1.25.5NVD
golang (Bitnami)before 1.24.11, from 1.25.0 before 1.25.5Bitnami Vulnerability Database

All scores

CISA-ADP6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Bitnami Vulnerability Databasemedium rating

Classification

CWE-295

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Una restricción de subdominio excluido en una cadena de certificados no restringe el uso de SANs comodín en el certificado hoja. Por ejemplo, una restricción que excluye el subdominio test.example.com no impide que un certificado hoja reclame el SAN *.example.com.

References

Related

Sources

SourceRecordLicence
CVE ListCVE-2025-61727 changed 2025-12-03CVE Terms of Use
Go Vulnerability DatabaseGO-2025-4175 changed 2026-05-15CC-BY-4.0
NVDCVE-2025-61727 changed 2026-10-18Public domain
Bitnami Vulnerability DatabaseBIT-GOLANG-2025-61727 changed 2026-09-08Apache-2.0