GHSA-xgp8-3hg3-c2mh: webpki: Name constraints were accepted for certificates asserting a wildcard name
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.
Published Apr 16, 2026
Affected packages
rustls-webpki
- Ecosystem
- Rust (crates.io)
- Affected
- >= 0.101.0, < 0.103.12
- Fixed in
- 0.103.12
- Check
cargo tree -i rustls-webpki
rustls-webpki
- Ecosystem
- Rust (crates.io)
- Affected
- >= 0.104.0-alpha.1, < 0.104.0-alpha.6
- Fixed in
- 0.104.0-alpha.6
- Check
cargo tree -i rustls-webpki
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
Since name constraints are restrictions on otherwise properly-issued certificates, this bug is reachable only after signature verification and requires misissuance to exploit.
Credited to 1seal.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Rust (crates.io) vulnerabilities
All Rust (crates.io) entriesGHSA-82j2-j2ch-gfr8
rustls-webpki: Denial of service via panic on malformed CRL BIT STRING
high7.5Apr 24, 2026GHSA-965h-392x-2mh5
webpki: Name constraints for URI names were incorrectly accepted
low2.2Apr 16, 2026GHSA-pwjx-qhcg-rvj4
webpki: CRLs not considered authoritative by Distribution Point due to faulty matching logic
medium4.4Mar 20, 2026
