Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
🦀
🦀 crates.io
Not in CISA KEV
LOW severity

GHSA-xgp8-3hg3-c2mh rustls-webpki

LOW

GHSA-xgp8-3hg3-c2mh is a low-severity (CVSS 2.2) vulnerability in rustls-webpki. A fix is available for rustls-webpki — see the affected versions and patch details below.

webpki: Name constraints were accepted for certificates asserting a wildcard name

Also known asRUSTSEC-2026-0099
Published
Apr 16, 2026
Updated
Sep 10, 2026
Affected
2 pkgs
Patched
2 / 2
Exploits
None indexed
Exploitation data as of Sep 10, 2026 · OSV.dev, FIRST.org (EPSS)

Real-World Exposure

2 pkgs affected
🦀rustls-webpki🦀rustls-webpki

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects crates.io packages — download data is not available via public APIs for these ecosystems.

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.

Affected Packages

2 total 2 fixed
EcosystemPackageVulnerable rangeFix
🦀crates.iorustls-webpki0.101.0&&< 0.103.120.103.12cargo update -p rustls-webpki --precise 0.103.12
🦀crates.iorustls-webpki0.104.0-alpha.1&&< 0.104.0-alpha.60.104.0-alpha.6cargo update -p rustls-webpki --precise 0.104.0-alpha.6

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for rustls-webpki, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update rustls-webpki to 0.103.12 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-xgp8-3hg3-c2mh is resolved across your whole dependency graph.

  3. Workarounds

    If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.

  4. How O3 protects you

    O3 Security's impact-aware SCA analyses which vulnerable code paths your application actually calls, so a match like GHSA-xgp8-3hg3-c2mh can be triaged on real exposure rather than presence alone.

Tailored to GHSA-xgp8-3hg3-c2mh. Runtime protection reduces exposure until a permanent patch is applied and verified — it complements patching, it doesn't replace it.

Frequently Asked Questions

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](https://go.dev/issue/76442). Since name constraints are restrictions on otherwise properly-issued certificates, this bug is reachable only after signature verification and requires misissuance to exploit.
O3 Security · Impact-Aware SCA

Is GHSA-xgp8-3hg3-c2mh in your dependencies?

O3 Security finds GHSA-xgp8-3hg3-c2mh across crates.io dependencies, including transitive ones, and its impact-aware SCA ranks findings by whether your code actually calls the vulnerable path.

GHSA-xgp8-3hg3-c2mh: rustls-webpki | O3 Security