CVE-2025-61727
MEDIUM6.5EPSS 0.01%Improper application of excluded DNS name constraints when verifying wildcard names in crypto/x509
Published: 12/2/2025Modified: 5/15/2026
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 packages (6)
- Bitnami/golangfrom 0, < 1.24.11, >= 1.25.0, < 1.25.5
- Debian/golang-1.15from 0
- Debian/golang-1.19from 0
- Debian/golang-1.24from 0
- Debian/golang-1.25from 0, < 1.25.6-1
- Go/stdlibfrom 0, < 1.24.11, >= 1.25.0, < 1.25.5
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |