Advisory

GO-2025-4175

Also known as: BIT-golang-2025-61727, CVE-2025-61727

Summary

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

Details

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.

Severity

Not rated by the source.

Dates

Published
2025-12-02 20:55 UTC
Modified
2026-05-15 10:59 UTC

Affected packages and fixes

stdlib

Go · All systems

Affected

  • introduced 0, fixed 1.24.11, introduced 1.25.0, fixed 1.25.5 (semver)

Fixed versions

1.24.11, 1.25.5

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Go Vulnerability Database · CC BY 4.0

Sources & licences