GitHub Advisoryadvisory · crates.io

GHSA-xgp8-3hg3-c2mh webpki: Name constraints were accepted for certificates asserting a wildcard name

LOW Published 2026-04-16 Modified 2026-04-16 Official page ↗
Ecosystem
crates.io
Packages
rustls-webpki
Severity
Low
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:L/A:N
Weaknesses
CWE-295
Reviewed
2026-04-16

Affected packages

• crates.io rustls-webpki: >= 0.101.0, < 0.103.12 → fixed in 0.103.12 • crates.io rustls-webpki: >= 0.104.0-alpha.1, < 0.104.0-alpha.6 → fixed in 0.104.0-alpha.6

Description

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.

Related

Weakness · CWE (1)

  • CWE-295 Improper Certificate Validation weakness

References