Description
rustls-webpki (rustls/webpki) versions 0.101.0 through 0.103.11 and 0.104.0-alpha releases before 0.104.0-alpha.6 ignore X.509 name constraints that apply to URI names, causing such constraints to be accepted rather than enforced. Because name constraints are restrictions on otherwise properly issued certificates, the flaw is only reachable after successful signature verification and requires a misissued certificate to exploit; the library also provides no API for asserting URI names, and URI name constraints are otherwise unimplemented. Versions 0.103.12 and 0.104.0-alpha.6 reject URI name constraints unconditionally.
Severity (CVSS)
| Base score | 2.1 |
|---|---|
| Severity | Low |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N |
| Provided by | CNA |
Weaknesses
- CWE-295 — Improper Certificate Validation
Affected products
| Vendor | Product | Versions |
|---|---|---|
| rustls | webpki | 0.101.0 to <0.103.12; 0.104.0-alpha.1 to <0.104.0-alpha.6 |
References
- https://github.com/rustls/webpki/security/advisories/GHSA-965h-392x-2mh5 (vendor-advisory)
- https://www.vulncheck.com/advisories/rustls-webpki-name-constraints-uri-validation-bypass (third-party-advisory)
Generated from the official CVE List on 19 Sep 2026 07:08 UTC.