GHSA-965h-392x-2mh5: webpki: Name constraints for URI names were incorrectly accepted
Name constraints for URI names were ignored and therefore accepted. Note this library does not provide an API for asserting URI names, and URI name constraints are otherwise not implemented. URI name constraints are now rejected unconditionally.
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).
Name constraints for URI names were ignored and therefore accepted.
Note this library does not provide an API for asserting URI names, and URI name constraints are otherwise not implemented. URI name constraints are now rejected unconditionally.
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-xgp8-3hg3-c2mh
webpki: Name constraints were accepted for certificates asserting a wildcard name
low2.2Apr 16, 2026GHSA-pwjx-qhcg-rvj4
webpki: CRLs not considered authoritative by Distribution Point due to faulty matching logic
medium4.4Mar 20, 2026
