NetSight
low2.2No CVE yet

GHSA-xgp8-3hg3-c2mh

webpki: Name constraints were accepted for certificates asserting a wildcard name

Impact

Permitted subtree name constraints for DNS names were accepted for certificates asserting a wildcard name. This was incorrect because, given a name constraint of `accept.example.com`, `*.example.com` could feasibly allow a name of `reject.example.com` which is outside the constraint. This is very similar to [CVE-2025-61727](https://go.dev/issue/76442). Since name constraints are restrictions on otherwise properly-issued certificates, this bug is reachable only after signature verification and requires misissuance to exploit.

An attacker can exploit this over the network, with an administrator account, without any action by a user. Specific conditions have to be met, which makes an attack harder. If it succeeds: low risk of data or systems being changed.

Affected packages

EcosystemPackageAffectedFixed in
rustrustls-webpki>= 0.101.0, < 0.103.120.103.12
rustrustls-webpki>= 0.104.0-alpha.1, < 0.104.0-alpha.60.104.0-alpha.6

Weakness classification

References