webpki: Name constraints were accepted for certificates asserting a wildcard name
Package
Affected versions
>= 0.101.0, < 0.103.12
>= 0.104.0-alpha.1, < 0.104.0-alpha.6
Patched versions
0.103.12
0.104.0-alpha.6
Description
Published to the GitHub Advisory Database
Apr 16, 2026
Reviewed
Apr 16, 2026
Last updated
Apr 16, 2026
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.comcould feasibly allow a name ofreject.example.comwhich is outside the constraint.This is very similar to CVE-2025-61727.
Since name constraints are restrictions on otherwise properly-issued certificates, this bug is reachable only after signature verification and requires misissuance to exploit.
References